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

'C:\b\s\w\ir\cipd_bin_packages\python.exe' -u 'C:\b\s\w\ir\kitchen-checkout\build\scripts\tools\runit.py' --show-path --with-third-party-lib -- python 'C:\b\s\w\ir\kitchen-checkout\build\scripts\slave\recipe_modules\chromium_swarming\resources\collect_task.py' --verbose -o 'c:\b\s\w\ir\tmp\t\tmpjm3y91.json' --task-output-dir 'c:\b\s\w\ir\tmp\t\tmpn6wjkd' --merge-script 'C:\b\s\w\ir\kitchen-checkout\build\scripts\slave\recipe_modules\chromium_swarming\resources\noop_merge.py' --merge-script-stdout-file 'c:\b\s\w\ir\tmp\t\tmpkgekuymerge_script_log' --merge-additional-args '[]' --summary-json-file 'c:\b\s\w\ir\tmp\t\tmp35yjuf.json' -- swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json 'c:\b\s\w\ir\tmp\t\tmpyvlst2.json' in dir C:\b\s\w\ir\k: allow_subannotations: False cmd: ['C:\\b\\s\\w\\ir\\cipd_bin_packages\\python.exe', '-u', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\tools\\runit.py', '--show-path', '--with-third-party-lib', '--', 'python', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\slave\\recipe_modules\\chromium_swarming\\resources\\collect_task.py', '--verbose', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpjm3y91.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd', '--merge-script', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\slave\\recipe_modules\\chromium_swarming\\resources\\noop_merge.py', '--merge-script-stdout-file', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpkgekuymerge_script_log', '--merge-additional-args', '[]', '--summary-json-file', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmp35yjuf.json', '--', 'swarming', 'collect', '-server', 'https://chromium-swarm.appspot.com', '-worker', '50', '-task-summary-python', '-task-output-stdout', 'all', '-verbose', '-requests-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpyvlst2.json'] env: {} env_prefixes: {'PATH': 'C:\\b\\s\\w\\ir\\cache\\swarming_client'} env_suffixes: {} infra_step: False name_tokens: ('dart2js tests_shard_1 on Windows',) ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: ALLUSERSPROFILE: C:\ProgramData APPDATA: C:\Users\chrome-bot\AppData\Roaming BOTO_CONFIG: C:\b\s\w\ir\tmp\gsutil_task\.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: C:\b\s\cipd_cache\cache CIPD_EXE_SHIM: "C:\b\s\w\ir\cipd_bin_packages\vpython.exe" CIPD_PROTOCOL: v2 COMMONPROGRAMFILES: C:\Program Files\Common Files COMMONPROGRAMFILES(X86): C:\Program Files (x86)\Common Files COMMONPROGRAMW6432: C:\Program Files\Common Files COMPUTERNAME: WIN10-DART-FEDC COMSPEC: C:\Windows\system32\cmd.exe DOCKER_CONFIG: C:\b\s\w\ir\tmp\docker_cfg_task DOCKER_TMPDIR: C:\b\s\w\ir\tmp\docker_tmp_task FPS_BROWSER_APP_PROFILE_STRING: Internet Explorer FPS_BROWSER_USER_PROFILE_STRING: Default GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOMEDRIVE: C: HOMEPATH: \Users\chrome-bot INFRA_GIT_WRAPPER_HOME: C:\b\s\w\ir\tmp\git_home_task LC_ALL: English_United States.UTF-8 LC_COLLATE: English_United States.UTF-8 LC_CTYPE: English_United States.UTF-8 LC_MONETARY: English_United States.UTF-8 LC_NUMERIC: English_United States.UTF-8 LC_TIME: English_United States.UTF-8 LOCALAPPDATA: C:\Users\chrome-bot\AppData\Local LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8919013317552696560 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: net.pipe:LUCILogDogKitchen_1536 LOGONSERVER: \\WIN10-DART-FEDC LUCI_CONTEXT: C:\b\s\w\itapd6av\luci_context.471100542 MAC_CHROMIUM_TMPDIR: C:\b\s\w\ir\tmp\t NO_GCE_CHECK: False NUMBER_OF_PROCESSORS: 8 ONEDRIVE: C:\Users\chrome-bot\OneDrive OS: Windows_NT PATH: C:\b\s\w\ir\cache\swarming_client;C:\b\s\w\ir\cipd_bin_packages;C:\b\s\w\ir\cipd_bin_packages\bin;C:\b\s\cipd_cache\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Puppet Labs\Puppet\bin PATHEXT: .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE: AMD64 PROCESSOR_IDENTIFIER: Intel64 Family 6 Model 63 Stepping 0, GenuineIntel PROCESSOR_LEVEL: 6 PROCESSOR_REVISION: 3f00 PROGRAMDATA: C:\ProgramData PROGRAMFILES: C:\Program Files PROGRAMFILES(X86): C:\Program Files (x86) PROGRAMW6432: C:\Program Files PROMPT: $P$G PSMODULEPATH: C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC: C:\Users\Public PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SESSIONNAME: Console SWARMING_BOT_ID: win10-dart-fedce810-us-central1-c-4gn6 SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4394ca4e7d2a3511 SYSTEMDRIVE: C: SYSTEMROOT: C:\Windows TEMP: C:\b\s\w\ir\tmp\t TEMPDIR: C:\b\s\w\ir\tmp\t TMP: C:\b\s\w\ir\tmp\t TMPDIR: C:\b\s\w\ir\tmp\t USERDOMAIN: WIN10-DART-FEDC USERDOMAIN_ROAMINGPROFILE: WIN10-DART-FEDC USERNAME: chrome-bot USERPROFILE: C:\Users\chrome-bot VPYTHON_VIRTUALENV_ROOT: C:\b\s\w\ir\cache\vpython WINDIR: C:\Windows Set PYTHONPATH: C:\b\s\w\ir\kitchen-checkout\build\scripts;C:\b\s\w\ir\kitchen-checkout\build\site_config;C:\b\s\w\ir\kitchen-checkout\build\third_party;C:\b\s\w\ir\kitchen-checkout\build\third_party\buildbot_8_4p1;C:\b\s\w\ir\kitchen-checkout\build\third_party\buildbot_slave_8_4;C:\b\s\w\ir\kitchen-checkout\build\third_party\coverage-3.7.1;C:\b\s\w\ir\kitchen-checkout\build\third_party\decorator_3_3_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\google_api_python_client;C:\b\s\w\ir\kitchen-checkout\build\third_party\httplib2\python2;C:\b\s\w\ir\kitchen-checkout\build\third_party\infra_libs;C:\b\s\w\ir\kitchen-checkout\build\third_party\jinja2;C:\b\s\w\ir\kitchen-checkout\build\third_party\markupsafe;C:\b\s\w\ir\kitchen-checkout\build\third_party\oauth2client;C:\b\s\w\ir\kitchen-checkout\build\third_party\pyasn1;C:\b\s\w\ir\kitchen-checkout\build\third_party\pyasn1-modules;C:\b\s\w\ir\kitchen-checkout\build\third_party\python-rsa;C:\b\s\w\ir\kitchen-checkout\build\third_party\requests_2_10_0;C:\b\s\w\ir\kitchen-checkout\build\third_party\setuptools-0.6c11;C:\b\s\w\ir\kitchen-checkout\build\third_party\sqlalchemy_0_7_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\sqlalchemy_migrate_0_7_1;C:\b\s\w\ir\kitchen-checkout\build\third_party\tempita_0_5;C:\b\s\w\ir\kitchen-checkout\build\third_party\twisted_10_2;C:\b\s\w\ir\kitchen-checkout\build\third_party\uritemplate;C:\b\s\w\ir\kitchen-checkout\build\third_party\site-packages 2019-03-14 05:28:10,717 - root: [DEBUG] Using task_output_dir: 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd' 2019-03-14 05:28:10,717 - root: [WARNING] task_output_dir 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd' already exists! 2019-03-14 05:28:10,717 - root: [WARNING] task_output_dir existing content: [] 2019-03-14 05:28:10,717 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json c:\b\s\w\ir\tmp\t\tmpyvlst2.json -output-dir c:\b\s\w\ir\tmp\t\tmpn6wjkd -task-summary-json c:\b\s\w\ir\tmp\t\tmp35yjuf.json [D2019-03-14T05:28:10.869647-07:00 7912 0 auth.go:1265] Minting a new token {"key":"luci_ctx/0aa936c73f5e202e64b0898d4eaeffa757c4d06a5e2b1fa6d23088e9020b85fd", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-14T05:28:10.869647-07:00 7912 0 luci_ctx.go:138] POST http://127.0.0.1:50096/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/0aa936c73f5e202e64b0898d4eaeffa757c4d06a5e2b1fa6d23088e9020b85fd", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-14T05:28:10.873379-07:00 7912 0 auth.go:1222] Token expires in 32m40.126621s {"key":"luci_ctx/0aa936c73f5e202e64b0898d4eaeffa757c4d06a5e2b1fa6d23088e9020b85fd", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-14T05:28:12.031169-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:13.218705-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:14.531234-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:15.781240-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:17.203123-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:18.531196-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:19.999963-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:21.437514-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:22.921835-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:24.437471-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:26.109337-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:27.750053-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:29.421794-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:31.140550-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:33.031515-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:34.953098-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:36.874975-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:38.968766-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:41.031189-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:43.265571-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:45.468746-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:47.749964-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:50.191994-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:52.624966-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:55.140578-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:28:57.765575-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:00.437513-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:03.296911-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:06.171874-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:09.218687-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:12.265594-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:15.531210-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:18.796870-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:22.156183-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:25.656195-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:29.249984-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:32.984337-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:36.906202-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:40.906193-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:45.078090-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:49.359315-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:53.796796-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:29:58.328086-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:03.062489-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:08.001451-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:13.140559-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:18.343679-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:23.765565-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:29.609300-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:35.359334-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:41.312448-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:47.484306-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:30:53.806087-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:00.374505-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:07.124939-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:14.109379-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:21.328080-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:28.796797-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:36.531173-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:44.499940-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:31:52.734304-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:01.296781-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:10.093683-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:19.328116-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:28.796831-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:38.562426-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:48.656197-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:32:59.046778-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:33:10.015546-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:33:21.218648-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:33:32.765540-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:33:44.640564-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:33:56.902662-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:34:09.640561-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:34:22.765516-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:34:36.296782-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:34:50.546776-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:35:05.031237-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:35:19.984348-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:35:35.156180-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:35:50.296787-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:36:05.468682-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:36:20.593654-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:36:35.874919-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:36:51.124931-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:37:06.281121-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:37:21.421780-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:37:36.609289-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:37:51.734299-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:38:06.874922-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:38:22.015497-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:38:37.234303-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:38:52.374902-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:39:07.593626-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 [D2019-03-14T05:39:22.765516-07:00 7912 0 collect.go:344] Waiting task_id: 4394eefae4d02710 4394eefae4d02710: exit 0 13515 files remaining... 6701 files remaining... 992 files remaining... tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dart2js-win-chrome(architecture: x64, compiler: dart2js, mode: release, runtime: chrome, system: win, vm-options: [], timeout: null, 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: C:\b\s\w\ir\runtime\observatory\tests\service Total: 1801 tests * 218 tests will be skipped (214 skipped by design) * 0 tests are expected to be flaky but not crash * 0 tests are expected to flaky crash * 1535 tests are expected to pass * 17 tests are expected to fail that we won't fix * 30 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 * 1 could not be categorized or are in multiple categories FAILED: dart2js-chrome release_x64 corelib_2/list_concurrent_modify_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 02.000945s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js C:\b\s\w\ir\tests\corelib_2\list_concurrent_modify_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,404,348 characters Dart to 142,885 characters JavaScript in 2.85 seconds Dart file (C:\b\s\w\ir\tests\corelib_2\list_concurrent_modify_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js --- Command "chrome" (took 472ms): C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:50687/root_build/generated_tests/dart2js-chrome-sdk/tests_corelib_2_list_concurrent_modify_test/test.html?crossOriginPort=50688 Runtime error: Expect.throws(testConcurrentAddSelf([])) fails: Did not throw Expect.throws(testConcurrentAddSelf([])) fails: Did not throw at Object.wrapException (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:359:17) at Object.Expect__fail (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:1959:15) at Object.Expect_throws (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:1956:9) at Object.testConcurrentAddSelf (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:2019:9) at main (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:1993:9) at dartMainRunner (http://127.0.0.1:50687/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:3620:7 at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:3606:7 at dartProgram (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:3617:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/tests_corelib_2_list_concurrent_modify_test/test.js:3624:3 exit code: 0 --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration corelib_2/list_concurrent_modify_test FAILED: dart2js-chrome release_x64 corelib_2/nan_infinity_test/01 Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000659s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js C:\b\s\w\ir\out\ReleaseX64\generated_tests\corelib_2\nan_infinity_test_01.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,404,855 characters Dart to 55,386 characters JavaScript in 1.66 seconds Dart file (C:\b\s\w\ir\out\ReleaseX64\generated_tests\corelib_2\nan_infinity_test_01.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js --- Command "chrome" (took 275ms): C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:50687/root_build/generated_tests/dart2js-chrome-sdk/multitest_corelib_2_nan_infinity_test_01/test.html?crossOriginPort=50688 Runtime error: Expect.isTrue(false) fails. Expect.isTrue(false) fails. at Object.wrapException (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:323:17) at Object.Expect__fail (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1056:15) at Object.Expect_isTrue (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1048:9) at main (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1096:9) at dartMainRunner (http://127.0.0.1:50687/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1488:7 at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1474:7 at dartProgram (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1485:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/multitest_corelib_2_nan_infinity_test_01/test.js:1492:3 exit code: 0 --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration corelib_2/nan_infinity_test/01 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/for_inference_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 614ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short482_collections_for_inference_test/test.js C:\b\s\w\ir\tests\language_2\control_flow_collections\for_inference_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: tests/language_2/control_flow_collections/for_inference_test.dart:20:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:21:45: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, for (; false;) 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:22:45: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, for (; false;) 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:23:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) 1, 2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:24:27: Error: Unexpected token 'for'. Expect.type<List<num>>([for (; false;) 1, 0.2]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:25:31: Error: Unexpected token 'for'. Expect.type<List<dynamic>>([for (; false;) ...[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:26:27: Error: Unexpected token 'for'. Expect.type<List<int>>([for (; false;) ...<int>[]]); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:29:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:30:52: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, for (; false;) 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:31:54: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, for (; false;) 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:32:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) 1: 1, 2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:33:31: Error: Unexpected token 'for'. Expect.type<Map<num, num>>({for (; false;) 1: 0.1, 0.2: 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:34:39: Error: Unexpected token 'for'. Expect.type<Map<dynamic, dynamic>>({for (; false;) ...{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:35:31: Error: Unexpected token 'for'. Expect.type<Map<int, int>>({for (; false;) ...<int, int>{}}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:38:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:39:44: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, for (; false;) 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:40:44: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, for (; false;) 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:41:26: Error: Unexpected token 'for'. Expect.type<Set<int>>({for (; false;) 1, 2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:42:26: Error: Unexpected token 'for'. Expect.type<Set<num>>({for (; false;) 1, 0.2}); ^^^ tests/language_2/control_flow_collections/for_inference_test.dart:43:30: Error: Expected ':' after this. Expect.type<Set<dynamic>>({if (true) ...[]}); ^ tests/language_2/control_flow_collections/for_inference_test.dart:44:26: Error: Expected ':' after this. 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-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/for_inference_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_inference_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 875ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short526__collections_if_inference_test/test.js C:\b\s\w\ir\tests\language_2\control_flow_collections\if_inference_test.dart --enable-experiment=set-literals,control-flow-collections,spread-collections --preview-dart-2 exit code: 1 stdout: tests/language_2/control_flow_collections/if_inference_test.dart:33:34: Error: Expected ':' after this. expectMapOf<dynamic, dynamic>({if (true) ...{}}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:34:26: Error: Expected ':' after this. expectMapOf<int, int>({if (true) ...<int, int>{}}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:37:21: Error: Expected ':' after this. expectSetOf<int>({if (true) 1}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:38:21: Error: Expected ':' after this. expectSetOf<int>({if (true) 1 else 2}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:39:21: Error: Expected ':' after this. expectSetOf<num>({if (true) 1 else 0.2}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:42:25: Error: Expected ':' after this. expectSetOf<dynamic>({if (true) ...[]}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:43:21: Error: Expected ':' after this. expectSetOf<int>({if (true) ...<int>[]}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:50:40: Error: Expected ':' after this. expectMapOf<dynamic, dynamic>({1: 1, if (true) ...({} as dynamic)}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:28:25: Error: Not enough type information to disambiguate between literal set and literal map. expectMapOf<int, int>({if (true) 1: 1}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:29:25: Error: Not enough type information to disambiguate between literal set and literal map. expectMapOf<int, int>({if (true) 1: 1 else 2: 2}); ^ tests/language_2/control_flow_collections/if_inference_test.dart:30:25: Error: Not enough type information to disambiguate between literal set and literal map. expectMapOf<num, num>({if (true) 1: 0.1 else 0.2: 2}); ^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_inference_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000196s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_02.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1014_ections_if_const_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_02.dart:26: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/02 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 700ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_08.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1020_ections_if_const_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_08.dart:26: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/08 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 829ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_07.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1019_ections_if_const_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_07.dart:26: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/07 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 813ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_10.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1022_ections_if_const_error_test_10/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_10.dart:48: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/10 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/19 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000078s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_19.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1031_ections_if_const_error_test_19/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_19.dart:48: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/19 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/20 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000299s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_20.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1032_ections_if_const_error_test_20/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_20.dart:48: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/20 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/26 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 835ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_26.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1038_ections_if_const_error_test_26/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_26.dart:48: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #28 Procedure.accept (package:kernel/ast.dart:1773:32) #29 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #65 _RootZone.runUnary (dart:async/zone.dart:1379:54) #66 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #67 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #68 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #69 Future._completeWithValue (dart:async/future_impl.dart:483:5) #70 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #71 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #72 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #73 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #74 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/26 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/28 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 652ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_28.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1040_ections_if_const_error_test_28/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_28.dart:94: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/28 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/22 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2js" (took 01.000863s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_22.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1034_ections_if_const_error_test_22/out.js exit code: 0 stdout: Compiled 7,426,019 characters Dart to 11,144 characters JavaScript in 1.85 seconds Dart file (C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_22.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/short1034_ections_if_const_error_test_22/out.js --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/22 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/38 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 547ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_38.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1050_ections_if_const_error_test_38/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_38.dart:94: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/38 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/33 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000062s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_33.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1045_ections_if_const_error_test_33/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_33.dart:94: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/33 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/34 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 878ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_34.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1046_ections_if_const_error_test_34/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_34.dart:94: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/34 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/39 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 749ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_39.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1051_ections_if_const_error_test_39/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/if_const_error_test_39.dart:94: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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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 "unhandled if element in collection literal" (InvalidExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/39 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_error_test/21 Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2js" (took 02.000668s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_21.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short1033_ections_if_const_error_test_21/out.js exit code: 0 stdout: Compiled 7,426,019 characters Dart to 11,144 characters JavaScript in 2.65 seconds Dart file (C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\control_flow_collections\if_const_error_test_21.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/short1033_ections_if_const_error_test_21/out.js --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_error_test/21 FAILED: dart2js-chrome release_x64 language_2/spread_collections/inference_test Expected: Pass Actual: Crash Unexpected compile error. --- Command "dart2js" (took 905ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_language_2_spread_collections_inference_test/test.js C:\b\s\w\ir\tests\language_2\spread_collections\inference_test.dart --enable-experiment=set-literals,spread-collections --preview-dart-2 exit code: 253 stdout: tests/language_2/spread_collections/inference_test.dart:60:6: Internal Error: The compiler crashed when compiling this element. void testTopDownInference() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitStaticInvocation (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:827:5) #8 StaticInvocation.accept (package:kernel/ast.dart:2963:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitExpressionStatement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:979:5) #11 ExpressionStatement.accept (package:kernel/ast.dart:3853:35) #12 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #14 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #15 Block.accept (package:kernel/ast.dart:3881:35) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #18 FunctionNode.accept (package:kernel/ast.dart:2111:30) #19 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #20 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #21 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #22 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #23 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #24 Procedure.accept (package:kernel/ast.dart:1773:32) #25 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #26 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #27 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #28 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #29 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #30 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #31 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #32 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #33 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #34 CompilerTask.measureSubtask (file:///C:/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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #36 CompilerTask.measureSubtask (file:///C:/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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #38 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #40 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #41 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #42 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #43 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #45 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #46 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #47 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #48 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #49 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #50 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #52 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #53 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #54 Compiler.runInternal (file:///C:/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:///C:/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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #58 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #59 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #60 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91: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-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/inference_test FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000205s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_02.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2040_ollections_const_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_02.dart:23:6: Internal Error: The compiler crashed when compiling this element. void testList() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/02 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/03 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000228s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_03.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2041_ollections_const_error_test_03/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_03.dart:23:6: Internal Error: The compiler crashed when compiling this element. void testList() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/03 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 671ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_07.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2045_ollections_const_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_07.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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::Map<dart.core::int, dart.core::String> #t1 = <dart.core::int, dart.core::String>{}; #t1.{dart.core::Map::[]=}(1, "s"); #t1.{dart.core::Map::[]=}(invalid-expression "unimplemented spread element", null); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #7 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #8 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #11 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #12 Block.accept (package:kernel/ast.dart:3881:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #15 FunctionNode.accept (package:kernel/ast.dart:2111:30) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #18 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #19 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #20 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #21 Procedure.accept (package:kernel/ast.dart:1773:32) #22 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #23 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #24 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #25 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #26 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #27 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #28 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #29 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #30 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #31 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #32 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #33 CompilerTask.measureSubtask (file:///C:/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> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #35 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #37 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #38 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #39 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #42 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #43 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #45 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #46 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #49 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #51 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #52 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #53 new Future.sync (dart:async/future.dart:224:31) #54 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #55 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #57 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._completeWithValue (dart:async/future_impl.dart:483:5) #63 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #64 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #65 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #66 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #67 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/07 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 660ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_10.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2048_ollections_const_error_test_10/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_10.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/10 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/05 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 812ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_05.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2043_ollections_const_error_test_05/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_05.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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::Map<dart.core::int, dart.core::String> #t1 = <dart.core::int, dart.core::String>{}; #t1.{dart.core::Map::[]=}(invalid-expression "unimplemented spread element", null); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #7 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #8 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #11 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #12 Block.accept (package:kernel/ast.dart:3881:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #15 FunctionNode.accept (package:kernel/ast.dart:2111:30) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #18 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #19 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #20 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #21 Procedure.accept (package:kernel/ast.dart:1773:32) #22 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #23 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #24 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #25 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #26 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #27 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #28 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #29 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #30 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #31 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #32 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #33 CompilerTask.measureSubtask (file:///C:/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> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #35 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #37 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #38 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #39 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #42 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #43 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #45 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #46 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #49 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #51 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #52 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #53 new Future.sync (dart:async/future.dart:224:31) #54 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #55 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #57 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._completeWithValue (dart:async/future_impl.dart:483:5) #63 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #64 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #65 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #66 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #67 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/05 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 922ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_08.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2046_ollections_const_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_08.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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::Map<dart.core::int, dart.core::String> #t1 = <dart.core::int, dart.core::String>{}; #t1.{dart.core::Map::[]=}(invalid-expression "unimplemented spread element", null); #t1.{dart.core::Map::[]=}(invalid-expression "unimplemented spread element", null); } =>#t1 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #7 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #8 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #11 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #12 Block.accept (package:kernel/ast.dart:3881:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #15 FunctionNode.accept (package:kernel/ast.dart:2111:30) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #18 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #19 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #20 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #21 Procedure.accept (package:kernel/ast.dart:1773:32) #22 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #23 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #24 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #25 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #26 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #27 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #28 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #29 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #30 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #31 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #32 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #33 CompilerTask.measureSubtask (file:///C:/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> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #35 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #37 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #38 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #39 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #42 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #43 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #45 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #46 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #49 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #51 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #52 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #53 new Future.sync (dart:async/future.dart:224:31) #54 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #55 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #57 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._completeWithValue (dart:async/future_impl.dart:483:5) #63 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #64 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #65 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #66 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #67 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/08 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 408ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_13.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2051_ollections_const_error_test_13/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_13.dart: Internal Error: The compiler crashed when compiling this element. 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.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), and * the entire message you see here (including the full stack trace below as well as the source location above). The compiler crashed: Crash when compiling file:///C:/b/s/w/ir/out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_13.dart, at character offset 802: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_13.dart:62:18: Internal problem: There's already an inferred type, 'Duration', for 'ConstructorInvocation'. - 'Duration' is from 'dart:core'. const _ = {...[Duration(seconds: 0)]}; //# 13: compile-time error ^ #0 internalProblem (package:front_end/src/fasta/problems.dart:45:3) #1 TypeInferrerImpl.storeInferredType (package:front_end/src/fasta/type_inference/type_inferrer.dart:559:9) #2 InferenceVisitor.visitConstructorInvocation (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:176:14) #3 ConstructorInvocation.accept1 (package:kernel/ast.dart:3018:43) #4 ShadowTypeInferrer.inferExpression (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1520:18) #5 InferenceVisitor.visitListLiteralJudgment (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:714:20) #6 ListLiteralJudgment.acceptInference (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:961:20) #7 ShadowTypeInferrer.inferExpression (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1518:18) #8 InferenceVisitor.visitSetLiteralJudgment (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:1380:42) #9 InferenceVisitor.visitMapLiteralJudgment (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:987:9) #10 MapLiteralJudgment.acceptInference (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:993:20) #11 ShadowTypeInferrer.inferExpression (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1518:18) #12 InferenceVisitor.visitVariableDeclarationJudgment (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:1714:16) #13 VariableDeclarationJudgment.acceptInference (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1731:20) #14 ShadowTypeInferrer.inferStatement (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1566:24) #15 InferenceVisitor.visitBlockJudgment (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/front_end/lib/src/fasta/kernel/inference_visitor.dart:85:16) #16 BlockJudgment.acceptInference (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:200:20) #17 ShadowTypeInferrer.inferStatement (package:front_end/src/fasta/kernel/kernel_shadow_ast.dart:1566:24) #18 TypeInferrerImpl.inferFunctionBody (package:front_end/src/fasta/type_inference/type_inferrer.dart:1172:5) #19 BodyBuilder.finishFunction (package:front_end/src/fasta/kernel/body_builder.dart:762:20) #20 DietListener.listenerFinishFunction (package:front_end/src/fasta/source/diet_listener.dart:803:14) #21 DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:837:7) #22 DietListener.endTopLevelMethod (package:front_end/src/fasta/source/diet_listener.dart:312:5) #23 Parser.parseTopLevelMethod (package:front_end/src/fasta/parser/parser.dart:2341:14) #24 Parser.parseTopLevelMemberImpl (package:front_end/src/fasta/parser/parser.dart:2242:14) #25 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:490:14) #26 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:349:15) #27 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:262:14) <asynchronous suspension> #28 Loader.buildBodies (package:front_end/src/fasta/loader.dart:182:15) <asynchronous suspension> #29 KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:298:20) <asynchronous suspension> #30 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24) <asynchronous suspension> #31 KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:296:12) <asynchronous suspension> #32 generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:145:38) <asynchronous suspension> #33 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24) <asynchronous suspension> #34 generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:55:10) <asynchronous suspension> #35 compile.<anonymous closure> (package:front_end/src/api_unstable/dart2js.dart:162:32) <asynchronous suspension> #36 CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:134:20) <asynchronous suspension> #37 CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:46) #38 new Future.sync (dart:async/future.dart:224:31) #39 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:19) #40 _rootRun (dart:async/zone.dart:1124:13) #41 _CustomZone.run (dart:async/zone.dart:1021:19) #42 _runZoned (dart:async/zone.dart:1516:10) #43 runZoned (dart:async/zone.dart:1463:12) #44 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12) #45 CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:132:10) #46 compile (package:front_end/src/api_unstable/dart2js.dart:160:46) <asynchronous suspension> #47 KernelLoaderTask.load.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/loader.dart:78:27) <asynchronous suspension> #48 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #49 KernelLoaderTask.load (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/loader.dart:59:12) #50 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:260:48) <asynchronous suspension> #51 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #52 new Future.sync (dart:async/future.dart:224:31) #53 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #54 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #56 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #57 _RootZone.runUnary (dart:async/zone.dart:1379:54) #58 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #59 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #60 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #61 Future._completeWithValue (dart:async/future_impl.dart:483:5) #62 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #63 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #64 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #65 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #66 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) #0 DietListener.buildFunctionBody (package:front_end/src/fasta/source/diet_listener.dart:842:7) #1 DietListener.endTopLevelMethod (package:front_end/src/fasta/source/diet_listener.dart:312:5) #2 Parser.parseTopLevelMethod (package:front_end/src/fasta/parser/parser.dart:2341:14) #3 Parser.parseTopLevelMemberImpl (package:front_end/src/fasta/parser/parser.dart:2242:14) #4 Parser.parseTopLevelDeclarationImpl (package:front_end/src/fasta/parser/parser.dart:490:14) #5 Parser.parseUnit (package:front_end/src/fasta/parser/parser.dart:349:15) #6 SourceLoader.buildBody (package:front_end/src/fasta/source/source_loader.dart:262:14) <asynchronous suspension> #7 Loader.buildBodies (package:front_end/src/fasta/loader.dart:182:15) <asynchronous suspension> #8 KernelTarget.buildComponent.<anonymous closure> (package:front_end/src/fasta/kernel/kernel_target.dart:298:20) <asynchronous suspension> #9 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24) <asynchronous suspension> #10 KernelTarget.buildComponent (package:front_end/src/fasta/kernel/kernel_target.dart:296:12) <asynchronous suspension> #11 generateKernelInternal.<anonymous closure> (package:front_end/src/kernel_generator_impl.dart:145:38) <asynchronous suspension> #12 withCrashReporting (package:front_end/src/fasta/crash.dart:122:24) <asynchronous suspension> #13 generateKernelInternal (package:front_end/src/kernel_generator_impl.dart:55:10) <asynchronous suspension> #14 compile.<anonymous closure> (package:front_end/src/api_unstable/dart2js.dart:162:32) <asynchronous suspension> #15 CompilerContext.runWithOptions.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:134:20) <asynchronous suspension> #16 CompilerContext.runInContext.<anonymous closure>.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:46) #17 new Future.sync (dart:async/future.dart:224:31) #18 CompilerContext.runInContext.<anonymous closure> (package:front_end/src/fasta/compiler_context.dart:122:19) #19 _rootRun (dart:async/zone.dart:1124:13) #20 _CustomZone.run (dart:async/zone.dart:1021:19) #21 _runZoned (dart:async/zone.dart:1516:10) #22 runZoned (dart:async/zone.dart:1463:12) #23 CompilerContext.runInContext (package:front_end/src/fasta/compiler_context.dart:121:12) #24 CompilerContext.runWithOptions (package:front_end/src/fasta/compiler_context.dart:132:10) #25 compile (package:front_end/src/api_unstable/dart2js.dart:160:46) <asynchronous suspension> #26 KernelLoaderTask.load.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/loader.dart:78:27) <asynchronous suspension> #27 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #28 KernelLoaderTask.load (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/loader.dart:59:12) #29 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:260:48) <asynchronous suspension> #30 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #31 new Future.sync (dart:async/future.dart:224:31) #32 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #33 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #34 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #35 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #36 _RootZone.runUnary (dart:async/zone.dart:1379:54) #37 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #38 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #39 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #40 Future._completeWithValue (dart:async/future_impl.dart:483:5) #41 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #42 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #43 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #44 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #45 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/13 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000218s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_06.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2044_ollections_const_error_test_06/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_06.dart:34:6: Internal Error: The compiler crashed when compiling this element. void testMap() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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::Map<dart.core::int, dart.core::String> #t3 = <dart.core::int, dart.core::String>{}; #t3.{dart.core::Map::[]=}(invalid-expression "unimplemented spread element", null); } =>#t3 (BlockExpression) #0 ScopeModelBuilder.defaultNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitBlockExpression (package:kernel/visitor.dart:189:51) #4 BlockExpression.accept (package:kernel/ast.dart:3768:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #7 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #8 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #11 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #12 Block.accept (package:kernel/ast.dart:3881:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #15 FunctionNode.accept (package:kernel/ast.dart:2111:30) #16 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #18 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #19 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #20 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #21 Procedure.accept (package:kernel/ast.dart:1773:32) #22 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #23 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #24 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #25 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #26 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #27 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #28 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #29 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #30 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #31 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #32 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #33 CompilerTask.measureSubtask (file:///C:/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> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #35 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #37 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #38 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #39 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #40 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #42 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #43 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #44 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #45 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #46 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #49 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #50 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #51 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #52 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #53 new Future.sync (dart:async/future.dart:224:31) #54 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #55 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #56 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #57 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #58 _RootZone.runUnary (dart:async/zone.dart:1379:54) #59 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #60 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #61 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #62 Future._completeWithValue (dart:async/future_impl.dart:483:5) #63 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #64 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #65 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #66 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #67 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/06 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 723ms): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_12.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2050_ollections_const_error_test_12/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_12.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/12 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000156s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_11.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2049_ollections_const_error_test_11/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_11.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/11 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/15 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000180s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_15.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2053_ollections_const_error_test_15/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_15.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/15 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/16 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000453s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_16.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2054_ollections_const_error_test_16/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_16.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/16 FAILED: dart2js-chrome release_x64 language_2/spread_collections/const_error_test/14 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 01.000656s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --enable-experiment=spread-collections --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\language_2\spread_collections\const_error_test_14.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2052_ollections_const_error_test_14/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/spread_collections/const_error_test_14.dart:49:6: Internal Error: The compiler crashed when compiling this element. void testSet() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.dbea5c68845d3d0423fd75fd74d93c98eb94bb83), 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:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:114:7) #1 Visitor.defaultTreeNode (package:kernel/visitor.dart:333:39) #2 TreeVisitor.defaultExpression (package:kernel/visitor.dart:140:43) #3 TreeVisitor.visitInvalidExpression (package:kernel/visitor.dart:142:55) #4 InvalidExpression.accept (package:kernel/ast.dart:2238:36) #5 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:574:5) #25 Procedure.accept (package:kernel/ast.dart:1773:32) #26 ScopeModelBuilder.computeModel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///C:/b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart:91:22) #62 _RootZone.runUnary (dart:async/zone.dart:1379:54) #63 _FutureListener.handleValue (dart:async/future_impl.dart:126:18) #64 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45) #65 Future._propagateToListeners (dart:async/future_impl.dart:668:32) #66 Future._completeWithValue (dart:async/future_impl.dart:483:5) #67 Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:513:7) #68 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #69 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #70 _runPendingImmediateCallback (dart:isolate/runtime/lib/isolate_patch.dart:115:13) #71 _RawReceivePortImpl._handleMessage (dart:isolate/runtime/lib/isolate_patch.dart:172:5) --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration language_2/spread_collections/const_error_test/14 1514 out of 1583 completed Tests running for 5 minutes FAILED: dart2js-chrome release_x64 lib_2/html/js_typed_interop_default_arg_test/explicit_argument Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 03.000409s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js C:\b\s\w\ir\out\ReleaseX64\generated_tests\lib_2\html\js_typed_interop_default_arg_test_explicit_argument.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,410,366 characters Dart to 176,746 characters JavaScript in 3.41 seconds Dart file (C:\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-sdk/short2666_ult_arg_test_explicit_argument/test.js --- Command "chrome" (took 86ms): C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:50687/root_build/generated_tests/dart2js-chrome-sdk/short2665_ult_arg_test_explicit_argument/test.html?crossOriginPort=50688 Runtime error: ReferenceError: get42 is not defined ReferenceError: get42 is not defined at StaticClosure.Foo_get42 (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:2234:7) at main_closure0.call$0 (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:3875:90) at Object.test (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:2197:23) at main (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:2247:9) at dartMainRunner (http://127.0.0.1:50687/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:4249:7 at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:4235:7 at dartProgram (http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:4246:5) at http://127.0.0.1:50687/root_build/generated_compilations/dart2js-sdk/short2666_ult_arg_test_explicit_argument/test.js:4253:3 exit code: 0 --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/js_typed_interop_default_arg_test/explicit_argument FAILED: dart2js-chrome release_x64 lib_2/html/js_typed_interop_default_arg_test/default_value Expected: Pass Actual: MissingCompileTimeError Missing expected compile error. --- Command "dart2js" (took 03.000931s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --preview-dart-2 C:\b\s\w\ir\out\ReleaseX64\generated_tests\lib_2\html\js_typed_interop_default_arg_test_default_value.dart --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/short2664_default_arg_test_default_value/out.js exit code: 0 stdout: Compiled 7,410,418 characters Dart to 176,729 characters JavaScript in 3.92 seconds Dart file (C:\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-sdk/short2664_default_arg_test_default_value/out.js --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/js_typed_interop_default_arg_test/default_value FAILED: dart2js-chrome release_x64 lib_2/html/xhr_test Expected: Slow RuntimeError Actual: Pass --- Command "dart2js" (took 09.000249s): set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart2js.bat --generate-code-with-compile-time-errors --test-mode --packages=C:\b\s\w\ir\.packages --out=C:/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_html_xhr_test/test.js C:\b\s\w\ir\tests\lib_2\html\xhr_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,661,858 characters Dart to 703,508 characters JavaScript in 9.23 seconds Dart file (C:\b\s\w\ir\tests\lib_2\html\xhr_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-sdk/tests_lib_2_html_xhr_test/test.js --- Command "chrome" (took 349ms): C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:50687/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_xhr_test/test.html?crossOriginPort=50688 Events: - debug "test_controller.js started" - debug "Sending events to driver page (isFirstMessage = true, isStatusUpdate = true, isDone = false)" - print "dart-calling-main" - print "dart-main-done" - { type: message_received value: dart-calling-main timestamp: 0.122 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.123 } - { type: message_received value: dart-main-done timestamp: 0.123 } - { type: message_received value: unittest-suite-done timestamp: 0.32 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test C:\b\s\w\ir\tests\lib_2\html\xhr_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=supported_onProgress supported"> supported_onProgress supported </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=supported_onLoadEnd supported"> supported_onLoadEnd supported </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=supported_overrideMimeType supported"> supported_overrideMimeType supported </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR No file"> xhr XHR No file </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR_file"> xhr XHR_file </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request No file"> xhr XHR.request No file </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request file"> xhr XHR.request file </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request onProgress"> xhr XHR.request onProgress </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request withCredentials No file"> xhr XHR.request withCredentials No file </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request withCredentials file"> xhr XHR.request withCredentials file </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.getString file"> xhr XHR.getString file </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.getString No file"> xhr XHR.getString No file </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr XHR.request responseType arraybuffer"> xhr XHR.request responseType arraybuffer </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr overrideMimeType"> xhr overrideMimeType </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr xhr upload"> xhr xhr upload </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr xhr postFormData"> xhr xhr postFormData </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=xhr_requestBlob XHR.request responseType blob"> xhr_requestBlob XHR.request responseType blob </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=json xhr responseType json"> json xhr responseType json </a>. </p> <pre></pre> </td> </tr> <tr> <td>19</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=headers xhr responseHeaders"> headers xhr responseHeaders </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 19 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: C:\b\s\w\ir\tools\sdks\dart-sdk\bin\dart.exe C:\b\s\w\ir\tools\testing\dart\http_server.dart -p 50687 -c 50688 --network 127.0.0.1 --build-directory=C:\b\s\w\ir\out\ReleaseX64\ --runtime=chrome --packages=C:\b\s\w\ir\.packages --- Re-run this test: python tools/test.py -n dart2js-win-chrome --dart2js-batch --reset-browser-configuration lib_2/html/xhr_test 1583 out of 1583 completed Tests running for 10 minutes Double reporting tests http://127.0.0.1:50687/root_build/generated_tests/dart2js-chrome-sdk/tests_lib_2_html_websql_test/test.html?crossOriginPort=50688 --- Total time: 10:27 --- 0:01:00.040410 - chrome - dart2js-chrome release_x64/lib_2/html/notification_permission_test 0:00:15.610325 - dart2js - dart2js-chrome release_x64/lib_2/html/element_test/_ElementList/_ElementList, dart2js-chrome release_x64/lib_2/html/element_test/eventDelegation/eventDelegation, dart2js-chrome release_x64/lib_2/html/element_test/ElementList/ElementList, dart2js-chrome release_x64/lib_2/html/element_test/functional/functional, dart2js-chrome release_x64/lib_2/html/element_test/querySelectorAll/querySelectorAll, dart2js-chrome release_x64/lib_2/html/element_test/matches/matches, dart2js-chrome release_x64/lib_2/html/element_test/children/children, dart2js-chrome release_x64/lib_2/html/element_test/click/click, dart2js-chrome release_x64/lib_2/html/element_test/attributes/attributes, dart2js-chrome release_x64/lib_2/html/element_test/position/position, dart2js-chrome release_x64/lib_2/html/element_test/eventListening/eventListening, dart2js-chrome release_x64/lib_2/html/element_test/constructors/constructors 0:00:11.895489 - dart2js - dart2js-chrome release_x64/lib_2/html/form_data_test/supported/supported, dart2js-chrome release_x64/lib_2/html/form_data_test/functional/functional 0:00:11.871658 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_file_test 0:00:11.257401 - dart2js - dart2js-chrome release_x64/lib_2/html/event_customevent_test 0:00:10.933964 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/constructor_calls_created_synchronously_test 0:00:09.850575 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/created_callback_test 0:00:09.791000 - dart2js - dart2js-chrome release_x64/lib_2/html/interactive_test/KeyEvent/KeyEvent 0:00:09.484374 - dart2js - dart2js-chrome release_x64/lib_2/html/touchevent_test 0:00:09.390597 - dart2js - dart2js-chrome release_x64/language_2/many_method_calls_test 0:00:09.363873 - dart2js - dart2js-chrome release_x64/lib_2/html/notification_permission_test 0:00:09.249026 - dart2js - dart2js-chrome release_x64/lib_2/html/xhr_test 0:00:09.158832 - dart2js - dart2js-chrome release_x64/lib_2/html/worker_test/supported/supported, dart2js-chrome release_x64/lib_2/html/worker_test/functional/functional 0:00:07.620104 - dart2js - dart2js-chrome release_x64/corelib_2/int_parse_radix_test/01 0:00:07.452979 - dart2js - dart2js-chrome release_x64/corelib_2/bit_twiddling_test/int64 0:00:07.308587 - dart2js - dart2js-chrome release_x64/corelib_2/int_parse_radix_test/02 0:00:07.255506 - chrome - dart2js-chrome release_x64/corelib_2/double_truncate_test/none 0:00:06.796856 - dart2js - dart2js-chrome release_x64/corelib_2/date_time4_test 0:00:06.249851 - dart2js - dart2js-chrome release_x64/corelib_2/bit_twiddling_test/none 0:00:06.249851 - dart2js - dart2js-chrome release_x64/corelib_2/double_hash_code_test 2019-03-14 05:39:23,388 - root: [DEBUG] Contents of task_output_dir: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd\\4394eefae4d02710'] 2019-03-14 05:39:23,388 - root: [WARNING] Expected output.json file missing: set(['c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd\\4394eefae4d02710\\output.json']) Found: [] Expected: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd\\4394eefae4d02710\\output.json'] 2019-03-14 05:39:23,388 - root: [WARNING] No shard json files found in task_output_dir: 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd' Found ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd\\4394eefae4d02710'] 2019-03-14 05:39:23,388 - root: [DEBUG] Found shard_json_files: ['c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd\\4394eefae4d02710\\output.json'] 2019-03-14 05:39:23,388 - root: [INFO] merge_cmd: C:\b\s\w\ir\cache\vpython\691c07\Scripts\python.exe C:\b\s\w\ir\kitchen-checkout\build\scripts\slave\recipe_modules\chromium_swarming\resources\noop_merge.py --summary-json c:\b\s\w\ir\tmp\t\tmp35yjuf.json --task-output-dir c:\b\s\w\ir\tmp\t\tmpn6wjkd -o c:\b\s\w\ir\tmp\t\tmpjm3y91.json Running ['C:\\b\\s\\w\\ir\\cache\\vpython\\691c07\\Scripts\\python.exe', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\slave\\recipe_modules\\chromium_swarming\\resources\\noop_merge.py', '--summary-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmp35yjuf.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpjm3y91.json'] in None (env: None) Command ['C:\\b\\s\\w\\ir\\cache\\vpython\\691c07\\Scripts\\python.exe', 'C:\\b\\s\\w\\ir\\kitchen-checkout\\build\\scripts\\slave\\recipe_modules\\chromium_swarming\\resources\\noop_merge.py', '--summary-json', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmp35yjuf.json', '--task-output-dir', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpn6wjkd', '-o', 'c:\\b\\s\\w\\ir\\tmp\\t\\tmpjm3y91.json'] returned exit code 0