{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/barback/issues/61","labels_url":"https://api.github.com/repos/dart-lang/barback/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/barback/issues/61/comments","events_url":"https://api.github.com/repos/dart-lang/barback/issues/61/events","html_url":"https://github.com/dart-lang/barback/issues/61","id":85647757,"number":61,"title":"pub build failing","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/barback/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-06-05T22:30:35Z","updated_at":"2015-06-05T22:30:41Z","closed_at":null,"body":"_Originally opened as dart-lang/sdk#22444_\n\n*This issue was originally filed by ch...&#064;lashbrookdesigns.com*\n_____\n**What steps will reproduce the problem?**\n1.added a Timer.run line of code, specifically\n\nTimer.run(() =&gt; $[&quot;barcodeinput&quot;].focus());\n\nCommenting out this line allows the build to work. (Though it looks like the crash may be related to something in lawndart. ???) Execution of the code in Dartium works just fine.\n\n2. ran pub build from a command line\n\n**What is the expected output? What do you see instead?**\n\nBuild should complete. Build fails\n\n**What version of the product are you using?**\n\nDart SDK version 1.8.5\n\n**On what operating system?**\n\nWindows 8.1\n\n**What browser (if applicable)?**\n\nN/A\n\n**Please provide any additional information below.**\n\nHere is the output from the attempted build:\n\nLoading source assets...\nLoading polymer/src/build/mirrors_remover, code_transformers/src/delete_file, ob\nserve and smoke/src/default_transformer transformers...\nLoading polymer transformers...\nBuilding Lashbrook_Sales...\n[Warning from polymer (Linter) on Lashbrook_Sales|lib/views/app_view/app_view.ht\nml\\]:\nline 3, column 1 of lib\\views\\app_view\\app_view.html: Invalid URL to reach to an\nother package: packages/Lashbrook_Sales/views/app_view/rings_view.html. Path rea\nching to other packages must first reach up all the way to the packages director\ny. For example, try changing the URL to: ../../../../packages/Lashbrook_Sales/vi\news/app_view/rings_view.html. See http://goo.gl/5HPeuP#code_transformers_2 for d\netails.\n&lt;link rel=&quot;import&quot; href=&quot;packages/Lashbrook_Sales/views/app_view/rings_view.html\n&quot;&gt;\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n^^\n[Warning from polymer (Linter) on Lashbrook_Sales|lib/views/app_view/app_view.ht\nml\\]:\nline 4, column 1 of lib\\views\\app_view\\app_view.html: Invalid URL to reach to an\nother package: packages/Lashbrook_Sales/views/app_view/login_view.html. Path rea\nching to other packages must first reach up all the way to the packages director\ny. For example, try changing the URL to: ../../../../packages/Lashbrook_Sales/vi\news/app_view/login_view.html. See http://goo.gl/5HPeuP#code_transformers_2 for d\netails.\n&lt;link rel=&quot;import&quot; href=&quot;packages/Lashbrook_Sales/views/app_view/login_view.html\n&quot;&gt;\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n^^\n[Warning from polymer (Linter) on Lashbrook_Sales|lib/views/app_view/indexdb.htm\nl\\]:\nline 1, column 1 of lib\\views\\app_view\\indexdb.html: (from html5lib) Unexpected\nnon-space characters. Expected DOCTYPE. See http://goo.gl/5HPeuP#polymer_40 for\ndetails.\nimport 'dart:indexed_db' as idb;\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n[Warning from polymer (Linter) on Lashbrook_Sales|web/signature/PHPMailer-master\n/examples/contents.html\\]:\nline 1, column 1 of web\\signature\\PHPMailer-master\\examples\\contents.html: (from\n&nbsp;html5lib) Erroneous DOCTYPE. See http://goo.gl/5HPeuP#polymer_40 for details.\n&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.or\ng/TR/html4/loose.dtd&quot;&gt;\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n^^^^^^^^^^^^^^^^^^^^^^\n[Warning from polymer (Linter) on Lashbrook_Sales|lib/views/app_view/app_view.ht\nml\\]:\nline 10, column 5 of lib\\views\\app_view\\app_view.html: custom element with name\n&quot;login-view&quot; not found. See http://goo.gl/5HPeuP#polymer_11 for details.\n&lt;login-view&gt;\n^^^^^^^^^^^^\n[Warning from polymer (Linter) on Lashbrook_Sales|lib/views/app_view/app_view.ht\nml\\]:\nline 13, column 5 of lib\\views\\app_view\\app_view.html: custom element with name\n&quot;rings-view&quot; not found. See http://goo.gl/5HPeuP#polymer_11 for details.\n&lt;rings-view&gt;\n^^^^^^^^^^^^\n[Warning from polymer (BuildFilter) on Lashbrook_Sales|web/signature/PHPMailer-m\naster/examples/contents.html\\]:\nline 1, column 1 of web\\signature\\PHPMailer-master\\examples\\contents.html: (from\n&nbsp;html5lib) Erroneous DOCTYPE. See http://goo.gl/5HPeuP#polymer_40 for details.\n&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.or\ng/TR/html4/loose.dtd&quot;&gt;\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n^^^^^^^^^^^^^^^^^^^^^^\n[Info from Dart2JS\\]:\nCompiling Lashbrook_Sales|web/index.html_bootstrap.dart...\n[Dart2JS on Lashbrook_Sales|web/index.html_bootstrap.dart\\]:\n1 warning(s) suppressed in package:lawndart.\nExhausted heap space, trying to allocate 536720 bytes.\n[Error from Dart2JS\\]:\nweb\\index.html_bootstrap.dart:\nThe compiler crashed when compiling this element.\nThe compiler is broken.\n\nWhen compiling the above element, the compiler crashed. It is not\npossible to tell if this is caused by a problem in your program or\nnot. Regardless, the compiler should not crash.\n\nThe Dart team would greatly appreciate if you would take a moment to\nreport this problem at http://dartbug.com/new.\n\nPlease include the following information:\n\n\\* the name and version of your operating system,\n\n\\* the Dart SDK build number (build number could not be determined), and\n\n\\* the entire message you see here (including the full stack trace\n&nbsp;&nbsp;below as well as the source location above).\n\nBuild error:\nTransform Dart2JS on Lashbrook_Sales|web/index.html_bootstrap.dart threw error:\nOut of Memory\ne:\\b\\build\\slave\\dart-editor-win-stable\\build\\dart\\pkg\\compiler\\lib\\src\\compiler\n.dart 1162                     Compiler.run.&lt;fn&gt;\ndart:async\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\_Future._propagateToListeners.handleError\ne:\\b\\build\\slave\\dart-editor-win-stable\\build\\dart\\pkg\\compiler\\lib\\src\\js_emitt\ner\\code_emitter_task.dart 344  CodeEmitterTask.assembleProgram.&lt;fn&gt;\n.\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...\n.\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...\ndart:isolate\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\\_RawReceivePortImpl._handleMessage\nBuild failed.\n\n"},"comment":{"url":"https://api.github.com/repos/dart-lang/barback/issues/comments/109465187","html_url":"https://github.com/dart-lang/barback/issues/61#issuecomment-109465187","issue_url":"https://api.github.com/repos/dart-lang/barback/issues/61","id":109465187,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:30:41Z","updated_at":"2015-06-05T22:30:41Z","body":"<a href=\"https://github.com/iposva-google\"><img src=\"https://avatars.githubusercontent.com/u/5449880?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [iposva-google](https://github.com/iposva-google)**\n\n----\n\nContext is the context of a closure, meaning all of the captured state such as variables which needs to be available when the closure is called and executes.\n\nThe code of closures is shared, which is why you are not seeing that grow.\n"}}