Build log
nerves_system_rpi4
nerves_dev_server 0.1.0 · fail · run nerves_dev_server-0.1.0-1793132862766
397 of 397 lines
1Resolving Hex dependencies...2Resolution completed in 0.229s3Unchanged:4 bandit 1.14.05 castore 1.0.226 circular_buffer 1.1.07 elixir_make 0.10.18 hpax 1.1.09 interactive_cmd 0.1.410 logger_backends 1.0.111 mime 2.0.712 nerves 2.0.0-pre.313 nerves_dev_server 0.1.0 RETIRED!14 (deprecated) All functionality is now bundled with the VSCode extension.15 nerves_discovery 0.1.616 nerves_logging 0.2.417 nerves_motd 0.1.1718 nerves_runtime 0.13.1319 nerves_system_bbb 2.31.120 nerves_system_br 1.35.321 nerves_system_mangopi_mq_pro 0.18.122 nerves_system_qemu_aarch64 0.5.123 nerves_system_rpi0 2.2.124 nerves_system_rpi0_2 2.2.125 nerves_system_rpi4 2.2.126 nerves_system_rpi5 2.2.127 nerves_system_trellis 0.6.128 nerves_system_x86_64 1.35.129 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.130 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.131 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.132 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.133 nerves_toolchain_x86_64_nerves_linux_musl 15.3.134 nerves_uevent 0.1.835 phoenix 1.7.2436 phoenix_pubsub 2.4.137 phoenix_template 1.1.038 plug 1.20.339 plug_crypto 2.2.140 property_table 0.3.441 ring_logger 0.11.742 tablet 0.3.343 telemetry 1.4.244 thousand_island 1.6.045 toolshed 0.5.046 uboot_env 1.0.347 websock 0.5.348 websock_adapter 0.5.949* Getting nerves_dev_server (Hex package)50* Getting nerves (Hex package)51* Getting logger_backends (Hex package)52* Getting ring_logger (Hex package)53* Getting toolshed (Hex package)54* Getting nerves_runtime (Hex package)55* Getting nerves_system_bbb (Hex package)56* Getting nerves_system_mangopi_mq_pro (Hex package)57* Getting nerves_system_qemu_aarch64 (Hex package)58* Getting nerves_system_rpi0 (Hex package)59* Getting nerves_system_rpi0_2 (Hex package)60* Getting nerves_system_rpi4 (Hex package)61* Getting nerves_system_rpi5 (Hex package)62* Getting nerves_system_trellis (Hex package)63* Getting nerves_system_x86_64 (Hex package)64* Getting nerves_system_br (Hex package)65* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)66* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)67* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)68* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)69* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)70* Getting nerves_logging (Hex package)71* Getting nerves_uevent (Hex package)72* Getting uboot_env (Hex package)73* Getting elixir_make (Hex package)74* Getting property_table (Hex package)75* Getting circular_buffer (Hex package)76* Getting interactive_cmd (Hex package)77* Getting nerves_discovery (Hex package)78* Getting tablet (Hex package)79* Getting bandit (Hex package)80* Getting nerves_motd (Hex package)81* Getting phoenix (Hex package)82* Getting castore (Hex package)83* Getting phoenix_pubsub (Hex package)84* Getting phoenix_template (Hex package)85* Getting plug (Hex package)86* Getting plug_crypto (Hex package)87* Getting telemetry (Hex package)88* Getting websock_adapter (Hex package)89* Getting websock (Hex package)90* Getting mime (Hex package)91* Getting hpax (Hex package)92* Getting thousand_island (Hex package)93Found retired packages, see above for details94==> tablet95Compiling 2 files (.ex)96Generated tablet app97==> nerves_discovery98Compiling 5 files (.ex)99Generated nerves_discovery app100==> interactive_cmd101Compiling 1 file (.ex)102Generated interactive_cmd app103==> nerves104Compiling 65 files (.ex)105Generated nerves app106==> nerves_system_br107Generated nerves_system_br app108==> mime109Compiling 1 file (.ex)110Generated mime app111==> circular_buffer112Compiling 1 file (.ex)113Generated circular_buffer app114==> logger_backends115Compiling 7 files (.ex)116Generated logger_backends app117==> plug_crypto118Compiling 5 files (.ex)119Generated plug_crypto app120==> hpax121Compiling 4 files (.ex)122Generated hpax app123==> elixir_make124Compiling 8 files (.ex)125Generated elixir_make app126==> nerves_logging127 CC kmsg_tailer.o128 LD kmsg_tailer129Compiling 5 files (.ex)130Generated nerves_logging app131==> castore132Compiling 1 file (.ex)133Generated castore app134==> ring_logger135Compiling 7 files (.ex)136Generated ring_logger app137==> nerves_toolchain_aarch64_nerves_linux_gnu138Compiling 1 file (.ex)139Generated nerves_toolchain_aarch64_nerves_linux_gnu app140==> nerves_system_rpi4141Generated nerves_system_rpi4 app142==> phoenix_template143Compiling 4 files (.ex)144Generated phoenix_template app145==> nerves_compatibility_test146===> Analyzing applications...147===> Compiling telemetry148==> thousand_island149Compiling 18 files (.ex)150Generated thousand_island app151==> phoenix_pubsub152Compiling 13 files (.ex)153Generated phoenix_pubsub app154==> plug155Compiling 1 file (.erl)156Compiling 42 files (.ex)157Generated plug app158==> uboot_env159Compiling 5 files (.ex)160Generated uboot_env app161==> property_table162Compiling 8 files (.ex)163Generated property_table app164==> nerves_uevent165 CC uevent.o166 LD uevent167Compiling 5 files (.ex)168Generated nerves_uevent app169==> nerves_runtime170Compiling 14 files (.ex)171Generated nerves_runtime app172==> toolshed173Compiling 5 files (.ex)174Generated toolshed app175==> nerves_motd176Compiling 6 files (.ex)177Generated nerves_motd app178==> websock179Compiling 1 file (.ex)180Generated websock app181==> bandit182Compiling 54 files (.ex)183Generated bandit app184==> websock_adapter185Compiling 4 files (.ex)186Generated websock_adapter app187warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"188 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2189 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1190 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5191 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2192 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4193 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2194195==> phoenix196Compiling 71 files (.ex)197 warning: unused require Logger198 │199 9 │ require Logger200 │ ~201 │202 └─ lib/phoenix/config.ex:9:3203204 warning: unused require Logger205 │206 281 │ require Logger207 │ ~208 │209 └─ lib/phoenix/endpoint.ex:281:3210211 warning: unused require Phoenix.Endpoint212 │213 6 │ require Phoenix.Endpoint214 │ ~215 │216 └─ lib/phoenix/controller.ex:6:3217218 warning: the variable "prefix_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator219 │220 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix221 │ ~222 │223 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2224225 warning: unused require Phoenix.Endpoint226 │227 17 │ require Phoenix.Endpoint228 │ ~229 │230 └─ lib/phoenix/endpoint/render_errors.ex:17:3231232 warning: unused require Phoenix.Endpoint233 │234 6 │ require Phoenix.Endpoint235 │ ~236 │237 └─ lib/phoenix/channel/server.ex:6:3238239 warning: unused require Phoenix.Endpoint240 │241 202 │ require Phoenix.Endpoint242 │ ~243 │244 └─ lib/phoenix/socket.ex:202:3245246 warning: unused require Logger247 │248 70 │ require Logger249 │ ~250 │251 └─ lib/phoenix/socket/pool_supervisor.ex:70:3252253 warning: unused require Logger254 │255 100 │ require Logger256 │ ~257 │258 └─ lib/phoenix/token.ex:100:3259260 warning: comparison between distinct types found:261262 merge_all != []263264 given types:265266 dynamic(non_empty_list({atom(), term()})) != empty_list()267268 where "merge_all" was given the type:269270 # type: dynamic(non_empty_list({atom(), term()}))271 # from: lib/phoenix/router/route.ex:121:15272 merge_all = merge_params ++ merge_private ++ merge_assigns273274 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false275276 type warning found at:277 │278 123 │ if merge_all != [] do279 │ ~280 │281 └─ lib/phoenix/router/route.ex:123:18: Phoenix.Router.Route.build_prepare/1282283 warning: a struct for Plug.Conn is expected on struct update:284285 %Plug.Conn{conn | state: :sent}286287 but got type:288289 dynamic()290291 where "conn" was given the type:292293 # type: dynamic()294 # from: lib/phoenix/endpoint/render_errors.ex:55:17295 conn296297 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"298299 type warning found at:300 │301 60 │ %Plug.Conn{conn | state: :sent}302 │ ~303 │304 └─ lib/phoenix/endpoint/render_errors.ex:60:11: Phoenix.Endpoint.RenderErrors.__catch__/5305306 warning: a struct for Plug.Conn is expected on struct update:307308 %Plug.Conn{conn | query_params: %{}, params: %{}}309310 but got type:311312 dynamic(%{..., params: %Plug.Conn.Unfetched{}})313314 where "conn" was given the types:315316 # type: dynamic(%{..., params: term()})317 # from: lib/phoenix/endpoint/render_errors.ex:133:17318 conn.params319320 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})321 # from: lib/phoenix/endpoint/render_errors.ex:133:17322 conn.params323324 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"325326 type warning found at:327 │328 134 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}329 │ ~330 │331 └─ lib/phoenix/endpoint/render_errors.ex:134:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1332333 warning: a struct for Plug.Conn is expected on struct update:334335 %Plug.Conn{conn | query_params: %{}, params: params}336337 but got type:338339 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})340341 where "conn" was given the types:342343 # type: dynamic(%{..., params: term()})344 # from: lib/phoenix/endpoint/render_errors.ex:133:17345 conn.params346347 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})348 # from: lib/phoenix/endpoint/render_errors.ex:133:17349 conn.params350351 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"352353 type warning found at:354 │355 135 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}356 │ ~357 │358 └─ lib/phoenix/endpoint/render_errors.ex:135:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1359360 warning: a struct for Plug.Conn is expected on struct update:361362 %Plug.Conn{conn | params: params}363364 but got type:365366 dynamic(%{..., params: map()})367368 where "conn" was given the type:369370 # type: dynamic(%{..., params: map()})371 # from: lib/phoenix/controller.ex:1327:17372 Map.get(conn.params, required_key)373374 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"375376 type warning found at:377 │378 1334 │ %Plug.Conn{conn | params: params}379 │ ~380 │381 └─ lib/phoenix/controller.ex:1334:5: Phoenix.Controller.scrub_params/2382383Generated phoenix app384==> nerves_dev_server385Compiling 12 files (.ex)386387== Compilation error in file lib/nerves_dev_server_web/endpoint.ex ==388** (ArgumentError) invalid :json_decoder option. The module Jason is not loaded and could not be found389 (plug 1.20.3) lib/plug/parsers/json.ex:48: Plug.Parsers.JSON.validate_decoder!/1390 (plug 1.20.3) lib/plug/parsers/json.ex:35: Plug.Parsers.JSON.init/1391 (plug 1.20.3) lib/plug/parsers.ex:283: anonymous fn/2 in Plug.Parsers.convert_parsers/2392 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2393 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2394 (plug 1.20.3) lib/plug/parsers.ex:263: Plug.Parsers.init/1395 (plug 1.20.3) lib/plug/builder.ex:358: Plug.Builder.init_module_plug/4396 (plug 1.20.3) lib/plug/builder.ex:339: anonymous fn/5 in Plug.Builder.compile/3397could not compile dependency :nerves_dev_server, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nerves_dev_server --force", update it with "mix deps.update nerves_dev_server" or clean it with "mix deps.clean nerves_dev_server"