Created
May 13, 2016 04:22
-
-
Save jisaacstone/e37d54a6946a6c55a35819901bc1b17f to your computer and use it in GitHub Desktop.
nerves first try
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ mix firmware | |
warning: the archive nerves_bootstrap requires Elixir "~> 1.2.4 or ~> 1.3" but you are running on v1.3.0-dev | |
Nerves Precompile Start | |
==> nerves_system | |
Compiled lib/nerves_system.ex | |
Compiled lib/mix/tasks/compress.nerves_system.ex | |
Compiled lib/nerves_system/exception.ex | |
Compiled lib/nerves_env/exception.ex | |
Compiled lib/nerves_system/provider.ex | |
Compiled lib/nerves_system/providers/none.ex | |
Compiled lib/nerves_system/config.ex | |
Compiled lib/mix/tasks/compile.nerves_system.ex | |
Compiled lib/nerves_system/providers/http.ex | |
Compiled lib/nerves_system/providers/local/stream.ex | |
Compiled lib/nerves_system/platform.ex | |
Compiled lib/nerves_system/providers/local.ex | |
Compiled lib/nerves_system/platforms/br.ex | |
Compiled lib/nerves_env.ex | |
Generated nerves_system app | |
===> Compiling idna | |
==> nerves_system_br | |
Generated nerves_system_br app | |
===> Compiling mimerl | |
===> Compiling metrics | |
==> porcelain | |
Compiled lib/porcelain/application.ex | |
Compiled lib/porcelain/exceptions.ex | |
Compiled lib/porcelain/init.ex | |
Compiled lib/porcelain/drivers/stream_server.ex | |
lib/porcelain/drivers/driver_common.ex:46: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/driver_common.ex:47: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
Compiled lib/porcelain/process.ex | |
lib/porcelain/drivers/driver_common.ex:169: warning: the variable "result" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain.ex:308: warning: the variable "good" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain.ex:348: warning: the variable "good" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
Compiled lib/porcelain/drivers/driver_common.ex | |
lib/porcelain/drivers/basic_driver.ex:80: warning: the variable "out_opt" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:77: warning: the variable "out_opt" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
Compiled lib/porcelain.ex | |
lib/porcelain/drivers/basic_driver.ex:124: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:124: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/basic_driver.ex:125: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:126: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:128: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:130: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:133: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/porcelain/drivers/goon_driver.ex:135: warning: the variable "ret" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
Compiled lib/porcelain/drivers/basic_driver.ex | |
Compiled lib/porcelain/drivers/goon_driver.ex | |
Generated porcelain app | |
===> Compiling ssl_verify_fun | |
===> Compiling certifi | |
===> Compiling hackney | |
lib/httpoison/base.ex:378: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:379: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:380: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:381: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:382: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:383: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:386: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
lib/httpoison/base.ex:389: warning: the variable "hn_options" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
==> httpoison | |
Compiled lib/httpoison/base.ex | |
lib/httpoison.ex:66: warning: the variable "url" is unsafe as it has been set in a conditional clause, as part of a case/cond/receive/if/&&/||. Please rewrite the clauses so the value is explicitly returned. For example: | |
case int do | |
1 -> atom = :one | |
2 -> atom = :two | |
end | |
Can be rewritten as: | |
atom = | |
case int do | |
1 -> :one | |
2 -> :two | |
end | |
Compiled lib/httpoison.ex | |
Generated httpoison app | |
==> nerves_toolchain | |
Compiled lib/mix/nerves_toolchain/utils.ex | |
Compiled lib/mix/tasks/compile.nerves_toolchain.ex | |
Generated nerves_toolchain app | |
==> nerves_toolchain_arm_unknown_linux_gnueabi | |
Compiled lib/nerves_toolchain_arm_unknown_linux_gnueabi.ex | |
Generated nerves_toolchain_arm_unknown_linux_gnueabi app | |
Compile Nerves toolchain | |
Downloading from Github Cache | |
Unpacking toolchain to build dir | |
==> nerves_system_rpi | |
Generated nerves_system_rpi app | |
[nerves_system][compile] | |
[nerves_system][http] Downloading system from cache | |
[nerves_system][http] No Available Mirrors | |
20:51:24.668 [debug] Compile System | |
could not compile dependency :nerves_system_rpi, "mix compile" failed. You can recompile this dependency with "mix deps.compile nerves_system_rpi", update it with "mix deps.update nerves_system_rpi" or clean it with "mix deps.clean nerves_system_rpi" | |
** (Nerves.System.Exception) The none compiler provider was unable to compile the nerves system | |
nocompile | |
lib/mix/tasks/compile.nerves_system.ex:92: Mix.Tasks.Compile.NervesSystem.compile_result/2 | |
lib/mix/tasks/compile.nerves_system.ex:66: Mix.Tasks.Compile.NervesSystem.build/0 | |
lib/mix/tasks/compile.nerves_system.ex:25: Mix.Tasks.Compile.NervesSystem.preflight/0 | |
(elixir) lib/enum.ex:1098: Enum."-map/2-lists^map/1-0-"/2 | |
(elixir) lib/enum.ex:1098: Enum."-map/2-lists^map/1-0-"/2 | |
(mix) lib/mix/tasks/compile.all.ex:19: anonymous fn/1 in Mix.Tasks.Compile.All.run/1 | |
(mix) lib/mix/tasks/compile.all.ex:37: Mix.Tasks.Compile.All.with_logger_app/1 | |
(mix) lib/mix/tasks/compile.ex:84: Mix.Tasks.Compile.run/1 | |
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ mix deps.compile nerves_system_rpi | |
warning: the archive nerves_bootstrap requires Elixir "~> 1.2.4 or ~> 1.3" but you are running on v1.3.0-dev | |
Nerves Precompile Start | |
===> Compiling idna | |
===> Compiling mimerl | |
===> Compiling metrics | |
===> Compiling ssl_verify_fun | |
===> Compiling certifi | |
===> Compiling hackney | |
==> nerves_toolchain_arm_unknown_linux_gnueabi | |
Compile Nerves toolchain | |
Nerves toolchain up to date | |
==> nerves_system_rpi | |
Generated nerves_system_rpi app | |
[nerves_system][compile] | |
[nerves_system][http] Downloading system from cache | |
[nerves_system][http] System Downloaded | |
[nerves_system][http] Unpacking System | |
==> blinky | |
Nerves Env loaded | |
Nerves Precompile End | |
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ mix firmware | |
warning: the archive nerves_bootstrap requires Elixir "~> 1.2.4 or ~> 1.3" but you are running on v1.3.0-dev | |
Nerves Precompile Start | |
Nerves Env current | |
Nerves Env loaded | |
Nerves Precompile End | |
===> Compiling cf | |
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace | |
===> When submitting a bug report, please include the output of `rebar3 report "your command"` | |
** (Mix) Could not compile dependency :erlware_commons, "/Users/jistone/.mix/rebar3 bare compile --paths "/Users/jistone/nerves/nerves-examples/blinky/_build/rpi/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile erlware_commons", update it with "mix deps.update erlware_commons" or clean it with "mix deps.clean erlware_commons" | |
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ mix deps.compile erlware_commons | |
warning: the archive nerves_bootstrap requires Elixir "~> 1.2.4 or ~> 1.3" but you are running on v1.3.0-dev | |
Nerves Precompile Start | |
Nerves Env current | |
Nerves Env loaded | |
Nerves Precompile End | |
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace | |
===> When submitting a bug report, please include the output of `rebar3 report "your command"` | |
** (Mix) Could not compile dependency :erlware_commons, "/Users/jistone/.mix/rebar3 bare compile --paths "/Users/jistone/nerves/nerves-examples/blinky/_build/rpi/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile erlware_commons", update it with "mix deps.update erlware_commons" or clean it with "mix deps.clean erlware_commons" | |
LM-SJC-11000504://j/n/n/blinky (nerves-examples:master) | |
$ DEBUG=1 /Users/jistone/.mix/rebar3 bare compile --paths "/Users/jistone/nerves/nerves-examples/blinky/_build/rpi/dev/lib/*/ebin" | |
===> Expanded command sequence to be run: [] | |
===> Expanded command sequence to be run: [{default,app_discovery}, | |
{bare,compile}] | |
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace | |
===> Uncaught error: {badmatch,[]} | |
===> Stack trace to the error location: [{rebar_prv_bare_compile,do,1, | |
[{file, | |
"/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar_prv_bare_compile.erl"}, | |
{line,45}]}, | |
{rebar_core,do,2, | |
[{file, | |
"/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar_core.erl"}, | |
{line,125}]}, | |
{rebar_prv_do,do_tasks,2, | |
[{file, | |
"/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar_prv_do.erl"}, | |
{line,68}]}, | |
{rebar_core,do,2, | |
[{file, | |
"/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar_core.erl"}, | |
{line,125}]}, | |
{rebar3,main,1, | |
[{file, | |
"/home/travis/build/rebar/rebar3/_build/default/lib/rebar/src/rebar3.erl"}, | |
{line,56}]}, | |
{escript,run,2, | |
[{file,"escript.erl"}, | |
{line,757}]}, | |
{escript,start,1, | |
[{file,"escript.erl"}, | |
{line,277}]}, | |
{init,start_it,1,[]}] | |
===> When submitting a bug report, please include the output of `rebar3 report "your command"` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment