Skip to content

Instantly share code, notes, and snippets.

@chvanikoff
Last active June 23, 2016 14:49
Show Gist options
  • Save chvanikoff/c2d18739a9303006e5c425e73f1ee920 to your computer and use it in GitHub Desktop.
Save chvanikoff/c2d18739a9303006e5c425e73f1ee920 to your computer and use it in GitHub Desktop.
➜ elixir git:(416bf41) make clean test
cd lib/elixir && "/Users/chvanikoff/github/elixir/rebar" clean
==> elixir (clean)
rm -rf ebin
rm -rf lib/*/ebin
rm -rf lib/elixir/test/ebin
rm -rf lib/*/tmp
rm -rf lib/mix/test/fixtures/git_repo
rm -rf lib/mix/test/fixtures/deps_on_git_repo
rm -rf lib/mix/test/fixtures/git_rebar
rm -rf lib/elixir/src/elixir.app.src
/Applications/Xcode.app/Contents/Developer/usr/bin/make clean_man
rm -f man/elixir.1
rm -f man/iex.1
==> elixir (compile)
Compiled src/elixir_parser.yrl
Compiled src/elixir_aliases.erl
Compiled src/elixir.erl
Compiled src/elixir_bitstring.erl
Compiled src/elixir_bootstrap.erl
Compiled src/elixir_code_server.erl
Compiled src/elixir_config.erl
Compiled src/elixir_clauses.erl
Compiled src/elixir_def_defaults.erl
Compiled src/elixir_compiler.erl
Compiled src/elixir_def_overridable.erl
Compiled src/elixir_env.erl
Compiled src/elixir_dispatch.erl
Compiled src/elixir_def.erl
Compiled src/elixir_errors.erl
Compiled src/elixir_exp_clauses.erl
Compiled src/elixir_fn.erl
Compiled src/elixir_import.erl
Compiled src/elixir_exp.erl
Compiled src/elixir_for.erl
Compiled src/elixir_lexical.erl
Compiled src/elixir_locals.erl
Compiled src/elixir_map.erl
Compiled src/elixir_interpolation.erl
Compiled src/elixir_module.erl
Compiled src/elixir_rewrite.erl
Compiled src/elixir_scope.erl
Compiled src/elixir_sup.erl
Compiled src/elixir_quote.erl
Compiled src/elixir_translator.erl
Compiled src/elixir_try.erl
Compiled src/elixir_utils.erl
Compiled src/elixir_with.erl
Compiled src/elixir_tokenizer.erl
Compiled src/elixir_parser.erl
==> bootstrap (compile)
Compiled lib/elixir/lib/kernel.ex
Compiled lib/elixir/lib/macro/env.ex
Compiled lib/elixir/lib/keyword.ex
Compiled lib/elixir/lib/module.ex
Compiled lib/elixir/lib/list.ex
Compiled lib/elixir/lib/macro.ex
Compiled lib/elixir/lib/code.ex
Compiled lib/elixir/lib/module/locals_tracker.ex
Compiled lib/elixir/lib/kernel/typespec.ex
Compiled lib/elixir/lib/kernel/utils.ex
Compiled lib/elixir/lib/behaviour.ex
Compiled lib/elixir/lib/exception.ex
Compiled lib/elixir/lib/protocol.ex
Compiled lib/elixir/lib/stream/reducers.ex
Compiled lib/elixir/lib/enum.ex
Compiled lib/elixir/lib/inspect/algebra.ex
Compiled lib/elixir/lib/inspect.ex
Compiled lib/elixir/lib/range.ex
Compiled lib/elixir/lib/regex.ex
Compiled lib/elixir/lib/string.ex
Compiled lib/elixir/lib/string/chars.ex
Compiled lib/elixir/lib/io.ex
Compiled lib/elixir/lib/path.ex
Compiled lib/elixir/lib/file.ex
Compiled lib/elixir/lib/system.ex
Compiled lib/elixir/lib/kernel/cli.ex
Compiled lib/elixir/lib/kernel/error_handler.ex
Compiled lib/elixir/lib/kernel/parallel_compiler.ex
Compiled lib/elixir/lib/kernel/lexical_tracker.ex
==> elixir (compile)
warning: behaviour String.Chars undefined
lib/calendar.ex:292
warning: behaviour Inspect undefined
lib/calendar.ex:298
warning: the Dict module is deprecated
lib/hash_dict.ex:10
warning: behaviour String.Chars undefined
lib/calendar.ex:556
warning: behaviour String.Chars undefined
lib/calendar.ex:907
warning: behaviour String.Chars undefined
lib/calendar.ex:1212
Compiling lib/calendar/iso.ex (it's taking more than 5s)
==> unicode (compile)
Compiling unicode/unicode.ex (it's taking more than 5s)
==> elixir (compile)
==> eex (compile)
==> mix (compile)
Generated mix app
==> ex_unit (compile)
Generated ex_unit app
==> logger (compile)
Generated logger app
Generated eex app
==> iex (compile)
Generated iex app
==> elixir (eunit)
All 194 tests passed.
==> elixir (exunit)
warning: invalid function call
test/elixir/kernel/raise_test.exs:288
..............................................
1) test consolidated keeps callbacks (Protocol.ConsolidationTest)
test/elixir/protocol_test.exs:369
Assertion with != failed
code: callbacks != []
lhs: []
rhs: []
stacktrace:
test/elixir/protocol_test.exs:371: (test)
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2) test protocol defines callbacks (ProtocolTest)
test/elixir/protocol_test.exs:125
** (ArgumentError) argument error
stacktrace:
test/elixir/protocol_test.exs:187: ProtocolTest.get_callbacks/3
test/elixir/protocol_test.exs:126: (test)
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
3) test specs (BehaviourTest)
test/elixir/behaviour_test.exs:28
Assertion with == failed
code: length(Keyword.get_values(Sample.module_info()[:attributes], :callback)) == 7
lhs: 0
rhs: 7
stacktrace:
test/elixir/behaviour_test.exs:29: (test)
..............................................................................................................
4) test no warnings on valid remote calls (Kernel.DialyzerTest)
test/elixir/kernel/dialyzer_test.exs:51
remote_call.ex:0: The pattern #{'key':=_@1} can never match the type #{'a':=1}
remote_call.ex:0: The pattern #{'fun':=_@1} can never match the type 'Elixir.Hello'
remote_call.ex:0: The pattern #{'fun':=_@1} can never match the type atom() | tuple()
remote_call.ex:2: Function map_var/0 has no local return
stacktrace:
test/elixir/kernel/dialyzer_test.exs:53: (test)
5) test no warnings on raise (Kernel.DialyzerTest)
test/elixir/kernel/dialyzer_test.exs:61
raise.ex:2: Invalid type specification for function 'Elixir.Dialyzer.Raise':message/1. The success typing is (atom() | #{'message':=_, _=>_}) -> any()
raise.ex:2: The inferred type for the 1st argument of message/1 (atom() | #{'message':=_, _=>_}) is not a supertype of #{'__exception__':='true', '__struct__':=atom()}, which is expected type for this argument in the callback of the 'Elixir.Exception' behaviour
stacktrace:
test/elixir/kernel/dialyzer_test.exs:63: (test)
...................................................................................................................................................................................................................................................................................................................................................
Finished in 36.9 seconds (21.5s on load, 15.3s on tests)
3115 tests, 5 failures
Randomized with seed 536076
make: *** [test_stdlib] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment