{"action":"opened","issue":{"url":"https://api.github.com/repos/pantsbuild/pants/issues/1612","labels_url":"https://api.github.com/repos/pantsbuild/pants/issues/1612/labels{/name}","comments_url":"https://api.github.com/repos/pantsbuild/pants/issues/1612/comments","events_url":"https://api.github.com/repos/pantsbuild/pants/issues/1612/events","html_url":"https://github.com/pantsbuild/pants/issues/1612","id":82568510,"number":1612,"title":"Error message from Zinc: No processor claimed any of these annotations","user":{"login":"ericzundel","id":119728,"avatar_url":"https://avatars.githubusercontent.com/u/119728?v=3","gravatar_id":"","url":"https://api.github.com/users/ericzundel","html_url":"https://github.com/ericzundel","followers_url":"https://api.github.com/users/ericzundel/followers","following_url":"https://api.github.com/users/ericzundel/following{/other_user}","gists_url":"https://api.github.com/users/ericzundel/gists{/gist_id}","starred_url":"https://api.github.com/users/ericzundel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericzundel/subscriptions","organizations_url":"https://api.github.com/users/ericzundel/orgs","repos_url":"https://api.github.com/users/ericzundel/repos","events_url":"https://api.github.com/users/ericzundel/events{/privacy}","received_events_url":"https://api.github.com/users/ericzundel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T20:11:34Z","updated_at":"2015-05-29T20:11:34Z","closed_at":null,"body":"Captured from this discussion: https://groups.google.com/forum/#!topic/pants-devel/B7bEOQjiXDM\r\n\r\nWe are getting these errors on every build.\r\n\r\n```\r\nwarning: No processor claimed any of these annotations: com.squareup.multipass.client.webservice.CsrfToken,javax.ws.rs.Produces,com.squareup.sake.rpc.annotation.ServerPort,com.squareup.config.AppName,com.google.inject.Inject,javax.ws.rs.Path,com.squareup.webservice.security.annotations.AllowInsecure,com.squareup.service.container.rpc.annotation.ConsumedServices,com.squareup.webservice.security.annotations.AllowUnauthorized,com.squareup.service.container.webservice.annotation.ExposedWebResources,javax.ws.rs.Consumes,com.squareup.config.ConfigValue,com.squareup.service.container.Application,javax.ws.rs.HeaderParam,com.squareup.service.container.rpc.annotation.Incoming,javax.ws.rs.core.Context,org.junit.experimental.categories.Category,com.squareup.service.container.components.Component,com.squareup.service.container.rpc.annotation.CurrentUser,com.squareup.sake.rpc.annotation.CallHandlerMap,com.squareup.service.container.cronjobs.annotations.CronJobs,javax.ws.rs.PathParam,javax.ws.rs.GET,org.junit.runner.RunWith,javax.inject.Singleton,javax.inject.Inject,com.squareup.service.container.admin.AdminConsole,javax.inject.Qualifier,com.google.inject.servlet.RequestScoped,com.squareup.service.container.core.webservice.ServiceUriPaths,javax.annotation.Nullable,com.sun.jersey.spi.resource.Singleton,org.junit.Before,com.squareup.service.container.AdminResource,javax.ws.rs.POST,com.squareup.service.container.testing.ContainerTestRunner.App,com.squareup.service.container.rpc.server.RpcServerComponentModule.ServerConfig,org.junit.Test,com.squareup.service.container.persistence.annotation.Persistence,com.squareup.multipass.client.component.Multipass,com.google.inject.Provides,com.squareup.service.container.AppModules,com.google.common.annotations.VisibleForTesting,com.squareup.webservice.JettyThreadPool\r\n```\r\n\r\nSo I did a spot check. There is a processor for com.squareup.service.container.Application, and it is configured.\r\n\r\n```\r\n$ ./pants depmap <target>\r\n...\r\n\r\n                internal-service.container.annotation-processors.src.main.java.app-config-processor\r\n...\r\n```\r\n\r\nI see that with JMake and the twitter commons Compiler, there is a `-Tnowarnregex` option that was suppressing these before.   @stuhood reports that Twitter filed an internal bug for it.\r\n\r\nConsensus in the group discussion is that we should do something similar in zinc that we did with jmake.  Maybe this time build something into pants to ignore certain error message output instead of passing an argument to zinc.\r\n\r\n"}}