{"action":"closed","issue":{"url":"https://api.github.com/repos/erlio/vmq_diversity/issues/12","repository_url":"https://api.github.com/repos/erlio/vmq_diversity","labels_url":"https://api.github.com/repos/erlio/vmq_diversity/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/erlio/vmq_diversity/issues/12/comments","events_url":"https://api.github.com/repos/erlio/vmq_diversity/issues/12/events","html_url":"https://github.com/erlio/vmq_diversity/issues/12","id":172063655,"number":12,"title":"compile error:  error in parse transform 'lager_transform'","user":{"login":"TangMonk","id":3498786,"avatar_url":"https://avatars.githubusercontent.com/u/3498786?v=3","gravatar_id":"","url":"https://api.github.com/users/TangMonk","html_url":"https://github.com/TangMonk","followers_url":"https://api.github.com/users/TangMonk/followers","following_url":"https://api.github.com/users/TangMonk/following{/other_user}","gists_url":"https://api.github.com/users/TangMonk/gists{/gist_id}","starred_url":"https://api.github.com/users/TangMonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TangMonk/subscriptions","organizations_url":"https://api.github.com/users/TangMonk/orgs","repos_url":"https://api.github.com/users/TangMonk/repos","events_url":"https://api.github.com/users/TangMonk/events{/privacy}","received_events_url":"https://api.github.com/users/TangMonk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-19T06:31:04Z","updated_at":"2016-08-19T07:29:43Z","closed_at":"2016-08-19T07:29:43Z","body":"When I run rebar3 compile in project root:\r\n\r\n```\r\n===> Verifying dependencies...\r\n===> Fetching clique ({pkg,<<\"clique\">>,<<\"3.0.1\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/clique-3.0.1.tar\r\n===> Fetching emysql ({git,\"git://github.com/djustinek/Emysql.git\",\r\n                                 {ref,\r\n                                     \"fa7c94b5237a56cec6d75c3d3b1e51060426e099\"}})\r\n===> Fetching epgsql ({pkg,<<\"epgsql\">>,<<\"3.1.1\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/epgsql-3.1.1.tar\r\n===> Fetching eredis ({pkg,<<\"eredis\">>,<<\"1.0.8\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/eredis-1.0.8.tar\r\n===> Fetching hackney ({pkg,<<\"hackney\">>,<<\"1.6.0\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/hackney-1.6.0.tar\r\n===> Fetching jsx ({pkg,<<\"jsx\">>,<<\"2.8.0\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/jsx-2.8.0.tar\r\n===> Fetching lager ({pkg,<<\"lager\">>,<<\"3.0.2\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/lager-3.0.2.tar\r\n===> Fetching luerl ({git,\"git://github.com/rvirding/luerl.git\",\r\n                                 {ref,\"efe7474291398e4a20bc3701f49bb17c167b1050\"}})\r\n===> Fetching mcd ({git,\"git://github.com/EchoTeam/mcd.git\",\r\n                               {ref,\"b5b4a32ef2c9e2f6a4faa992536cb3da3548e0f8\"}})\r\n===> Fetching mongodb ({git,\r\n                                  \"git://github.com/comtihon/mongodb-erlang.git\",\r\n                                  {ref,\r\n                                      \"2ca204f97af6d12b08524378c99f9f14aecfd68e\"}})\r\n===> Package <<\"rebar_ct\">> not found. Fetching registry updates and trying again...\r\n===> Updating package registry...\r\n===> Writing registry to /Users/tangmonk/.cache/rebar3/hex/default/registry\r\n===> Generating package index...\r\n===> [cloudi_service_oauth1:1.5.1] Only existing version of cloudi_service_db_riak is 1.3.3 which does not match constraint ~> 1.5.1. Using anyway, but it is not guaranteed to work.\r\n===> Writing index to /Users/tangmonk/.cache/rebar3/hex/default/packages.idx\r\n===> Plugin rebar_ct not available. It will not be used.\r\n===> Fetching poolboy ({pkg,<<\"poolboy\">>,<<\"1.5.1\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/poolboy-1.5.1.tar\r\n===> Fetching vmq_commons ({git,\r\n                                   \"git://github.com/erlio/vmq_commons.git\",\r\n                                   {ref,\r\n                                    \"63e9a0ed9d2b1c433ee292806e188d3578388d4b\"}})\r\n===> Fetching bson ({git,\"git://github.com/vintenove/bson-erlang\",\r\n                                {ref,\"01bd54a53112e5f2615f7ecb382f0cbf148bb7ce\"}})\r\n===> Fetching certifi ({pkg,<<\"certifi\">>,<<\"0.4.0\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/certifi-0.4.0.tar\r\n===> Fetching corman ({git,\"git://github.com/EchoTeam/corman.git\",\r\n                                 {ref,\r\n                                     \"1c1ae1c0aa97ed1976d9042ac9fb805b51214661\"}})\r\n===> Fetching cuttlefish ({pkg,<<\"cuttlefish\">>,<<\"2.0.7\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/cuttlefish-2.0.7.tar\r\n===> Fetching dht_ring ({git,\"git://github.com/EchoTeam/dht_ring.git\",\r\n                                   {ref,\r\n                                       \"d5b880ad76aefc81547dbb76b48a97a01d52ff41\"}})\r\n===> Fetching goldrush ({pkg,<<\"goldrush\">>,<<\"0.1.7\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/goldrush-0.1.7.tar\r\n===> Fetching idna ({pkg,<<\"idna\">>,<<\"1.2.0\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/idna-1.2.0.tar\r\n===> Fetching metrics ({pkg,<<\"metrics\">>,<<\"1.0.1\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/metrics-1.0.1.tar\r\n===> Fetching mimerl ({pkg,<<\"mimerl\">>,<<\"1.0.2\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/mimerl-1.0.2.tar\r\n===> Fetching pbkdf2 ({git,\r\n                                 \"https://github.com/basho/erlang-pbkdf2.git\",\r\n                                 {ref,\r\n                                     \"7076584f5377e98600a7e2cb81980b2992fb2f71\"}})\r\n===> Fetching ssl_verify_fun ({pkg,<<\"ssl_verify_fun\">>,<<\"1.1.0\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/ssl_verify_fun-1.1.0.tar\r\n===> Fetching getopt ({pkg,<<\"getopt\">>,<<\"0.8.2\">>})\r\n===> Downloaded package, caching at /Users/tangmonk/.cache/rebar3/hex/default/packages/getopt-0.8.2.tar\r\n===> Compiling vmq_commons\r\n===> Compiling goldrush\r\n===> Compiling lager\r\n===> Compiling getopt\r\n===> Compiling cuttlefish\r\n===> Compiling /Users/tangmonk/Downloads/vmq_diversity/_build/default/lib/cuttlefish/src/lager_stderr_backend.erl failed\r\n/Users/tangmonk/Downloads/vmq_diversity/_build/default/lib/cuttlefish/src/lager_stderr_backend.erl:none: error in parse transform 'lager_transform': {function_clause,\r\n                                             [{lager_transform,\r\n                                               '-walk_ast/2-fun-0-',\r\n                                               [{typed_record_field,\r\n                                                 {record_field,27,\r\n                                                  {atom,27,level}},\r\n                                                 {type,27,tuple,\r\n                                                  [{atom,27,mask},\r\n                                                   {type,27,integer,[]}]}}],\r\n                                               [{file,\r\n                                                 \"/Users/tangmonk/Downloads/vmq_diversity/_build/default/lib/lager/src/lager_transform.erl\"},\r\n                                                {line,62}]},\r\n                                              {lists,map,2,\r\n                                               [{file,\"lists.erl\"},\r\n                                                {line,1239}]},\r\n                                              {lager_transform,walk_ast,2,\r\n                                               [{file,\r\n                                                 \"/Users/tangmonk/Downloads/vmq_diversity/_build/default/lib/lager/src/lager_transform.erl\"},\r\n                                                {line,62}]},\r\n                                              {compile,\r\n                                               '-foldl_transform/2-anonymous-2-',\r\n                                               2,\r\n                                               [{file,\"compile.erl\"},\r\n                                                {line,958}]},\r\n                                              {compile,foldl_transform,2,\r\n                                               [{file,\"compile.erl\"},\r\n                                                {line,960}]},\r\n                                              {compile,\r\n                                               '-internal_comp/4-anonymous-1-',\r\n                                               2,\r\n                                               [{file,\"compile.erl\"},\r\n                                                {line,315}]},\r\n                                              {compile,fold_comp,3,\r\n                                               [{file,\"compile.erl\"},\r\n                                                {line,341}]},\r\n                                              {compile,internal_comp,4,\r\n                                               [{file,\"compile.erl\"},\r\n                                                {line,325}]}]}\r\n```"}}
{"actor":{"display_login":"TangMonk"}}