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/tmpkYR20k.json --task-output-dir /b/s/w/ir/tmp/t/tmpy2ivLT --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/tmptjqZtcmerge_script_log --merge-additional-args '[]' --summary-json-file /b/s/w/ir/tmp/t/tmp_T6SIr.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/tmpfY_CTu.json in dir /b/s/w/ir/k: allow_subannotations: False base_name: 'dart2js tests_shard_1' 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/tmpkYR20k.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpy2ivLT', '--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/tmptjqZtcmerge_script_log', '--merge-additional-args', '[]', '--summary-json-file', '/b/s/w/ir/tmp/t/tmp_T6SIr.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/tmpfY_CTu.json'] env: {} env_prefixes: {'PATH': '/b/s/w/ir/cache/swarming_client'} env_suffixes: {} infra_step: False name: 'dart2js tests_shard_1' 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: 40057 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/8919559393010354064 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itXeFeJQ/luci_context.101208943 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-z0wf SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4375bfd86e55c211 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-08 03:11:46,601 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmpy2ivLT' 2019-03-08 03:11:46,601 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmpy2ivLT' already exists! 2019-03-08 03:11:46,601 - root: [WARNING] task_output_dir existing content: [] 2019-03-08 03:11:46,601 - 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/tmpfY_CTu.json -output-dir /b/s/w/ir/tmp/t/tmpy2ivLT -task-summary-json /b/s/w/ir/tmp/t/tmp_T6SIr.json [D2019-03-08T03:11:46.606717-08:00 11119 0 auth.go:1265] Minting a new token {"key":"luci_ctx/0fd174abc3b0a1b073c4df90ce7325ec7762c9b5f064bc4b612e75d30b007ce3", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-08T03:11:46.606794-08:00 11119 0 luci_ctx.go:138] POST http://127.0.0.1:45142/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/0fd174abc3b0a1b073c4df90ce7325ec7762c9b5f064bc4b612e75d30b007ce3", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-08T03:11:46.608463-08:00 11119 0 auth.go:1222] Token expires in 52m23.391570459s {"key":"luci_ctx/0fd174abc3b0a1b073c4df90ce7325ec7762c9b5f064bc4b612e75d30b007ce3", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-08T03:11:47.768123-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:48.889768-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:50.071413-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:51.285730-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:52.620061-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:53.938718-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:55.289939-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:56.669007-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:58.096186-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:11:59.592040-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:01.106333-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:02.668895-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:04.412808-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:06.269187-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:08.079039-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:09.903777-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:11.792833-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:13.749954-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:15.860200-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:17.930375-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:20.066734-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:22.355635-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:24.674433-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:27.038782-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:29.545916-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:32.066818-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:34.686138-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:37.474139-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:40.328371-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:43.217395-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:46.212153-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:49.383842-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:52.606698-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:55.922172-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:12:59.318782-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:02.891222-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:06.514499-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:10.550534-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:14.431621-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:18.445575-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:22.595192-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:26.920644-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:31.429494-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:36.017174-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:40.760232-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:45.703392-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:50.793939-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:13:56.031252-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:01.437085-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:07.233844-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:13.090159-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:19.176382-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:25.362413-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:31.760682-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:38.368363-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:45.178547-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:52.392401-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:14:59.725086-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:07.254211-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:15.154682-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:23.414543-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:31.767596-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:40.506718-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:49.471505-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:15:58.854300-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:16:08.399001-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:16:18.251528-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:16:28.388882-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:16:39.017471-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:16:49.893240-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:17:01.097723-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:17:12.667613-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:17:24.624666-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:17:37.209080-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:17:50.096279-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:18:03.309487-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:18:17.090734-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:18:31.306788-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:18:45.911391-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:19:01.005992-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:19:16.115158-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:19:31.201161-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:19:46.286330-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:20:01.434771-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:20:16.588173-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:20:31.725470-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:20:46.821801-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:21:01.927185-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:21:17.048054-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:21:32.174632-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:21:47.323504-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:22:02.464092-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:22:17.720696-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:22:32.862056-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 [D2019-03-08T03:22:47.979445-08:00 11119 0 collect.go:344] Waiting task_id: 4375ced5ede52a10 4375ced5ede52a10: 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: 2392 tests * 310 tests will be skipped (303 skipped by design) * 0 tests are expected to be flaky but not crash * 1 tests are expected to flaky crash * 1989 tests are expected to pass * 16 tests are expected to fail that we won't fix * 76 tests are expected to fail that we should fix * 0 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 0 could not be categorized or are in multiple categories FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 547ms): 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_inference_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/for_inference_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_inference_test.dart:20:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:45: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:45: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:23:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:24:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:25:31: Error: Unexpected token 'for'. Expect.type<List<dynamic>>([for (; false;) ...[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:26:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) ...<int>[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:29:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:52: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:54: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:32:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:33:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:34:39: Error: Unexpected token 'for'. Expect.type<Map<dynamic, dynamic>>({for (; false;) ...{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:35:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) ...<int, int>{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:38:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:44: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:44: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:41:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:42:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:43:30: Error: Unexpected token 'if'. Expect.type<Set<dynamic>>({if (true) ...[]}); ^^ tests/language_2/control_flow_collections/for_inference_test.dart:44:26: Error: Unexpected token 'if'. Expect.type<Set<int>>({if (true) ...<int>[]}); ^^ tests/language_2/control_flow_collections/for_inference_test.dart:47:31: Error: Unexpected token 'for'. Expect.type<List<dynamic>>([for (; false;) ...([] as dynamic)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:48:33: Error: Unexpected token 'for'. Expect.type<Set<dynamic>>({1, for (; false;) ...([] as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:51:45: Error: Unexpected token 'for'. Expect.type<Map<dynamic, dynamic>>({1: 1, for (; false;) ...({} as dynamic)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:56:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:57:39: Error: 'i' is already declared in this scope. Expect.type<List<String>>([for (var i in <int>[1]) i.toRadixString(10)]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Info: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:57:30: Error: Unexpected token 'for'. Expect.type<List<String>>([for (var i in <int>[1]) i.toRadixString(10)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:60:36: Error: 'i' is already declared in this scope. Expect.type<List<int>>([for (var i = 1; i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Info: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:60:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (var i = 1; i < 2; i++) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:61:39: Error: 'i' is already declared in this scope. Expect.type<List<String>>([for (var i = 1; i < 2; i++) i.toRadixString(10)]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Info: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:61:30: Error: Unexpected token 'for'. Expect.type<List<String>>([for (var i = 1; i < 2; i++) i.toRadixString(10)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:64:41: Error: 'i' is already declared in this scope. Expect.listEquals(<int>[1], [for (int i in expectDynamic([1])) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Info: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:64:32: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], [for (int i in expectDynamic([1])) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:67:41: Error: 'i' is already declared in this scope. Expect.listEquals(<int>[1], [for (int i = expectInt(1); i < 2; i++) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:56:36: Info: Previous declaration of 'i'. Expect.type<List<int>>([for (var i in <int>[1]) i]); ^ tests/language_2/control_flow_collections/for_inference_test.dart:67:32: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], [for (int i = expectInt(1); i < 2; i++) i]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:74:37: Error: Unexpected token 'for'. Expect.listEquals(<int>[1], <int>[for (; false;) expectInt(1)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:77:38: Error: Unexpected token 'for'. Expect.listEquals(<int>[1, 2], [1, for (; false;) expectDynamic(2)]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:83:21: Error: Unexpected token 'for'. <int, String>{for (; false;) expectInt(1): expectString("s")}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:87:16: Error: Unexpected token 'for'. {1: "s", for (; false;) expectDynamic(2): expectDynamic("t")}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:92:36: Error: Unexpected token 'for'. Expect.setEquals(<int>{1}, <int>{for (; false;) expectInt(1)}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:95:37: Error: Unexpected token 'for'. Expect.setEquals(<int>{1, 2}, {1, for (; false;) expectDynamic(2)}); ^^^ 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_inference_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_variable_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 526ms): 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_variable_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/for_variable_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_variable_test.dart:32:15: Error: Unexpected token 'for'. var list = [for (var i in [0, 1]) () => i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:37:20: Error: 'i' is already declared in this scope. list = [for (var i = 0; i < 2; i++) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Info: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:37:11: Error: Unexpected token 'for'. list = [for (var i = 0; i < 2; i++) () => i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:42:25: Error: 'i' is already declared in this scope. var list2 = [for (var i = 0; capture(() => i++) < 2;) i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Info: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:42:16: Error: Unexpected token 'for'. var list2 = [for (var i = 0; capture(() => i++) < 2;) i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:49:25: Error: 'i' is already declared in this scope. var list3 = [for (var i = 0; i < 2; capture(() => i++)) i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:32:24: Info: Previous declaration of 'i'. var list = [for (var i in [0, 1]) () => i]; ^ tests/language_2/control_flow_collections/for_variable_test.dart:49:16: Error: Unexpected token 'for'. var list3 = [for (var i = 0; i < 2; capture(() => i++)) i]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:70:7: Error: Unexpected token 'for'. for (var global = "for"; global != null; global = null) global ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:75:7: Error: Unexpected token 'for'. for (var staticField = "for"; staticField != null; staticField = null) ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:81:7: Error: Unexpected token 'for'. for (var field = "for"; field != null; field = null) field ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:86:7: Error: Unexpected token 'for'. for (var inherited = "for"; inherited != null; inherited = null) inherited ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:91:16: Error: 'local' is already declared in this scope. for (var local = "for"; local != null; local = null) local ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:66:9: Info: Previous declaration of 'local'. var local = "local"; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:91:7: Error: Unexpected token 'for'. for (var local = "for"; local != null; local = null) local ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:97:18: Error: 'outer' is already declared in this scope. for (var outer = "for"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Info: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:97:9: Error: Unexpected token 'for'. for (var outer = "for"; outer != null; outer = null) ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:103:22: Error: 'global' is already declared in this scope. list = [for (var global in ["for"]) global]; ^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:70:16: Info: Previous declaration of 'global'. for (var global = "for"; global != null; global = null) global ^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:103:13: Error: Unexpected token 'for'. list = [for (var global in ["for"]) global]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:106:22: Error: 'staticField' is already declared in this scope. list = [for (var staticField in ["for"]) staticField]; ^^^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:75:16: Info: Previous declaration of 'staticField'. for (var staticField = "for"; staticField != null; staticField = null) ^^^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:106:13: Error: Unexpected token 'for'. list = [for (var staticField in ["for"]) staticField]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:109:22: Error: 'field' is already declared in this scope. list = [for (var field in ["for"]) field]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:81:16: Info: Previous declaration of 'field'. for (var field = "for"; field != null; field = null) field ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:109:13: Error: Unexpected token 'for'. list = [for (var field in ["for"]) field]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:112:22: Error: 'inherited' is already declared in this scope. list = [for (var inherited in ["for"]) inherited]; ^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:86:16: Info: Previous declaration of 'inherited'. for (var inherited = "for"; inherited != null; inherited = null) inherited ^^^^^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:112:13: Error: Unexpected token 'for'. list = [for (var inherited in ["for"]) inherited]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:115:22: Error: 'local' is already declared in this scope. list = [for (var local in ["for"]) local]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:66:9: Info: Previous declaration of 'local'. var local = "local"; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:115:13: Error: Unexpected token 'for'. list = [for (var local in ["for"]) local]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:22: Error: 'outer' is already declared in this scope. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Info: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:51: Error: 'outer' is already declared in this scope. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:96:16: Info: Previous declaration of 'outer'. for (var outer = "outer"; outer != null; outer = null) ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:118:42: Error: Unexpected token 'for'. list = [for (var outer in ["outer"]) for (var outer in ["for"]) outer]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:127:7: Error: Unexpected token 'for'. for (global = "for"; global == "for"; global = "after") global ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:134:7: Error: Unexpected token 'for'. for (staticField = "for"; staticField == "for"; staticField = "after") ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:142:7: Error: Unexpected token 'for'. for (field = "for"; field == "for"; field = "after") field ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:149:7: Error: Unexpected token 'for'. for (inherited = "for"; inherited == "for"; inherited = "after") inherited ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:156:7: Error: Unexpected token 'for'. for (local = "for"; local == "for"; local = "after") local ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:164:9: Error: Unexpected token 'for'. for (outer = "for"; outer == "for"; outer = "after") outer, ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:7: Error: Unexpected token 'for'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:171:13: Error: Unexpected token 'for'. list = [for (global in ["for"]) global]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:176:13: Error: Unexpected token 'for'. list = [for (staticField in ["for"]) staticField]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:181:13: Error: Unexpected token 'for'. list = [for (field in ["for"]) field]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:186:13: Error: Unexpected token 'for'. list = [for (inherited in ["for"]) inherited]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:191:13: Error: Unexpected token 'for'. list = [for (local in ["for"]) local]; ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:197:16: Error: 'outer' is already declared in this scope. for (var outer in ["outer"]) ...[ ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:163:16: Info: Previous declaration of 'outer'. for (var outer = "outer"; outer == "outer"; outer = "outer after") ...[ ^^^^^ tests/language_2/control_flow_collections/for_variable_test.dart:198:9: Error: Unexpected token 'for'. for (outer in ["for"]) outer, ^^^ tests/language_2/control_flow_collections/for_variable_test.dart:197:7: Error: Unexpected token 'for'. for (var outer in ["outer"]) ...[ ^^^ 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_variable_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 338ms): 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_const_test/test.js /b/s/w/ir/tests/language_2/spread_collections/const_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 1 stdout: tests/language_2/spread_collections/const_test.dart:49:44: Error: Unexpected type 'Null' of a spread. Expected 'dynamic' or an Iterable. const <int>[1, ...?<int>[2, 3], ...?(null), ...?<int>[4]]); ^ tests/language_2/spread_collections/const_test.dart:157:44: Error: Unexpected type 'Null' of a spread. Expected 'dynamic' or an Iterable. const <int>{1, ...?<int>[2, 3], ...?(null), ...?<int>[4]}); ^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 469ms): 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_inference_test/test.js /b/s/w/ir/tests/language_2/spread_collections/inference_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/inference_test.dart:60:6: Internal Error: The compiler crashed when compiling this element. void testTopDownInference() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 expectIntIterable.call<dart.core::int>()) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:183:51) #4 BlockExpression.accept (package:kernel/ast.dart:3658: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:805: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:957:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3743: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:931:5) #15 Block.accept (package:kernel/ast.dart:3771: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/inference_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 367ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_01.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_type_error_test_01/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_01.dart:7: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/type_error_test/01 FAILED: dart2js-chrome release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 379ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_04.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_type_error_test_04/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_04.dart:7: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/type_error_test/04 FAILED: dart2js-chrome release_x64 language_2/spread_collections/type_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 358ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_07.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_type_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_07.dart:7: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/type_error_test/07 FAILED: dart2js-chrome release_x64 language_2/spread_collections/type_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 548ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_08.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_type_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/type_error_test_08.dart:7: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/type_error_test/08 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 417ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_02.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_02.dart:23:6: Internal Error: The compiler crashed when compiling this element. void testList() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread element" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238: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.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:719:5) #8 ListLiteral.accept (package:kernel/ast.dart:3434:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #16 Block.accept (package:kernel/ast.dart:3771:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #34 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) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 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) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/02 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 418ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_05.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_05/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_05.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/05 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 615ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_03.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_03/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_03.dart:23:6: Internal Error: The compiler crashed when compiling this element. void testList() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread element" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238: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.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:719:5) #8 ListLiteral.accept (package:kernel/ast.dart:3434:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #16 Block.accept (package:kernel/ast.dart:3771:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #34 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) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 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) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/03 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 496ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_06.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_06/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_06.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/06 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 548ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_08.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_08.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/08 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 503ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_10.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_10/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_10.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread element" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238: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.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:728:5) #8 SetLiteral.accept (package:kernel/ast.dart:3463:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #16 Block.accept (package:kernel/ast.dart:3771:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #34 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) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 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) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/10 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 678ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_07.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_07.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/07 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 468ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_13.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_13/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_13.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/13 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 503ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_12.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_12/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_12.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/12 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 468ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_14.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_14/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_14.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/14 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 722ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_11.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_11/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_11.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread element" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238: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.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:728:5) #8 SetLiteral.accept (package:kernel/ast.dart:3463:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #16 Block.accept (package:kernel/ast.dart:3771:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #34 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) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 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) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/11 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/15 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 533ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_15.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_15/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_15.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread element" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238: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.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:728:5) #8 SetLiteral.accept (package:kernel/ast.dart:3463:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #16 Block.accept (package:kernel/ast.dart:3771:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #34 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) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 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) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/15 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 459ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_02.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_02.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/02 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 713ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_16.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_const_error_test_16/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_16.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ 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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/const_error_test/16 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 519ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_00.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_00/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_00.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/00 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 423ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_03.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_03/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_03.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/03 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 547ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_01.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_01/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_01.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/01 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 427ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_04.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_04/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_04.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/04 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 417ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_05.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_05/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_05.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/05 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 384ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_07.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_07.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/07 FAILED: dart2js-chrome release_x64 language_2/spread_collections/map_set_ambiguity_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 490ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_06.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_06/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/map_set_ambiguity_error_test_06.dart:12: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.64d8a165639536f0e67dde7489f764d97745d133), 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 invalid-expression "unimplemented spread entry" (InvalidExpression) #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:327:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:137:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:139:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:746:40) #7 MapEntry.accept (package:kernel/ast.dart:3521:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:738:5) #11 MapLiteral.accept (package:kernel/ast.dart:3496:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4477:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:931:5) #19 Block.accept (package:kernel/ast.dart:3771:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:712:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:570:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:498:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:569:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.computeModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:294:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.computeModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:293:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:259:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:248:26) #37 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) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 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) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- 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 37924 -c 38313 --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 language_2/spread_collections/map_set_ambiguity_error_test/06 FAILED: dart2js-chrome release_x64 lib_2/html/typed_arrays_range_checks_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 01.000643s): 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_typed_arrays_range_checks_test/test.js /b/s/w/ir/tests/lib_2/html/typed_arrays_range_checks_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,410,424 characters Dart to 42,963 characters JavaScript in 1.63 seconds Dart file (/b/s/w/ir/tests/lib_2/html/typed_arrays_range_checks_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_typed_arrays_range_checks_test/test.js --- Command "chrome" (took 92ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:37924/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_typed_arrays_range_checks_test/test.html?crossOriginPort=38313 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.024 } - { type: message_received value: dart-main-done timestamp: 0.024 } - 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/typed_arrays_range_checks_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/html/typed_arrays_range_checks_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_html_typed_arrays_range_checks_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 37924 -c 38313 --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/typed_arrays_range_checks_test --- Total time: 04:51 --- 0:00:07.457848 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_file_entry_test 0:00:07.349811 - dart2js - dart2js-chrome release_x64/lib_2/html/touchevent_test 0:00:07.037807 - dart2js - dart2js-chrome release_x64/lib_2/html/interactive_test/KeyEvent/KeyEvent 0:00:06.839393 - dart2js - dart2js-chrome release_x64/lib_2/html/storage_promise_test 0:00:06.804410 - dart2js - dart2js-chrome release_x64/lib_2/html/gamepad_test 0:00:06.710986 - dart2js - dart2js-chrome release_x64/lib_2/html/filereader_test 0:00:06.660219 - dart2js - dart2js-chrome release_x64/lib_2/html/events_test 0:00:06.542924 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/element_upgrade_test 0:00:06.396424 - dart2js - dart2js-chrome release_x64/language_2/many_method_calls_test 0:00:06.390502 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/constructor_calls_created_synchronously_test 0:00:06.358746 - dart2js - dart2js-chrome release_x64/lib_2/html/cssstyledeclaration_test 0:00:05.862516 - dart2js - dart2js-chrome release_x64/corelib_2/invocation_test 0:00:05.792849 - dart2js - dart2js-chrome release_x64/corelib_2/list_concurrent_modify_test 0:00:05.657562 - dart2js - dart2js-chrome release_x64/corelib_2/list_map_test 0:00:05.576843 - dart2js - dart2js-chrome release_x64/corelib_2/list_write_elements_test 0:00:05.179302 - dart2js - dart2js-chrome release_x64/corelib_2/string_to_lower_case_test 0:00:05.144161 - dart2js - dart2js-chrome release_x64/corelib_2/collection_of_test 0:00:04.979231 - dart2js - dart2js-chrome release_x64/corelib_2/splay_tree_from_iterable_test 0:00:04.922407 - dart2js - dart2js-chrome release_x64/corelib_2/string_trim_test 0:00:04.908558 - dart2js - dart2js-chrome release_x64/language_2/large_class_declaration_test INFO: No unexpected crashes recorded 2019-03-08 03:22:48,338 - root: [DEBUG] Contents of task_output_dir: ['/b/s/w/ir/tmp/t/tmpy2ivLT/4375ced5ede52a10'] 2019-03-08 03:22:48,339 - root: [WARNING] Expected output.json file missing: set(['/b/s/w/ir/tmp/t/tmpy2ivLT/4375ced5ede52a10/output.json']) Found: [] Expected: ['/b/s/w/ir/tmp/t/tmpy2ivLT/4375ced5ede52a10/output.json'] 2019-03-08 03:22:48,339 - root: [WARNING] No shard json files found in task_output_dir: '/b/s/w/ir/tmp/t/tmpy2ivLT' Found ['/b/s/w/ir/tmp/t/tmpy2ivLT/4375ced5ede52a10'] 2019-03-08 03:22:48,339 - root: [DEBUG] Found shard_json_files: ['/b/s/w/ir/tmp/t/tmpy2ivLT/4375ced5ede52a10/output.json'] 2019-03-08 03:22:48,339 - 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/tmp_T6SIr.json --task-output-dir /b/s/w/ir/tmp/t/tmpy2ivLT -o /b/s/w/ir/tmp/t/tmpkYR20k.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/tmp_T6SIr.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpy2ivLT', '-o', '/b/s/w/ir/tmp/t/tmpkYR20k.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/tmp_T6SIr.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpy2ivLT', '-o', '/b/s/w/ir/tmp/t/tmpkYR20k.json'] returned exit code 0