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

python -u /b/s/w/ir/kitchen-checkout/build/scripts/tools/runit.py --show-path --with-third-party-lib -- python /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py --verbose -o /b/s/w/ir/tmp/t/tmp_Q8Flk.json --task-output-dir /b/s/w/ir/tmp/t/tmp3HtdLI --merge-script /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py --merge-script-stdout-file /b/s/w/ir/tmp/t/tmpFLgwQdmerge_script_log --merge-additional-args '[]' --summary-json-file /b/s/w/ir/tmp/t/tmpfBHfgv.json -- swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpcYBgDd.json in dir /b/s/w/ir/k: allow_subannotations: False cmd: ['python', '-u', '/b/s/w/ir/kitchen-checkout/build/scripts/tools/runit.py', '--show-path', '--with-third-party-lib', '--', 'python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/collect_task.py', '--verbose', '-o', '/b/s/w/ir/tmp/t/tmp_Q8Flk.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmp3HtdLI', '--merge-script', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--merge-script-stdout-file', '/b/s/w/ir/tmp/t/tmpFLgwQdmerge_script_log', '--merge-additional-args', '[]', '--summary-json-file', '/b/s/w/ir/tmp/t/tmpfBHfgv.json', '--', 'swarming', 'collect', '-server', 'https://chromium-swarm.appspot.com', '-worker', '50', '-task-summary-python', '-task-output-stdout', 'all', '-verbose', '-requests-json', '/b/s/w/ir/tmp/t/tmpcYBgDd.json'] env: {} env_prefixes: {'PATH': '/b/s/w/ir/cache/swarming_client'} env_suffixes: {} infra_step: False name_tokens: ('dart2js tests_shard_4',) ok_ret: frozenset([0]) step_test_data: <lambda>(...) trigger_specs: () full environment: BOTO_CONFIG: /b/s/w/ir/tmp/gsutil_task/.boto BUILDBUCKET_EXPERIMENTAL: FALSE CIPD_CACHE_DIR: /b/s/cipd_cache/cache CIPD_PROTOCOL: v2 DEVSHELL_CLIENT_PORT: 36336 DOCKER_CONFIG: /b/s/w/ir/tmp/docker_cfg_task DOCKER_TMPDIR: /b/s/w/ir/tmp/docker_tmp_task GIT_CONFIG_NOSYSTEM: 1 GIT_TERMINAL_PROMPT: 0 HOME: /home/chrome-bot INFRA_GIT_WRAPPER_HOME: /b/s/w/ir/tmp/git_home_task LOGDOG_COORDINATOR_HOST: logs.chromium.org LOGDOG_STREAM_PREFIX: buildbucket/cr-buildbucket.appspot.com/8919013374516802752 LOGDOG_STREAM_PROJECT: dart LOGDOG_STREAM_SERVER_PATH: unix:/b/s/w/ir/tmp/ld.sock LOGNAME: chrome-bot LUCI_CONTEXT: /b/s/w/itveG9D4/luci_context.722567995 MAC_CHROMIUM_TMPDIR: /b/s/w/ir/tmp/t MAIL: /var/mail/chrome-bot NO_GCE_CHECK: False PATH: /b/s/w/ir/cache/swarming_client:/b/s/w/ir/cipd_bin_packages:/b/s/w/ir/cipd_bin_packages/bin:/b/s/cipd_cache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin PWD: /b/s/w/ir/k PYTHONIOENCODING: UTF-8 PYTHONUNBUFFERED: 1 SHELL: /bin/bash SHLVL: 1 SUDO_COMMAND: /usr/bin/python /b/s/swarming_bot.zip start_bot SUDO_GID: 0 SUDO_UID: 0 SUDO_USER: root SWARMING_BOT_ID: trusty-dart-68765ebb-us-central1-b-dt1j SWARMING_EXTERNAL_BOT_SETUP: 1 SWARMING_HEADLESS: 1 SWARMING_SERVER: https://chromium-swarm.appspot.com SWARMING_TASK_ID: 4394c97553ca7a11 TEMP: /b/s/w/ir/tmp/t TEMPDIR: /b/s/w/ir/tmp/t TERM: linux TMP: /b/s/w/ir/tmp/t TMPDIR: /b/s/w/ir/tmp/t USER: chrome-bot USERNAME: chrome-bot VPYTHON_VIRTUALENV_ROOT: /b/s/w/ir/cache/vpython _: /b/s/w/ir/cipd_bin_packages/vpython Set PYTHONPATH: /b/s/w/ir/kitchen-checkout/build/scripts:/b/s/w/ir/kitchen-checkout/build/site_config:/b/s/w/ir/kitchen-checkout/build/third_party:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_8_4p1:/b/s/w/ir/kitchen-checkout/build/third_party/buildbot_slave_8_4:/b/s/w/ir/kitchen-checkout/build/third_party/coverage-3.7.1:/b/s/w/ir/kitchen-checkout/build/third_party/decorator_3_3_1:/b/s/w/ir/kitchen-checkout/build/third_party/google_api_python_client:/b/s/w/ir/kitchen-checkout/build/third_party/httplib2/python2:/b/s/w/ir/kitchen-checkout/build/third_party/infra_libs:/b/s/w/ir/kitchen-checkout/build/third_party/jinja2:/b/s/w/ir/kitchen-checkout/build/third_party/markupsafe:/b/s/w/ir/kitchen-checkout/build/third_party/oauth2client:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1:/b/s/w/ir/kitchen-checkout/build/third_party/pyasn1-modules:/b/s/w/ir/kitchen-checkout/build/third_party/python-rsa:/b/s/w/ir/kitchen-checkout/build/third_party/requests_2_10_0:/b/s/w/ir/kitchen-checkout/build/third_party/setuptools-0.6c11:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/sqlalchemy_migrate_0_7_1:/b/s/w/ir/kitchen-checkout/build/third_party/tempita_0_5:/b/s/w/ir/kitchen-checkout/build/third_party/twisted_10_2:/b/s/w/ir/kitchen-checkout/build/third_party/uritemplate:/b/s/w/ir/kitchen-checkout/build/third_party/site-packages 2019-03-14 04:51:34,124 - root: [DEBUG] Using task_output_dir: '/b/s/w/ir/tmp/t/tmp3HtdLI' 2019-03-14 04:51:34,124 - root: [WARNING] task_output_dir '/b/s/w/ir/tmp/t/tmp3HtdLI' already exists! 2019-03-14 04:51:34,124 - root: [WARNING] task_output_dir existing content: [] 2019-03-14 04:51:34,124 - root: [INFO] collect_cmd: swarming collect -server https://chromium-swarm.appspot.com -worker 50 -task-summary-python -task-output-stdout all -verbose -requests-json /b/s/w/ir/tmp/t/tmpcYBgDd.json -output-dir /b/s/w/ir/tmp/t/tmp3HtdLI -task-summary-json /b/s/w/ir/tmp/t/tmpfBHfgv.json [D2019-03-14T04:51:34.132222-07:00 28587 0 auth.go:1265] Minting a new token {"key":"luci_ctx/d63d9c91001353b15cfe60257679c5105625d5921bd7cd837cf6d72d6b47bb43", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-14T04:51:34.132496-07:00 28587 0 luci_ctx.go:138] POST http://127.0.0.1:37929/rpc/LuciLocalAuthService.GetOAuthToken {"key":"luci_ctx/d63d9c91001353b15cfe60257679c5105625d5921bd7cd837cf6d72d6b47bb43", "scopes":"https://www.googleapis.com/auth/userinfo.email"} [D2019-03-14T04:51:34.134780-07:00 28587 0 auth.go:1222] Token expires in 14m6.865247755s {"key":"luci_ctx/d63d9c91001353b15cfe60257679c5105625d5921bd7cd837cf6d72d6b47bb43", "scopes":"https://www.googleapis.com/auth/userinfo.email"} 4394cdc0b62a3c10: exit 0 INFO: Core dump archiving is activated tools/testing/dart/main.dart:1: Warning: Interpreting this as package URI, 'package:test_dart/main.dart'. Test configuration: dart2js-minified-csp-linux-chrome(architecture: x64, compiler: dart2js, mode: release, runtime: chrome, system: linux, vm-options: [], timeout: null, csp, minified, preview-dart-2, use-sdk) Suites tested: samples, standalone, standalone_2, corelib_2, language_2, vm, benchmark_smoke, utils, lib_2, analyze_library, service, kernel Directory containing tests missing: /b/s/w/ir/runtime/observatory/tests/service Total: 2609 tests * 259 tests will be skipped (253 skipped by design) * 3 tests are expected to be flaky but not crash * 4 tests are expected to flaky crash * 2200 tests are expected to pass * 35 tests are expected to fail that we won't fix * 102 tests are expected to fail that we should fix * 2 tests are expected to crash that we should fix * 0 tests are allowed to timeout * 4 could not be categorized or are in multiple categories FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/29 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000457s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_29.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_29/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_29.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/29 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/30 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000406s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_30.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_30/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_30.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/30 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/31 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000628s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_31.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_31/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_31.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/31 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/34 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000462s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_34.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_34/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_34.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/34 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/33 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000591s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_33.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_33/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_33.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/33 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 510ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_if_const_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/if_const_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_const_test.dart:108:5: Error: Expected ':' after this. if (true) ...<int, int>{1: 1, 2: 2}, ^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 302ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_syntax_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/syntax_test.dart --enable-experiment=set-literals,control-flow-collections --preview-dart-2 exit code: 1 stdout: tests/language_2/control_flow_collections/syntax_test.dart:14:26: Error: Expected ':' after this. Expect.setEquals({1}, {if (true) 1,}); ^ tests/language_2/control_flow_collections/syntax_test.dart:19:26: Error: Expected ':' after this. Expect.setEquals({1}, {if (true) 1 else 2,}); ^ tests/language_2/control_flow_collections/syntax_test.dart:22:30: Error: Unexpected token 'for'. Expect.listEquals([1], [1, for (; false;) 2,]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:23:35: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, {1: 1, for (; false;) 2: 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:24:29: Error: Unexpected token 'for'. Expect.setEquals({1}, {1, for (; false;) 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:43:11: Error: Unexpected token 'for'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:45:45: Error: 'i' is already declared in this scope. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:43:20: Info: Previous declaration of 'i'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:45:36: Error: Unexpected token 'for'. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/syntax_test FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/32 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000951s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_32.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_32/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_32.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/32 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 407ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_01.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_01/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_01.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/01 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 318ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_06.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_06/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_06.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/06 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 556ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_00.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_00/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_00.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/00 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 483ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_02.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_02.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/02 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 519ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_07.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_07.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/07 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 404ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_09.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_09/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_09.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/09 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 473ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_08.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_08.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/08 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 453ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_10.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_10/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_10.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/10 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 424ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_11.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_11/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_11.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/11 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 567ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_12.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_12/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_12.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/12 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 503ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_13.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_13/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_13.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/13 FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_4_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000190s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_4_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_4_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,654,877 characters Dart to 258,767 characters JavaScript in 7.19 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_4_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_4_test/test.js --- Command "chrome" (took 767ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_4_test/test.html?crossOriginPort=38032 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.131 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.148 } - { type: message_received value: dart-main-done timestamp: 0.148 } - { type: message_received value: unittest-suite-done timestamp: 0.718 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_4_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=only1"> only1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=only2"> only2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=only3"> only3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower1"> lower1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower2"> lower2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower3"> lower3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper1"> upper1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper2"> upper2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper3"> upper3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=bound1"> bound1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=bound2"> bound2 </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 11 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_4_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_2_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 06.000962s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_2_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_2_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,705,005 characters Dart to 268,370 characters JavaScript in 6.96 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_2_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_2_test/test.js --- Command "chrome" (took 595ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_2_test/test.html?crossOriginPort=38032 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.166 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.168 } - { type: message_received value: dart-main-done timestamp: 0.168 } - { type: message_received value: unittest-suite-done timestamp: 0.542 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_2_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=test_verifyGraph"> test_verifyGraph </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_simple"> test_simple </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_DAG"> test_DAG </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_cycle"> test_cycle </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_simple_splay"> test_simple_splay </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=const_array_1"> const_array_1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=const_array_dag"> const_array_dag </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=array_deferred_copy"> array_deferred_copy </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=array_deferred_copy_2"> array_deferred_copy_2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=cyclic_list"> cyclic_list </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=non-native lists"> non-native lists </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 11 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_2_test FAILED: dart2js-chrome release_x64 lib_2/math/random_big_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000102s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js /b/s/w/ir/tests/lib_2/math/random_big_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,401,688 characters Dart to 20,167 characters JavaScript in 1.10 seconds Dart file (/b/s/w/ir/tests/lib_2/math/random_big_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js --- Command "chrome" (took 52ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_math_random_big_test/test.html?crossOriginPort=38032 Runtime error: Expect.isFalse(true) fails. Expect.isFalse(true) fails. at Object.a (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:102:3) at Object.ak (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:404:24) at Object.al (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:403:3) at ad (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:410:3) at dartMainRunner (http://127.0.0.1:40147/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:593:39 at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:589:55 at dartProgram (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:592:84) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:594:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/math/random_big_test FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/registration/registration Expected: Slow Actual: Pass --- Command "dart2js" (took 07.000493s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,419 characters Dart to 264,568 characters JavaScript in 7.49 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js --- Command "chrome" (took 143ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/test.html?crossOriginPort=38032&group=registration 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.049 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.049 } - { type: message_received value: dart-main-done timestamp: 0.049 } - { type: message_received value: unittest-suite-done timestamp: 0.105 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register twice"> registration cannot register twice </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register for non-matching tag"> registration cannot register for non-matching tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register type extension for custom tag"> registration cannot register type extension for custom tag </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/registration/registration FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/construction/construction Expected: Slow Actual: Pass --- Command "dart2js" (took 07.000493s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,419 characters Dart to 264,568 characters JavaScript in 7.49 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js --- Command "chrome" (took 316ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/test.html?crossOriginPort=38032&group=construction 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.151 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.152 } - { type: message_received value: dart-main-done timestamp: 0.152 } - { type: message_received value: unittest-suite-done timestamp: 0.255 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag"> construction constructors custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension"> construction constructors type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag deriving from custom tag"> construction constructors custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension deriving from custom tag"> construction constructors type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag"> construction single-parameter createElement custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement does not upgrade type extension"> construction single-parameter createElement does not upgrade type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag deriving from custom tag"> construction single-parameter createElement custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement type extension deriving from custom tag"> construction single-parameter createElement type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension does not upgrade extension of custom tag"> construction createElement with type extension does not upgrade extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension upgrades valid extension"> construction createElement with type extension upgrades valid extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension type extension of incorrect tag"> construction createElement with type extension type extension of incorrect tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of custom tag"> construction createElement with type extension incorrect extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of type extension"> construction createElement with type extension incorrect extension of type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension null type extension"> construction createElement with type extension null type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension empty type extension"> construction createElement with type extension empty type extension </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 15 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/construction/construction FAILED: dart2js-chrome release_x64 lib_2/typed_data/unmodifiable_typed_data_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000436s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js /b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,406,870 characters Dart to 46,939 characters JavaScript in 1.44 seconds Dart file (/b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js --- Command "chrome" (took 72ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.html?crossOriginPort=38032 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. at Object.b (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:111:3) at Object.cu (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:697:9) at c2 (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:775:3) at dartMainRunner (http://127.0.0.1:40147/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1419:39 at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1415:55 at dartProgram (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1418:84) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1420:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/unmodifiable_typed_data_test FAILED: dart2js-chrome release_x64 lib_2/convert/utf85_test Expected: Slow Actual: Pass --- Command "dart2js" (took 01.000450s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js /b/s/w/ir/tests/lib_2/convert/utf85_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,401,621 characters Dart to 44,058 characters JavaScript in 1.45 seconds Dart file (/b/s/w/ir/tests/lib_2/convert/utf85_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js --- Command "chrome" (took 11.000007s): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_convert_utf85_test/test.html?crossOriginPort=38032 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: 10.898 } - { type: message_received value: dart-main-done timestamp: 10.943 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/convert/utf85_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body> <h1> Running /b/s/w/ir/tests/lib_2/convert/utf85_test.dart </h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script type="text/javascript" src="/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js" onerror="scriptTagOnErrorCallback(null)" defer=""> </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/convert/utf85_test Double reporting tests http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/multitest_language_2_flatten_test_04/test.html?crossOriginPort=38032 http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/multitest_language_2_flatten_test_01/test.html?crossOriginPort=38032 http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/multitest_language_2_regress_24935_test_01/test.html?crossOriginPort=38032 http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_interactive_media_test/test.html?crossOriginPort=38032 === Failure summary: FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/29 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000457s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_29.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_29/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_29.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/29 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/30 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000406s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_30.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_30/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_30.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/30 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/31 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000628s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_31.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_31/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_31.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/31 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/34 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000462s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_34.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_34/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_34.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/34 FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/33 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000591s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_33.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_33/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_33.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/33 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/if_const_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 510ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_if_const_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/if_const_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_const_test.dart:108:5: Error: Expected ':' after this. if (true) ...<int, int>{1: 1, 2: 2}, ^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/if_const_test FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/syntax_test Expected: Pass Actual: CompileTimeError Unexpected compile error. --- Command "dart2js" (took 302ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_language_2_control_flow_collections_syntax_test/test.js /b/s/w/ir/tests/language_2/control_flow_collections/syntax_test.dart --enable-experiment=set-literals,control-flow-collections --preview-dart-2 exit code: 1 stdout: tests/language_2/control_flow_collections/syntax_test.dart:14:26: Error: Expected ':' after this. Expect.setEquals({1}, {if (true) 1,}); ^ tests/language_2/control_flow_collections/syntax_test.dart:19:26: Error: Expected ':' after this. Expect.setEquals({1}, {if (true) 1 else 2,}); ^ tests/language_2/control_flow_collections/syntax_test.dart:22:30: Error: Unexpected token 'for'. Expect.listEquals([1], [1, for (; false;) 2,]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:23:35: Error: Unexpected token 'for'. Expect.mapEquals({1: 1}, {1: 1, for (; false;) 2: 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:24:29: Error: Unexpected token 'for'. Expect.setEquals({1}, {1, for (; false;) 2,}); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:43:11: Error: Unexpected token 'for'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^^^ tests/language_2/control_flow_collections/syntax_test.dart:45:45: Error: 'i' is already declared in this scope. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:43:20: Info: Previous declaration of 'i'. [1, for (var i = 0; i < 1; i++) true ? 2 : 0, 3]); ^ tests/language_2/control_flow_collections/syntax_test.dart:45:36: Error: Unexpected token 'for'. Expect.listEquals([1, 2, 3], [1, for (var i = 0; i < 1; i++) a = 2, 3]); ^^^ Error: Compilation failed. --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/syntax_test FAILED: dart2js-chrome release_x64 language_2/set_literals/invalid_set_literal_test/32 Expected: MissingCompileTimeError Actual: Pass Missing expected compile error. --- Command "dart2js" (took 01.000951s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_32.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_set_literals_invalid_set_literal_test_32/out.js exit code: 1 stdout: out/ReleaseX64/generated_tests/language_2/set_literals/invalid_set_literal_test_32.dart:71:14: Error: An entry appears twice in the set. Try removing one of the entries. const cs = { ^ Error: Compilation failed. --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/set_literals/invalid_set_literal_test/32 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/01 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 407ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_01.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_01/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_01.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/01 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/06 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 318ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_06.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_06/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_06.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/06 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/00 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 556ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_00.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_00/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_00.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/00 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/02 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 483ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_02.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_02/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_02.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/02 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/07 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 519ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_07.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_07/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_07.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/07 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/09 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 404ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_09.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_09/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_09.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/09 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/08 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 473ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_08.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_08/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_08.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/08 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/10 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 453ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_10.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_10/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_10.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitListLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:725:37) #8 ListLiteral.accept (package:kernel/ast.dart:3544:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/10 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/11 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 424ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_11.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_11/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_11.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/11 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/12 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 567ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_12.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_12/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_12.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitMapEntry (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:761:40) #7 MapEntry.accept (package:kernel/ast.dart:3631:30) #8 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #9 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #10 ScopeModelBuilder.visitMapLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:751:37) #11 MapLiteral.accept (package:kernel/ast.dart:3606:36) #12 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #13 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #14 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #15 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #16 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #17 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #18 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #19 Block.accept (package:kernel/ast.dart:3881:35) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #22 FunctionNode.accept (package:kernel/ast.dart:2111:30) #23 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #24 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #25 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #26 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #27 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #30 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #31 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #32 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #33 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #34 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #35 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #36 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #37 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #38 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #39 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #40 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #41 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #42 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #43 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #44 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #45 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #46 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #49 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #50 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #51 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #52 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #53 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #54 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #55 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #56 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #57 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #58 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #59 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #60 new Future.sync (dart:async/future.dart:224:31) #61 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #62 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #63 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #64 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/12 FAILED: dart2js-chrome release_x64 language_2/control_flow_collections/type_error_test/13 Expected: Pass Actual: Crash Missing expected compile error. --- Command "dart2js" (took 503ms): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --enable-experiment=set-literals,control-flow-collections --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --preview-dart-2 /b/s/w/ir/out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_13.dart --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/multitest_language_2_control_flow_collections_type_error_test_13/out.js exit code: 253 stdout: out/ReleaseX64/generated_tests/language_2/control_flow_collections/type_error_test_13.dart:7:6: Internal Error: The compiler crashed when compiling this element. void main() { ^ The compiler is broken. When compiling the above element, the compiler crashed. It is not possible to tell if this is caused by a problem in your program or not. Regardless, the compiler should not crash. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new. Please include the following information: * the name and version of your operating system, * the Dart SDK build number (2.2.1-edge.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:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #6 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #7 ScopeModelBuilder.visitSetLiteral (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:737:37) #8 SetLiteral.accept (package:kernel/ast.dart:3573:36) #9 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #10 ScopeModelBuilder._handleVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:257:5) #11 ScopeModelBuilder.visitVariableDeclaration (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:262:5) #12 VariableDeclaration.accept (package:kernel/ast.dart:4587:35) #13 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #14 ScopeModelBuilder.visitNodes (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:123:39) #15 ScopeModelBuilder.visitBlock (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:953:5) #16 Block.accept (package:kernel/ast.dart:3881:35) #17 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #18 ScopeModelBuilder.visitFunctionNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:717:5) #19 FunctionNode.accept (package:kernel/ast.dart:2111:30) #20 ScopeModelBuilder.visitNode (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:117:18) #21 ScopeModelBuilder.visitProcedure.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:575:7) #22 ScopeModelBuilder.enterNewScope (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:198:18) #23 ScopeModelBuilder.visitInvokable (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:503:5) #24 ScopeModelBuilder.visitProcedure (file:///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:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope_visitor.dart:104:12) #27 new ScopeModel.from (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/ir/scope.dart:24:20) #28 KernelModularStrategy.getModularMemberData.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:348:31) #29 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #30 KernelModularStrategy.getModularMemberData (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:347:43) #31 KernelWorkItem.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:291:28) #32 CompilerTask.measure (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:62:51) #33 KernelWorkItem.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/kernel/kernel_strategy.dart:276:26) #34 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:70) #35 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #36 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:461:32) #37 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #38 Compiler.emptyQueue.<anonymous closure>.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:459:28) #39 CompilerDiagnosticReporter.withCurrentElement (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:793:15) #40 Compiler.emptyQueue.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:457:18) #41 ResolutionEnqueuer._forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:444:12) #42 ResolutionEnqueuer.forEach (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/enqueue.dart:460:5) #43 Compiler.emptyQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:453:16) #44 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #45 Compiler.emptyQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:452:14) #46 Compiler.processQueue.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:478:7) #47 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #48 Compiler.processQueue (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:471:14) #49 Compiler.computeClosedWorld (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:332:5) #50 Compiler.compileFromKernel.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:400:17) #51 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #52 Compiler.compileFromKernel.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:399:43) #53 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #54 Compiler.compileFromKernel (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:398:14) #55 Compiler.runInternal (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:285:13) <asynchronous suspension> #56 Compiler.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:38) #57 new Future.sync (dart:async/future.dart:224:31) #58 Compiler.run.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:223:20) #59 CompilerTask.measureSubtask (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/common/tasks.dart:177:35) #60 Compiler.run (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/compiler.dart:220:41) #61 CompilerImpl.run.<anonymous closure>.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/apiimpl.dart: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: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration language_2/control_flow_collections/type_error_test/13 FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_4_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 07.000190s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_4_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_4_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,654,877 characters Dart to 258,767 characters JavaScript in 7.19 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_4_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_4_test/test.js --- Command "chrome" (took 767ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_4_test/test.html?crossOriginPort=38032 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.131 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.148 } - { type: message_received value: dart-main-done timestamp: 0.148 } - { type: message_received value: unittest-suite-done timestamp: 0.718 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_4_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=only1"> only1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=only2"> only2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=only3"> only3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower1"> lower1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower2"> lower2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=lower3"> lower3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper1"> upper1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper2"> upper2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=upper3"> upper3 </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=bound1"> bound1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=bound2"> bound2 </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 11 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_4_test FAILED: dart2js-chrome release_x64 lib_2/html/indexeddb_2_test Expected: RuntimeError Actual: Pass --- Command "dart2js" (took 06.000962s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_2_test/test.js /b/s/w/ir/tests/lib_2/html/indexeddb_2_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,705,005 characters Dart to 268,370 characters JavaScript in 6.96 seconds Dart file (/b/s/w/ir/tests/lib_2/html/indexeddb_2_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_html_indexeddb_2_test/test.js --- Command "chrome" (took 595ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_indexeddb_2_test/test.html?crossOriginPort=38032 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.166 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.168 } - { type: message_received value: dart-main-done timestamp: 0.168 } - { type: message_received value: unittest-suite-done timestamp: 0.542 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/html/indexeddb_2_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=test_verifyGraph"> test_verifyGraph </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_simple"> test_simple </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_DAG"> test_DAG </a>. </p> <pre></pre> </td> </tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_cycle"> test_cycle </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=test_simple_splay"> test_simple_splay </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=const_array_1"> const_array_1 </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=const_array_dag"> const_array_dag </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=array_deferred_copy"> array_deferred_copy </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=array_deferred_copy_2"> array_deferred_copy_2 </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=cyclic_list"> cyclic_list </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=non-native lists"> non-native lists </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 11 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/indexeddb_2_test FAILED: dart2js-chrome release_x64 lib_2/math/random_big_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000102s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js /b/s/w/ir/tests/lib_2/math/random_big_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,401,688 characters Dart to 20,167 characters JavaScript in 1.10 seconds Dart file (/b/s/w/ir/tests/lib_2/math/random_big_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js --- Command "chrome" (took 52ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_math_random_big_test/test.html?crossOriginPort=38032 Runtime error: Expect.isFalse(true) fails. Expect.isFalse(true) fails. at Object.a (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:102:3) at Object.ak (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:404:24) at Object.al (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:403:3) at ad (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:410:3) at dartMainRunner (http://127.0.0.1:40147/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:593:39 at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:589:55 at dartProgram (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:592:84) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_math_random_big_test/test.js:594:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/math/random_big_test FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/registration/registration Expected: Slow Actual: Pass --- Command "dart2js" (took 07.000493s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,419 characters Dart to 264,568 characters JavaScript in 7.49 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js --- Command "chrome" (took 143ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/test.html?crossOriginPort=38032&group=registration 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.049 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.049 } - { type: message_received value: dart-main-done timestamp: 0.049 } - { type: message_received value: unittest-suite-done timestamp: 0.105 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>1</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register twice"> registration cannot register twice </a>. </p> <pre></pre> </td> </tr> <tr> <td>2</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register for non-matching tag"> registration cannot register for non-matching tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>3</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=registration cannot register type extension for custom tag"> registration cannot register type extension for custom tag </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 3 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/registration/registration FAILED: dart2js-chrome release_x64 lib_2/html/custom/document_register_type_extensions_test/construction/construction Expected: Slow Actual: Pass --- Command "dart2js" (took 07.000493s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js /b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,713,419 characters Dart to 264,568 characters JavaScript in 7.49 seconds Dart file (/b/s/w/ir/tests/lib_2/html/custom/document_register_type_extensions_test.dart) compiled to JavaScript: out/ReleaseX64/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/document_register_type_extensions_test.js --- Command "chrome" (took 316ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_html_custom_document_register_type_extensions_test/test.html?crossOriginPort=38032&group=construction 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.151 } - { type: message_received value: unittest-suite-wait-for-done timestamp: 0.152 } - { type: message_received value: dart-main-done timestamp: 0.152 } - { type: message_received value: unittest-suite-done timestamp: 0.255 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head><style>body {transition: opacity ease-in 0.2s; } body[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } </style> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> document_register_type_extensions_test </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> <script src="/packages/web_components/webcomponents.js"></script> <script src="/packages/web_components/dart_support.js"></script> </head> <body><table class="unittest-table"><tbody><tr><td colspan="3" class="unittest-pass">PASS</td></tr> <tr> <td>4</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag"> construction constructors custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>5</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension"> construction constructors type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>6</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors custom tag deriving from custom tag"> construction constructors custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>7</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction constructors type extension deriving from custom tag"> construction constructors type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>8</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag"> construction single-parameter createElement custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>9</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement does not upgrade type extension"> construction single-parameter createElement does not upgrade type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>10</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement custom tag deriving from custom tag"> construction single-parameter createElement custom tag deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>11</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction single-parameter createElement type extension deriving from custom tag"> construction single-parameter createElement type extension deriving from custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>12</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension does not upgrade extension of custom tag"> construction createElement with type extension does not upgrade extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>13</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension upgrades valid extension"> construction createElement with type extension upgrades valid extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>14</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension type extension of incorrect tag"> construction createElement with type extension type extension of incorrect tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>15</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of custom tag"> construction createElement with type extension incorrect extension of custom tag </a>. </p> <pre></pre> </td> </tr> <tr> <td>16</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension incorrect extension of type extension"> construction createElement with type extension incorrect extension of type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>17</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension null type extension"> construction createElement with type extension null type extension </a>. </p> <pre></pre> </td> </tr> <tr> <td>18</td> <td class="unittest-pass"> PASS </td> <td> <p>Expectation: <a href="#testFilter=construction createElement with type extension empty type extension"> construction createElement with type extension empty type extension </a>. </p> <pre></pre> </td> </tr> <tr><td colspan="3" class="unittest-pass"> All 15 tests passed </td></tr></tbody></table></body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/html/custom/document_register_type_extensions_test/construction/construction FAILED: dart2js-chrome release_x64 lib_2/typed_data/unmodifiable_typed_data_test Expected: Pass Actual: RuntimeError --- Command "dart2js" (took 01.000436s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js /b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,406,870 characters Dart to 46,939 characters JavaScript in 1.44 seconds Dart file (/b/s/w/ir/tests/lib_2/typed_data/unmodifiable_typed_data_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js --- Command "chrome" (took 72ms): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.html?crossOriginPort=38032 Runtime error: Unsupported operation: Int64List not supported by dart2js. Unsupported operation: Int64List not supported by dart2js. at Object.b (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:111:3) at Object.cu (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:697:9) at c2 (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:775:3) at dartMainRunner (http://127.0.0.1:40147/root_dart/tools/testing/dart/test_controller.js:303:5) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1419:39 at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1415:55 at dartProgram (http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1418:84) at http://127.0.0.1:40147/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_typed_data_unmodifiable_typed_data_test/test.js:1420:18 exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/typed_data/unmodifiable_typed_data_test FAILED: dart2js-chrome release_x64 lib_2/convert/utf85_test Expected: Slow Actual: Pass --- Command "dart2js" (took 01.000450s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --minify --csp --packages=/b/s/w/ir/.packages --out=/b/s/w/ir/out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js /b/s/w/ir/tests/lib_2/convert/utf85_test.dart --preview-dart-2 exit code: 0 stdout: Compiled 7,401,621 characters Dart to 44,058 characters JavaScript in 1.45 seconds Dart file (/b/s/w/ir/tests/lib_2/convert/utf85_test.dart) compiled to JavaScript: out/ReleaseX64/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js --- Command "chrome" (took 11.000007s): /b/s/w/ir/tools/sdks/dart-sdk/bin/dart tools/testing/dart/launch_browser.dart chrome http://127.0.0.1:40147/root_build/generated_tests/dart2js-chrome-minified-sdk/tests_lib_2_convert_utf85_test/test.html?crossOriginPort=38032 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: 10.898 } - { type: message_received value: dart-main-done timestamp: 10.943 } - debug "Sending events to driver page (isFirstMessage = false, isStatusUpdate = false, isDone = true)" - dom <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="dart.unittest" content="full-stack-traces"> <title> Test /b/s/w/ir/tests/lib_2/convert/utf85_test.dart </title> <style> .unittest-table { font-family:monospace; border:1px; } .unittest-pass { background: #6b3;} .unittest-fail { background: #d55;} .unittest-error { background: #a11;} </style> </head> <body> <h1> Running /b/s/w/ir/tests/lib_2/convert/utf85_test.dart </h1> <script type="text/javascript" src="/root_dart/tools/testing/dart/test_controller.js"> </script> <script type="text/javascript" src="/root_build/generated_compilations/dart2js-minified-csp-sdk/tests_lib_2_convert_utf85_test/test.js" onerror="scriptTagOnErrorCallback(null)" defer=""> </script> </body> exit code: 0 --- To debug locally, run: /b/s/w/ir/tools/sdks/dart-sdk/bin/dart /b/s/w/ir/tools/testing/dart/http_server.dart -p 40147 -c 38032 --network 127.0.0.1 --build-directory=/b/s/w/ir/out/ReleaseX64/ --runtime=chrome --csp --packages=/b/s/w/ir/.packages --- Re-run this test: python tools/test.py -n dart2js-minified-csp-linux-chrome --dart2js-batch --reset-browser-configuration lib_2/convert/utf85_test === === 26 tests failed === --- Total time: 04:20 --- 0:00:13.197635 - chrome - dart2js-chrome release_x64/lib_2/convert/streamed_conversion_utf8_encode_test 0:00:11.007582 - chrome - dart2js-chrome release_x64/lib_2/convert/utf85_test 0:00:07.493572 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/functional/functional, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/parsing/parsing, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/namespaces/namespaces, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/single-parameter createElement/single-parameter createElement, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/constructors/constructors, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/registration/registration, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/construction/construction, dart2js-chrome release_x64/lib_2/html/custom/document_register_type_extensions_test/createElement with type extension/createElement with type extension 0:00:07.190772 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_4_test 0:00:07.122580 - dart2js - dart2js-chrome release_x64/lib_2/html/custom_element_name_clash_test/test/test 0:00:06.962434 - dart2js - dart2js-chrome release_x64/lib_2/html/indexeddb_2_test 0:00:06.910779 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_directory_reader_test 0:00:06.800816 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_entry_test 0:00:06.622652 - dart2js - dart2js-chrome release_x64/lib_2/html/custom_elements_23127_test/c2t/c2t, dart2js-chrome release_x64/lib_2/html/custom_elements_23127_test/c2/c2, dart2js-chrome release_x64/lib_2/html/custom_elements_23127_test/c1t/c1t, dart2js-chrome release_x64/lib_2/html/custom_elements_23127_test/baseline/baseline 0:00:06.590414 - dart2js - dart2js-chrome release_x64/lib_2/html/element_animate_test/omit_timing/omit_timing, dart2js-chrome release_x64/lib_2/html/element_animate_test/timing_dict/timing_dict, dart2js-chrome release_x64/lib_2/html/element_animate_test/simple_timing/simple_timing, dart2js-chrome release_x64/lib_2/html/element_animate_test/animate_supported/animate_supported 0:00:06.536731 - dart2js - dart2js-chrome release_x64/lib_2/html/js_dispatch_property_test 0:00:06.436038 - dart2js - dart2js-chrome release_x64/lib_2/html/custom/attribute_changed_callback_test 0:00:06.409441 - dart2js - dart2js-chrome release_x64/lib_2/html/history_test/supported_HashChangeEvent/supported_HashChangeEvent, dart2js-chrome release_x64/lib_2/html/history_test/history/history, dart2js-chrome release_x64/lib_2/html/history_test/supported_state/supported_state 0:00:06.363052 - dart2js - dart2js-chrome release_x64/lib_2/html/fileapi_supported_test 0:00:06.124036 - dart2js - dart2js-chrome release_x64/lib_2/html/interactive_media_test 0:00:05.365507 - dart2js - dart2js-chrome release_x64/corelib_2/data_uri_test 0:00:05.194448 - dart2js - dart2js-chrome release_x64/corelib_2/list_test/none 0:00:04.888088 - dart2js - dart2js-chrome release_x64/corelib_2/list_test/01 0:00:04.734441 - dart2js - dart2js-chrome release_x64/corelib_2/string_buffer_test 0:00:04.461870 - dart2js - dart2js-chrome release_x64/corelib_2/string_fromcharcodes_test INFO: No unexpected crashes recorded 2019-03-14 04:51:34,707 - root: [DEBUG] Contents of task_output_dir: ['/b/s/w/ir/tmp/t/tmp3HtdLI/4394cdc0b62a3c10'] 2019-03-14 04:51:34,707 - root: [WARNING] Expected output.json file missing: set(['/b/s/w/ir/tmp/t/tmp3HtdLI/4394cdc0b62a3c10/output.json']) Found: [] Expected: ['/b/s/w/ir/tmp/t/tmp3HtdLI/4394cdc0b62a3c10/output.json'] 2019-03-14 04:51:34,707 - root: [WARNING] No shard json files found in task_output_dir: '/b/s/w/ir/tmp/t/tmp3HtdLI' Found ['/b/s/w/ir/tmp/t/tmp3HtdLI/4394cdc0b62a3c10'] 2019-03-14 04:51:34,708 - root: [DEBUG] Found shard_json_files: ['/b/s/w/ir/tmp/t/tmp3HtdLI/4394cdc0b62a3c10/output.json'] 2019-03-14 04:51:34,708 - root: [INFO] merge_cmd: /b/s/w/ir/cache/vpython/95f307/bin/python /b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py --summary-json /b/s/w/ir/tmp/t/tmpfBHfgv.json --task-output-dir /b/s/w/ir/tmp/t/tmp3HtdLI -o /b/s/w/ir/tmp/t/tmp_Q8Flk.json Running ['/b/s/w/ir/cache/vpython/95f307/bin/python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--summary-json', '/b/s/w/ir/tmp/t/tmpfBHfgv.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmp3HtdLI', '-o', '/b/s/w/ir/tmp/t/tmp_Q8Flk.json'] in None (env: None) Command ['/b/s/w/ir/cache/vpython/95f307/bin/python', '/b/s/w/ir/kitchen-checkout/build/scripts/slave/recipe_modules/chromium_swarming/resources/noop_merge.py', '--summary-json', '/b/s/w/ir/tmp/t/tmpfBHfgv.json', '--task-output-dir', '/b/s/w/ir/tmp/t/tmp3HtdLI', '-o', '/b/s/w/ir/tmp/t/tmp_Q8Flk.json'] returned exit code 0