{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/3098","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3098/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3098/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3098/events","html_url":"https://github.com/bazelbuild/bazel/issues/3098","id":232909397,"number":3098,"title":"Exceeding rule attribute indices","user":{"login":"abergmeier-dsfishlabs","id":20398368,"avatar_url":"https://avatars0.githubusercontent.com/u/20398368?v=3","gravatar_id":"","url":"https://api.github.com/users/abergmeier-dsfishlabs","html_url":"https://github.com/abergmeier-dsfishlabs","followers_url":"https://api.github.com/users/abergmeier-dsfishlabs/followers","following_url":"https://api.github.com/users/abergmeier-dsfishlabs/following{/other_user}","gists_url":"https://api.github.com/users/abergmeier-dsfishlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/abergmeier-dsfishlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abergmeier-dsfishlabs/subscriptions","organizations_url":"https://api.github.com/users/abergmeier-dsfishlabs/orgs","repos_url":"https://api.github.com/users/abergmeier-dsfishlabs/repos","events_url":"https://api.github.com/users/abergmeier-dsfishlabs/events{/privacy}","received_events_url":"https://api.github.com/users/abergmeier-dsfishlabs/received_events","type":"User","site_admin":false},"labels":[{"id":192364241,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/P3","name":"P3","color":"fbca04","default":false},{"id":106503259,"url":"https://api.github.com/repos/bazelbuild/bazel/labels/type:%20bug","name":"type: bug","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":{"login":"laurentlb","id":485572,"avatar_url":"https://avatars1.githubusercontent.com/u/485572?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentlb","html_url":"https://github.com/laurentlb","followers_url":"https://api.github.com/users/laurentlb/followers","following_url":"https://api.github.com/users/laurentlb/following{/other_user}","gists_url":"https://api.github.com/users/laurentlb/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentlb/subscriptions","organizations_url":"https://api.github.com/users/laurentlb/orgs","repos_url":"https://api.github.com/users/laurentlb/repos","events_url":"https://api.github.com/users/laurentlb/events{/privacy}","received_events_url":"https://api.github.com/users/laurentlb/received_events","type":"User","site_admin":false},"assignees":[{"login":"laurentlb","id":485572,"avatar_url":"https://avatars1.githubusercontent.com/u/485572?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentlb","html_url":"https://github.com/laurentlb","followers_url":"https://api.github.com/users/laurentlb/followers","following_url":"https://api.github.com/users/laurentlb/following{/other_user}","gists_url":"https://api.github.com/users/laurentlb/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentlb/subscriptions","organizations_url":"https://api.github.com/users/laurentlb/orgs","repos_url":"https://api.github.com/users/laurentlb/repos","events_url":"https://api.github.com/users/laurentlb/events{/privacy}","received_events_url":"https://api.github.com/users/laurentlb/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-06-01T15:01:42Z","updated_at":"2017-06-02T07:36:39Z","closed_at":null,"body":"### Description of the problem / feature request / question:\r\n\r\nJust hit that error:\r\n\r\n    java.lang.AssertionError: can't pack 320 rule indices into bytes\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer.<init>(AttributeContainer.java:67)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer.<init>(AttributeContainer.java:59)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer$1.apply(AttributeContainer.java:233)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer$1.apply(AttributeContainer.java:230)\r\n\tat com.google.devtools.build.lib.rules.SkylarkRuleClassFunctions$RuleFunction.call(SkylarkRuleClassFunctions.java:711)\r\n\tat com.google.devtools.build.lib.syntax.BaseFunction.call(BaseFunction.java:428)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.callFunction(FuncallExpression.java:739)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.invokeGlobalFunction(FuncallExpression.java:725)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.doEval(FuncallExpression.java:702)\r\n\tat com.google.devtools.build.lib.syntax.Expression.eval(Expression.java:43)\r\n\tat com.google.devtools.build.lib.syntax.UserDefinedFunction.call(UserDefinedFunction.java:79)\r\n\tat com.google.devtools.build.lib.syntax.BaseFunction.call(BaseFunction.java:428)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.callFunction(FuncallExpression.java:739)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.invokeGlobalFunction(FuncallExpression.java:725)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.doEval(FuncallExpression.java:702)\r\n\tat com.google.devtools.build.lib.syntax.Expression.eval(Expression.java:43)\r\n\tat com.google.devtools.build.lib.syntax.ExpressionStatement.doExec(ExpressionStatement.java:40)\r\n\tat com.google.devtools.build.lib.syntax.Statement.exec(Statement.java:31)\r\n\tat com.google.devtools.build.lib.syntax.BuildFileAST.execTopLevelStatement(BuildFileAST.java:224)\r\n\tat com.google.devtools.build.lib.syntax.BuildFileAST.exec(BuildFileAST.java:197)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.prefetchGlobs(PackageFactory.java:1780)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.createPackageFromPreprocessingAst(PackageFactory.java:1341)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.loadPackage(PackageFunction.java:1216)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.compute(PackageFunction.java:510)\r\n\tat com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:398)\r\n\tat com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:497)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n    java.lang.AssertionError: can't pack 320 rule indices into bytes\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer.<init>(AttributeContainer.java:67)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer.<init>(AttributeContainer.java:59)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer$1.apply(AttributeContainer.java:233)\r\n\tat com.google.devtools.build.lib.packages.AttributeContainer$1.apply(AttributeContainer.java:230)\r\n\tat com.google.devtools.build.lib.rules.SkylarkRuleClassFunctions$RuleFunction.call(SkylarkRuleClassFunctions.java:711)\r\n\tat com.google.devtools.build.lib.syntax.BaseFunction.call(BaseFunction.java:428)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.callFunction(FuncallExpression.java:739)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.invokeGlobalFunction(FuncallExpression.java:725)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.doEval(FuncallExpression.java:702)\r\n\tat com.google.devtools.build.lib.syntax.Expression.eval(Expression.java:43)\r\n\tat com.google.devtools.build.lib.syntax.UserDefinedFunction.call(UserDefinedFunction.java:79)\r\n\tat com.google.devtools.build.lib.syntax.BaseFunction.call(BaseFunction.java:428)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.callFunction(FuncallExpression.java:739)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.invokeGlobalFunction(FuncallExpression.java:725)\r\n\tat com.google.devtools.build.lib.syntax.FuncallExpression.doEval(FuncallExpression.java:702)\r\n\tat com.google.devtools.build.lib.syntax.Expression.eval(Expression.java:43)\r\n\tat com.google.devtools.build.lib.syntax.ExpressionStatement.doExec(ExpressionStatement.java:40)\r\n\tat com.google.devtools.build.lib.syntax.Statement.exec(Statement.java:31)\r\n\tat com.google.devtools.build.lib.syntax.BuildFileAST.execTopLevelStatement(BuildFileAST.java:224)\r\n\tat com.google.devtools.build.lib.syntax.BuildFileAST.exec(BuildFileAST.java:197)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.prefetchGlobs(PackageFactory.java:1780)\r\n\tat com.google.devtools.build.lib.packages.PackageFactory.createPackageFromPreprocessingAst(PackageFactory.java:1341)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.loadPackage(PackageFunction.java:1216)\r\n\tat com.google.devtools.build.lib.skyframe.PackageFunction.compute(PackageFunction.java:510)\r\n\tat com.google.devtools.build.skyframe.ParallelEvaluator$Evaluate.run(ParallelEvaluator.java:398)\r\n\tat com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:497)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\nThis is probably due to my workaround here: https://stackoverflow.com/questions/43396925/emulate-string-to-label-dict/43472871\r\n\r\n### Environment info\r\n* Operating System: Ubuntu 16.04\r\n* Bazel version (output of `bazel info release`): 0.5.0\r\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/305713254","html_url":"https://github.com/bazelbuild/bazel/issues/3098#issuecomment-305713254","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/3098","id":305713254,"user":{"login":"laszlocsomor","id":10532244,"avatar_url":"https://avatars3.githubusercontent.com/u/10532244?v=3","gravatar_id":"","url":"https://api.github.com/users/laszlocsomor","html_url":"https://github.com/laszlocsomor","followers_url":"https://api.github.com/users/laszlocsomor/followers","following_url":"https://api.github.com/users/laszlocsomor/following{/other_user}","gists_url":"https://api.github.com/users/laszlocsomor/gists{/gist_id}","starred_url":"https://api.github.com/users/laszlocsomor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laszlocsomor/subscriptions","organizations_url":"https://api.github.com/users/laszlocsomor/orgs","repos_url":"https://api.github.com/users/laszlocsomor/repos","events_url":"https://api.github.com/users/laszlocsomor/events{/privacy}","received_events_url":"https://api.github.com/users/laszlocsomor/received_events","type":"User","site_admin":false},"created_at":"2017-06-02T07:36:39Z","updated_at":"2017-06-02T07:36:39Z","body":"@abergmeier-dsfishlabs : FYI @dslomov is out on vacation, maybe @laurentlb can answer"}}
{"actor":{"display_login":"laszlocsomor"}}