{"action":"closed","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/95","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/95/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/95/events","html_url":"https://github.com/pantsbuild/pants/issues/95","id":32584795,"number":95,"title":"Scala compiler fails with scala.tools.nsc.symtab.Types$TypeError: class file needed by package is missing error.","user":{"login":"tejal29","id":1534539,"avatar_url":"https://avatars.githubusercontent.com/u/1534539?v=3","gravatar_id":"","url":"https://api.github.com/users/tejal29","html_url":"https://github.com/tejal29","followers_url":"https://api.github.com/users/tejal29/followers","following_url":"https://api.github.com/users/tejal29/following{/other_user}","gists_url":"https://api.github.com/users/tejal29/gists{/gist_id}","starred_url":"https://api.github.com/users/tejal29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejal29/subscriptions","organizations_url":"https://api.github.com/users/tejal29/orgs","repos_url":"https://api.github.com/users/tejal29/repos","events_url":"https://api.github.com/users/tejal29/events{/privacy}","received_events_url":"https://api.github.com/users/tejal29/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"tejal29","id":1534539,"avatar_url":"https://avatars.githubusercontent.com/u/1534539?v=3","gravatar_id":"","url":"https://api.github.com/users/tejal29","html_url":"https://github.com/tejal29","followers_url":"https://api.github.com/users/tejal29/followers","following_url":"https://api.github.com/users/tejal29/following{/other_user}","gists_url":"https://api.github.com/users/tejal29/gists{/gist_id}","starred_url":"https://api.github.com/users/tejal29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejal29/subscriptions","organizations_url":"https://api.github.com/users/tejal29/orgs","repos_url":"https://api.github.com/users/tejal29/repos","events_url":"https://api.github.com/users/tejal29/events{/privacy}","received_events_url":"https://api.github.com/users/tejal29/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2014-04-30T23:54:26Z","updated_at":"2015-11-10T04:16:32Z","closed_at":"2015-11-10T04:16:32Z","body":"We have seen irregularities on pants compile on the order in which they are build at twitter.\r\n\r\nRunning a target locally on a clean env succeeds. However, if you run the same target after a particular target, it fails.\r\n\r\nAt Twitter: \r\nRun the sequence.\r\n1. ./pants goal clean-all\r\n2. ./pants goal test platform-analytics/tvmetrics/BUILD:tests \r\n3. ./pants goal test  tweetypie/console/BUILD:bin  Fails.\r\n\r\nHowever,  ./pants goal test  clean-all tweetypie/console/BUILD:bin succeeds.\r\n\r\nIf, i remove the classes generated by \"platform-analytics/tvmetrics/BUILD:tests\" in .pants.d/scalac/classes which refer to the object below, the compilation succeeds. \r\n\r\n```\r\n[info] Compiling 63 Scala sources to /data/jenkins/workspace/birdcage_sandbox_turbo_pants/SHARD_NUM/5/jdk/jdk7/slave/medium/.pants.d/scalac/classes...\r\n05:35:33                          scala.tools.nsc.symtab.Types$TypeError: class file needed by package is missing.\r\n05:35:33                          reference value storehaus of package com.twitter refers to nonexisting symbol.\r\n....\r\n05:35:33                          exception when typing com.twitter.tsar.query.cardsinsights\r\n05:35:33                          class file needed by package is missing.\r\n05:35:33                          reference value storehaus of package com.twitter refers to nonexisting symbol. in file null\r\n```"}}