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/tmpuyjL2F.json --task-output-dir /b/s/w/ir/tmp/t/tmpoWnT7j --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/tmpWvw7b6merge_script_log --merge-additional-args '[]' --summary-json-file /b/s/w/ir/tmp/t/tmp7Ke4yg.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/tmpJFUcml.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/tmpuyjL2F.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpoWnT7j', '--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/tmpWvw7b6merge_script_log', '--merge-additional-args', '[]', '--summary-json-file', '/b/s/w/ir/tmp/t/tmp7Ke4yg.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/tmpJFUcml.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: 38750 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/8919602173103648800 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itJrzEHc/luci_context.349345230 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-0sjm SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4373515335ed9611 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-07 16:00:56,536 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmpoWnT7j' 2019-03-07 16:00:56,537 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmpoWnT7j' already exists! 2019-03-07 16:00:56,537 - root: [WARNING] task_output_dir existing content: [] 2019-03-07 16:00:56,537 - 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/tmpJFUcml.json -output-dir /b/s/w/ir/tmp/t/tmpoWnT7j -task-summary-json /b/s/w/ir/tmp/t/tmp7Ke4yg.json [D2019-03-07T16:00:56.548560-08:00 29232 0 auth.go:1265] Minting a new token {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:00:56.548667-08:00 29232 0 luci_ctx.go:138] POST http://127.0.0.1:33279/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:00:56.551477-08:00 29232 0 auth.go:1222] Token expires in 24m21.44857161s {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:00:57.741214-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:00:58.883979-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:00.051733-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:01.536755-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:02.829804-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:04.173573-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:05.525165-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:06.925017-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:08.418568-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:09.926141-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:11.450106-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:13.094372-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:14.729416-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:16.456848-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:18.340792-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:20.359503-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:22.321920-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:24.486739-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:26.733578-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:28.826862-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:31.070309-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:33.324869-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:35.679982-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:38.110695-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:40.657083-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:43.247647-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:45.906400-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:48.708096-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:51.554073-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:54.486916-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:01:57.599819-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:00.804522-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:04.065747-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:07.562429-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:11.098877-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:14.760369-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:18.587573-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:22.484736-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:26.447817-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:30.720182-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:34.960166-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:39.376030-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:43.898924-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:48.917037-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:53.779430-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:02:58.800497-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:03.974047-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:09.322315-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:14.925518-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:20.627498-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:26.594074-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:32.703293-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:38.999588-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:45.540820-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:52.283016-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:03:59.244670-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:06.416314-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:14.026517-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:21.696662-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:29.661521-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:37.945306-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:46.454350-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:04:55.244948-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:04.451321-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:13.810224-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:23.470414-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:33.564022-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:43.940583-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:05:54.646217-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:06:05.767717-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:06:17.311037-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:06:29.124970-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:06:41.320253-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:06:53.983773-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:07:06.997095-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:07:20.513763-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:07:34.432022-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:07:48.813377-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:08:03.634858-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:08:18.824668-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:08:33.977496-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:08:49.095362-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:09:04.274134-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:09:19.467211-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:09:34.566567-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:09:49.730030-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:10:04.967082-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:10:20.169584-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:10:35.403880-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:10:50.565571-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:11:05.659082-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:11:20.764750-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:11:35.872740-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:11:51.032152-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:12:06.133949-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:12:21.344771-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:12:36.442577-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:12:51.562752-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:13:06.769289-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:13:21.936816-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:13:37.090858-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:13:52.173583-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:14:07.462138-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:14:22.550067-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:14:37.682551-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:14:52.778929-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:15:07.878395-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:15:22.998654-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:15:38.099538-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:15:53.228018-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:16:08.327651-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:16:23.434968-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:16:38.529288-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:16:53.656883-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:17:08.834391-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:17:23.956424-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:17:39.066076-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:17:54.175781-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:18:09.282363-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:18:24.445169-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:18:39.632457-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:18:54.735162-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:19:09.841156-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:19:24.943402-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:19:40.143459-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:19:55.314690-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:20:10.442930-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:20:25.566945-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:20:40.657410-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:20:55.813115-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:21:10.915485-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:21:25.995799-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:21:41.274025-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:21:56.361415-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:22:11.521905-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:22:26.641611-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:22:41.723215-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:22:56.919975-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:22:56.920350-08:00 29232 0 auth.go:1274] Refreshing the token {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:22:56.920583-08:00 29232 0 luci_ctx.go:138] POST http://127.0.0.1:33279/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:22:57.001320-08:00 29232 0 auth.go:1222] Token expires in 59m20.998741655s {"key":"luci_ctx/b3506be146b5fe042f269f8ddf898342caefc6a5a998bab8a077c30bb04336df", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-07T16:23:12.129597-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:23:27.218005-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:23:42.320910-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:23:57.433118-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:24:12.574683-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:24:27.819053-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:24:42.918094-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:24:58.039082-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:25:13.133490-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:25:28.347814-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:25:43.556019-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:25:58.840309-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:26:13.999971-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 [D2019-03-07T16:26:29.493496-08:00 29232 0 collect.go:344] Waiting task_id: 43736915dbc96710 43736915dbc96710: exit 0 tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dart2js-minified-linux-d8(architecture: x64, compiler: dart2js, mode: release, runtime: d8, system: linux, vm-options: [], timeout: null, 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: 1789 tests * 218 tests will be skipped (215 skipped by design) * 0 tests are expected to be flaky but not crash * 13 tests are expected to flaky crash * 1472 tests are expected to pass * 18 tests are expected to fail that we won't fix * 66 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 * 2 could not be categorized or are in multiple categories FAILED: dart2js-d8 release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 365ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/if_inference_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_if_inference_test/out.js exit code: 1 stdout: Info: The --categories flag is deprecated, see the usage for details. tests/language_2/control_flow_collections/if_inference_test.dart:19:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:20:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1 else 2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:21:22: Error: Unexpected token 'if'. expectListOf<num>([if (true) 1 else 0.2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:22:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) 1, 2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:23:22: Error: Unexpected token 'if'. expectListOf<num>([if (true) 1, 0.2]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:24:26: Error: Unexpected token 'if'. expectListOf<dynamic>([if (true) ...[]]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:25:22: Error: Unexpected token 'if'. expectListOf<int>([if (true) ...<int>[]]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:28:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:29:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1 else 2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:30:26: Error: Unexpected token 'if'. expectMapOf<num, num>({if (true) 1: 0.1 else 0.2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:31:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) 1: 1, 2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:32:26: Error: Unexpected token 'if'. expectMapOf<num, num>({if (true) 1: 0.1, 0.2: 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:33:34: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({if (true) ...{}}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:34:26: Error: Unexpected token 'if'. expectMapOf<int, int>({if (true) ...<int, int>{}}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:37:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:38:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1 else 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:39:21: Error: Unexpected token 'if'. expectSetOf<num>({if (true) 1 else 0.2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:40:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) 1, 2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:41:21: Error: Unexpected token 'if'. expectSetOf<num>({if (true) 1, 0.2}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:42:25: Error: Unexpected token 'if'. expectSetOf<dynamic>({if (true) ...[]}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:43:21: Error: Unexpected token 'if'. expectSetOf<int>({if (true) ...<int>[]}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:46:26: Error: Unexpected token 'if'. expectListOf<dynamic>([if (true) ...([] as dynamic)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:47:28: Error: Unexpected token 'if'. expectSetOf<dynamic>({1, if (true) ...([] as dynamic)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:50:40: Error: Unexpected token 'if'. expectMapOf<dynamic, dynamic>({1: 1, if (true) ...({} as dynamic)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:57:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (true) expectInt(1)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:58:37: Error: Unexpected token 'if'. Expect.listEquals(<int>[1], <int>[if (false) 9 else expectInt(1)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:61:38: Error: Unexpected token 'if'. Expect.listEquals(<int>[1, 2], [1, if (true) expectDynamic(2)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:62:38: Error: Unexpected token 'if'. Expect.listEquals(<int>[1, 2], [1, if (false) 9 else expectDynamic(2)]); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:68:21: Error: Unexpected token 'if'. <int, String>{if (true) expectInt(1): expectString("s")}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:72:16: Error: Unexpected token 'if'. {1: "s", if (true) expectDynamic(2): expectDynamic("t")}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:77:36: Error: Unexpected token 'if'. Expect.setEquals(<int>{1}, <int>{if (true) expectInt(1)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:78:36: Error: Unexpected token 'if'. Expect.setEquals(<int>{1}, <int>{if (false) 9 else expectInt(1)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:81:37: Error: Unexpected token 'if'. Expect.setEquals(<int>{1, 2}, {1, if (true) expectDynamic(2)}); ^^ tests/language_2/control_flow_collections/if_inference_test.dart:82:37: Error: Unexpected token 'if'. Expect.setEquals(<int>{1, 2}, {1, if (false) 9 else expectDynamic(2)}); ^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/control_flow_collections/if_inference_test FAILED: dart2js-d8 release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 439ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/control_flow_collections/for_inference_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_control_flow_collections_for_inference_test/out.js exit code: 1 stdout: Info: The --categories flag is deprecated, see the usage for details. 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-linux-d8 --dart2js-batch language_2/control_flow_collections/for_inference_test FAILED: dart2js-d8 release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 529ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/tests/language_2/spread_collections/inference_test.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/tests_language_2_spread_collections_inference_test/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:773: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:85:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:925: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:85:18) #13 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #14 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #17 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #21 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #22 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #23 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #26 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #27 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #28 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #30 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #31 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #32 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) #33 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #34 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) #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> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #37 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #39 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #40 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #41 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #42 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #43 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #44 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #45 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #46 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #47 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #48 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #53 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #54 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #55 new Future.sync (dart:async/future.dart:224:31) #56 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #57 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #58 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #59 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #60 _RootZone.runUnary (dart:async/zone.dart:1379:54) #61 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #62 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #63 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #64 Future._completeWithValue (dart:async/future_impl.dart:483:5) #65 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #66 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #67 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #68 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #69 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/inference_test FAILED: dart2js-d8 release_x64 language_2/spread_collections/type_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 642ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_type_error_test_01/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/type_error_test/01 FAILED: dart2js-d8 release_x64 language_2/spread_collections/type_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 585ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_type_error_test_04/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/type_error_test/04 FAILED: dart2js-d8 release_x64 language_2/spread_collections/type_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 448ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_type_error_test_08/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/type_error_test/08 FAILED: dart2js-d8 release_x64 language_2/spread_collections/type_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 635ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_type_error_test_07/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/type_error_test/07 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 495ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_03/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:687: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:85:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #27 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #28 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #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:240: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-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/03 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 412ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_07/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/07 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 642ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_02/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:687: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:85:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #27 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #28 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #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:240: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-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/02 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 558ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_06/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/06 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 597ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_05/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/05 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 605ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_08/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/08 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 436ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_11/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:696: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:85:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #27 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #28 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #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:240: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-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/11 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 562ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_10/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:696: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:85:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #27 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #28 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #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:240: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-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/10 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 414ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_13/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/13 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 479ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_12/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/12 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 443ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_14/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/14 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/15 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 419ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_15/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:696: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:85:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #24 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #27 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #28 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #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:240: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-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/15 FAILED: dart2js-d8 release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 540ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_const_error_test_16/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/const_error_test/16 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 512ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_02/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/02 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/04 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 414ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_04/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/04 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 570ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_00/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/00 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 653ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_01/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/01 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/05 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 --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_05/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/05 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 658ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_03/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/03 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 475ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_06/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/06 FAILED: dart2js-d8 release_x64 language_2/spread_collections/map_set_ambiguity_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 484ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,spread-collections --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --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-sdk/multitest_language_2_spread_collections_map_set_ambiguity_error_test_07/out.js exit code: 253 stdout: Info: The --categories flag is deprecated, see the usage for details. 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.34953ffd7dff0a7f62a27252045bb07d59cfaf2e), 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:82: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:85:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:714: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:85:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:706: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:85:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:225:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:230: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:85:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:91:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:899: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:85:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:680: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:85:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:538:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:166:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:466:5) #27 ScopeModelBuilder.visitProcedure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:537:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModel.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:49:12) #30 KernelToElementMapImpl.computeScopeModel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/element_map_impl.dart:1363:23) #31 KernelWorkItem.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:250:45) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:249:45) #34 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #35 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:240:26) #36 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) #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>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #39 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #41 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:786:15) #42 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #43 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:428:12) #44 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:443:5) #45 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #46 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #48 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #49 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #51 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #52 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #55 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #57 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #58 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #59 new Future.sync (dart:async/future.dart:224:31) #60 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #61 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #62 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #63 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:88:22) #64 _RootZone.runUnary (dart:async/zone.dart:1379:54) #65 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #66 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #67 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #68 Future._completeWithValue (dart:async/future_impl.dart:483:5) #69 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #70 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #71 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #72 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #73 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch language_2/spread_collections/map_set_ambiguity_error_test/07 FAILED: dart2js-d8 release_x64 lib_2/html/js_typed_interop_default_arg_test/default_value Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2js" (took 02.000615s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/html/js_typed_interop_default_arg_test_default_value.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_default_value/out.js exit code: 0 stdout: Info: The --categories flag is deprecated, see the usage for details. Compiled 7,411,752 characters Dart to 77,041 characters JavaScript in 2.61 seconds Dart file (/b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/html/js_typed_interop_default_arg_test_default_value.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_default_value/out.js --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch lib_2/html/js_typed_interop_default_arg_test/default_value FAILED: dart2js-d8 release_x64 lib_2/html/js_typed_interop_default_arg_test/explicit_argument Expected: CompileTimeError Actual: RuntimeError --- Command "dart2js" (took 02.000705s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --allow-mock-compilation --categories=all --minify --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/html/js_typed_interop_default_arg_test_explicit_argument.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js exit code: 0 stdout: Info: The --categories flag is deprecated, see the usage for details. Compiled 7,411,700 characters Dart to 77,040 characters JavaScript in 2.70 seconds Dart file (/b/s/w/ir/out/ReleaseX64/generated_tests/lib_2/html/js_typed_interop_default_arg_test_explicit_argument.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js --- Command "d8" (took 113ms): DART_CONFIGURATION=ReleaseX64 /b/s/w/ir/third_party/d8/linux/d8 out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js exit code: 1 stdout: out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:263: TypeError: u.createElement is not a function throw e; ^ TypeError: u.createElement is not a function at cM (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js:968:5) at action (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:275:31) at eventLoop (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:258:9) at self.dartMainRunner (out/ReleaseX64/dart-sdk/lib/_internal/js_runtime/lib/preambles/d8.js:276:5) at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js:2011:39 at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js:2007:55 at dartProgram (/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js:2010:84) at /b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-sdk/multitest_lib_2_html_js_typed_interop_default_arg_test_explicit_argument/out.js:2012:18 --- Re-run this test: python tools/test.py -n dart2js-minified-linux-d8 --dart2js-batch lib_2/html/js_typed_interop_default_arg_test/explicit_argument --- Total time: 02:57 --- 0:00:09.042750 - dart2js - dart2js-d8 release_x64/lib_2/html/element_test 0:00:07.714800 - dart2js - dart2js-d8 release_x64/lib_2/html/interactive_test 0:00:07.700644 - dart2js - dart2js-d8 release_x64/lib_2/html/worker_test 0:00:07.621588 - dart2js - dart2js-d8 release_x64/lib_2/html/xhr_test 0:00:07.301831 - dart2js - dart2js-d8 release_x64/lib_2/html/notification_permission_test 0:00:07.171599 - dart2js - dart2js-d8 release_x64/lib_2/html/form_data_test 0:00:07.092287 - dart2js - dart2js-d8 release_x64/lib_2/html/event_customevent_test 0:00:06.886842 - dart2js - dart2js-d8 release_x64/lib_2/html/fileapi_file_test 0:00:06.560557 - dart2js - dart2js-d8 release_x64/lib_2/html/touchevent_test 0:00:06.537398 - dart2js - dart2js-d8 release_x64/lib_2/html/custom/created_callback_test 0:00:06.372683 - dart2js - dart2js-d8 release_x64/lib_2/html/custom/constructor_calls_created_synchronously_test 0:00:04.884441 - dart2js - dart2js-d8 release_x64/corelib_2/map_from_iterable_test 0:00:04.849061 - dart2js - dart2js-d8 release_x64/corelib_2/iterable_where_type_test 0:00:04.777168 - dart2js - dart2js-d8 release_x64/corelib_2/invocation_test 0:00:04.472843 - dart2js - dart2js-d8 release_x64/corelib_2/list_concurrent_modify_test 0:00:04.407336 - dart2js - dart2js-d8 release_x64/corelib_2/range_error_test 0:00:04.296833 - dart2js - dart2js-d8 release_x64/language_2/many_method_calls_test 0:00:04.243151 - dart2js - dart2js-d8 release_x64/corelib_2/splay_tree_from_iterable_test 0:00:03.903846 - dart2js - dart2js-d8 release_x64/corelib_2/map_from_iterables_test 0:00:03.652559 - dart2js - dart2js-d8 release_x64/corelib_2/queue_last_test INFO: Core dump archiving is activated INFO: No unexpected crashes recorded 2019-03-07 16:26:30,253 - root: [DEBUG] Contents of task_output_dir: ['/b/s/w/ir/tmp/t/tmpoWnT7j/43736915dbc96710'] 2019-03-07 16:26:30,254 - root: [WARNING] Expected output.json file missing: set(['/b/s/w/ir/tmp/t/tmpoWnT7j/43736915dbc96710/output.json']) Found: [] Expected: ['/b/s/w/ir/tmp/t/tmpoWnT7j/43736915dbc96710/output.json'] 2019-03-07 16:26:30,254 - root: [WARNING] No shard json files found in task_output_dir: '/b/s/w/ir/tmp/t/tmpoWnT7j' Found ['/b/s/w/ir/tmp/t/tmpoWnT7j/43736915dbc96710'] 2019-03-07 16:26:30,254 - root: [DEBUG] Found shard_json_files: ['/b/s/w/ir/tmp/t/tmpoWnT7j/43736915dbc96710/output.json'] 2019-03-07 16:26:30,254 - 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/tmp7Ke4yg.json --task-output-dir /b/s/w/ir/tmp/t/tmpoWnT7j -o /b/s/w/ir/tmp/t/tmpuyjL2F.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/tmp7Ke4yg.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpoWnT7j', '-o', '/b/s/w/ir/tmp/t/tmpuyjL2F.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/tmp7Ke4yg.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmpoWnT7j', '-o', '/b/s/w/ir/tmp/t/tmpuyjL2F.json'] returned exit code 0