Skip to content

Instantly share code, notes, and snippets.

@knewter
Created April 10, 2014 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knewter/10332168 to your computer and use it in GitHub Desktop.
Save knewter/10332168 to your computer and use it in GitHub Desktop.
failure to deploy beam toolbox to heroku, take 1
[jadams:~/elixir/beam_toolbox] feature/heroku+ ± git push heroku feature/heroku:master
Initializing repository, done.
Counting objects: 397, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (322/322), done.
Writing objects: 100% (397/397), 49.45 KiB | 0 bytes/s, done.
Total 397 (delta 171), reused 89 (delta 26)
-----> Fetching custom git buildpack... done
-----> elixir app detected
-----> Checking Erlang, Elixir and Rebar versions
Will use the following versions:
* Erlang branch
* Elixir branch master
* Rebar tag 2.2.0
Downloading Erlang package
-----> Fetching Erlang branch master
-----> Installing Erlang branch
-----> Downloading rebar tag 2.2.0
-----> Unpacking rebar tag 2.2.0
-----> Building rebar tag 2.2.0
Recompile: src/rebar
Recompile: src/rebar_abnfc_compiler
Recompile: src/rebar_app_utils
Recompile: src/rebar_appups
Recompile: src/rebar_asn1_compiler
Recompile: src/rebar_base_compiler
Recompile: src/rebar_cleaner
Recompile: src/rebar_config
src/rebar_config.erl:43: Warning: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/rebar_config.erl:44: Warning: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/rebar_config.erl:46: Warning: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
src/rebar_config.erl:47: Warning: type dict/0 is deprecated and will be removed in OTP 18.0; use dict:dict/0
Recompile: src/rebar_core
Recompile: src/rebar_ct
Recompile: src/rebar_deps
Recompile: src/rebar_dia_compiler
Recompile: src/rebar_edoc
Recompile: src/rebar_erlc_compiler
Recompile: src/rebar_erlydtl_compiler
Recompile: src/rebar_escripter
Recompile: src/rebar_eunit
Recompile: src/rebar_file_utils
Recompile: src/rebar_getopt
Recompile: src/rebar_lfe_compiler
Recompile: src/rebar_log
Recompile: src/rebar_mustache
Recompile: src/rebar_neotoma_compiler
Recompile: src/rebar_otp_app
Recompile: src/rebar_port_compiler
Recompile: src/rebar_protobuffs_compiler
Recompile: src/rebar_qc
Recompile: src/rebar_rel_utils
Recompile: src/rebar_reltool
Recompile: src/rebar_require_vsn
Recompile: src/rebar_shell
Recompile: src/rebar_subdirs
Recompile: src/rebar_templater
Recompile: src/rebar_upgrade
Recompile: src/rebar_utils
Recompile: src/rebar_xref
==> rebar (compile)
==> rebar (escriptize)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
-----> Copying rebar
-----> Downloading source from Github
-----> Unpacking Elixir branch master
-----> Building Elixir from source
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_module.erl
Compiled src/elixir_try.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_import.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_counter.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_map.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_aliases.erl
Compiled src/elixir_def.erl
Compiled src/elixir_for.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_env.erl
Compiled src/elixir.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/record.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
error: {badarg,
{'Elixir.Macro.Env','Elixir.Inspect.Algebra',
<<"/app/tmp/cache/elixir/lib/elixir/lib/inspect/algebra.ex">>,
169,
{concat,2},
guard,
['Elixir.Kernel','Elixir.Kernel.Typespec'],
[],
[{'Elixir.Kernel',
[{'!=',2},
{'!==',2},
{'*',2},
{'+',1},
{'+',2},
{'++',2},
{'-',1},
{'-',2},
{'--',2},
{'/',2},
{'<',2},
{'<=',2},
{'==',2},
{'===',2},
{'=~',2},
{'>',2},
{'>=',2},
{abs,1},
{apply,2},
{apply,3},
{atom_to_binary,1},
{atom_to_list,1},
{binary_part,3},
{binary_to_atom,1},
{binary_to_existing_atom,1},
{binary_to_float,1},
{binary_to_integer,1},
{binary_to_integer,2},
{bit_size,1},
{bitstring_to_list,1},
{byte_size,1},
{'div',2},
{elem,2},
{exit,1},
{float_to_binary,1},
{float_to_binary,2},
{float_to_list,1},
{float_to_list,2},
{'function_exported?',3},
{hd,1},
{inspect,1},
{inspect,2},
{integer_to_binary,1},
{integer_to_binary,2},
{integer_to_list,1},
{integer_to_list,2},
{iolist_size,1},
{iolist_to_binary,1},
{is_atom,1},
{is_binary,1},
{is_bitstring,1},
{is_boolean,1},
{is_float,1},
{is_function,1},
{is_function,2},
{is_integer,1},
{is_list,1},
{is_map,1},
{is_number,1},
{is_pid,1},
{is_port,1},
{is_reference,1},
{is_tuple,1},
{length,1},
{list_to_atom,1},
{list_to_bitstring,1},
{list_to_existing_atom,1},
{list_to_float,1},
{list_to_integer,1},
{list_to_integer,2},
{list_to_tuple,1},
{'macro_exported?',3},
{make_ref,0},
{map_size,1},
{max,2},
{min,2},
{node,0},
{node,1},
{'not',1},
{'rem',2},
{round,1},
{self,0},
{send,2},
{set_elem,3},
{size,1},
{spawn,1},
{spawn,3},
{spawn_link,1},
{spawn_link,3},
{throw,1},
{tl,1},
{trunc,1},
{tuple_size,1},
{tuple_to_list,1},
{'xor',2}]}],
[{'Elixir.Kernel',
[{'!',1},
{'&&',2},
{'..',2},
{'<>',2},
{'@',1},
{access,2},
{'alias!',1},
{'and',2},
{binding,0},
{binding,1},
{binding,2},
{'cond',1},
{def,1},
{def,2},
{defdelegate,2},
{defexception,2},
{defexception,3},
{defimpl,2},
{defimpl,3},
{defmacro,1},
{defmacro,2},
{defmacrop,1},
{defmacrop,2},
{defmodule,2},
{defoverridable,1},
{defp,1},
{defp,2},
{defprotocol,2},
{defrecord,2},
{defrecord,3},
{defrecordp,2},
{defrecordp,3},
{defstruct,1},
{destructure,2},
{'if',2},
{in,2},
{is_exception,1},
{is_record,1},
{is_record,2},
{'match?',2},
{'nil?',1},
{'or',2},
{raise,1},
{raise,2},
{raise,3},
{sigil_C,2},
{sigil_R,2},
{sigil_S,2},
{sigil_W,2},
{sigil_c,2},
{sigil_r,2},
{sigil_s,2},
{sigil_w,2},
{to_char_list,1},
{to_string,1},
{unless,2},
{use,1},
{use,2},
{'var!',1},
{'var!',2},
{'|>',2},
{'||',2}]}],
[],
['Elixir.Inspect.Algebra'],
[{x,nil},{y,nil}],
nil,nil,nil}}
stacktrace: [{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,647}]},
{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,262}]},
{'Elixir.Inspect.Algebra',is_doc,1,
[{file,
"/app/tmp/cache/elixir/lib/elixir/lib/inspect/algebra.ex"},
{line,169}]},
{'Elixir.Inspect.Algebra',concat,2,
[{file,
"/app/tmp/cache/elixir/lib/elixir/lib/inspect/algebra.ex"},
{line,169}]},
{'Elixir.Kernel','and',2,
[{file,
"/app/tmp/cache/elixir/lib/elixir/lib/inspect/algebra.ex"},
{line,169}]},
{'Elixir.Inspect.Algebra',concat,2,
[{file,
"/app/tmp/cache/elixir/lib/elixir/lib/inspect/algebra.ex"},
{line,169}]}]
make: *** [lib/elixir/ebin/Elixir.Kernel.beam] Error 1
-----> Installing Elixir branch master
-----> Fetching app dependencies with mix
{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["/tmp/build_0e5b9423-8f75-4691-942d-d7fb955d0f4e/.platform_tools/elixir/bin/mix","deps.get"]],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
! Push rejected, failed to compile elixir app
To git@heroku.com:gentle-citadel-9402.git
! [remote rejected] feature/heroku -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:gentle-citadel-9402.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment