Build log
nerves_system_x86_64
nerves_dev_server 0.1.0 · fail · run nerves_dev_server-0.1.0-1791009144447
306 of 306 lines
1Resolving Hex dependencies...2Resolution completed in 0.224s3Unchanged:4 bandit 1.12.55 castore 1.0.216 circular_buffer 1.1.07 elixir_make 0.10.08 hpax 1.1.09 interactive_cmd 0.1.410 mime 2.0.711 nerves 2.0.0-pre.212 nerves_dev_server 0.1.0 RETIRED!13 (deprecated) All functionality is now bundled with the VSCode extension.14 nerves_discovery 0.1.515 nerves_logging 0.2.416 nerves_motd 0.1.1717 nerves_runtime 0.13.1318 nerves_system_bbb 2.30.219 nerves_system_br 1.34.420 nerves_system_mangopi_mq_pro 0.17.221 nerves_system_qemu_aarch64 0.4.222 nerves_system_rpi0 2.1.223 nerves_system_rpi4 2.1.224 nerves_system_rpi5 2.1.225 nerves_system_trellis 0.5.026 nerves_system_x86_64 1.34.227 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.128 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.129 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.130 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.131 nerves_toolchain_x86_64_nerves_linux_musl 15.3.132 nerves_uevent 0.1.733 phoenix 1.7.2434 phoenix_pubsub 2.3.035 phoenix_template 1.1.036 plug 1.20.337 plug_crypto 2.2.038 property_table 0.3.439 ring_logger 0.11.740 tablet 0.3.341 telemetry 1.4.242 thousand_island 1.5.043 toolshed 0.5.044 uboot_env 1.0.245 websock 0.5.346 websock_adapter 0.5.947* Getting nerves_dev_server (Hex package)48* Getting nerves (Hex package)49* Getting ring_logger (Hex package)50* Getting toolshed (Hex package)51* Getting nerves_runtime (Hex package)52* Getting nerves_system_bbb (Hex package)53* Getting nerves_system_mangopi_mq_pro (Hex package)54* Getting nerves_system_qemu_aarch64 (Hex package)55* Getting nerves_system_rpi0 (Hex package)56* Getting nerves_system_rpi4 (Hex package)57* Getting nerves_system_rpi5 (Hex package)58* Getting nerves_system_trellis (Hex package)59* Getting nerves_system_x86_64 (Hex package)60* Getting nerves_system_br (Hex package)61* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)62* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)63* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)64* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)65* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)66* Getting nerves_logging (Hex package)67* Getting nerves_uevent (Hex package)68* Getting uboot_env (Hex package)69* Getting elixir_make (Hex package)70* Getting property_table (Hex package)71* Getting circular_buffer (Hex package)72* Getting interactive_cmd (Hex package)73* Getting nerves_discovery (Hex package)74* Getting tablet (Hex package)75* Getting bandit (Hex package)76* Getting nerves_motd (Hex package)77* Getting phoenix (Hex package)78* Getting castore (Hex package)79* Getting phoenix_pubsub (Hex package)80* Getting phoenix_template (Hex package)81* Getting plug (Hex package)82* Getting plug_crypto (Hex package)83* Getting telemetry (Hex package)84* Getting websock_adapter (Hex package)85* Getting websock (Hex package)86* Getting mime (Hex package)87* Getting hpax (Hex package)88* Getting thousand_island (Hex package)89Found retired packages, see above for details90==> phoenix_template91Compiling 4 files (.ex)92Generated phoenix_template app93==> nerves_motd94Compiling 6 files (.ex)95Generated nerves_motd app96warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"97 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/298 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/199 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5100 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2101 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4102 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2103104==> phoenix105Compiling 71 files (.ex)106 warning: unused require Logger107 │108 9 │ require Logger109 │ ~110 │111 └─ lib/phoenix/config.ex:9:3112113 warning: unused require Logger114 │115 281 │ require Logger116 │ ~117 │118 └─ lib/phoenix/endpoint.ex:281:3119120 warning: unused require Phoenix.Endpoint121 │122 6 │ require Phoenix.Endpoint123 │ ~124 │125 └─ lib/phoenix/controller.ex:6:3126127 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 operator128 │129 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix130 │ ~131 │132 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2133134 warning: unused require Phoenix.Endpoint135 │136 17 │ require Phoenix.Endpoint137 │ ~138 │139 └─ lib/phoenix/endpoint/render_errors.ex:17:3140141 warning: unused require Phoenix.Endpoint142 │143 6 │ require Phoenix.Endpoint144 │ ~145 │146 └─ lib/phoenix/channel/server.ex:6:3147148 warning: unused require Phoenix.Endpoint149 │150 202 │ require Phoenix.Endpoint151 │ ~152 │153 └─ lib/phoenix/socket.ex:202:3154155 warning: unused require Logger156 │157 70 │ require Logger158 │ ~159 │160 └─ lib/phoenix/socket/pool_supervisor.ex:70:3161162 warning: unused require Logger163 │164 100 │ require Logger165 │ ~166 │167 └─ lib/phoenix/token.ex:100:3168169 warning: comparison between distinct types found:170171 merge_all != []172173 given types:174175 dynamic(non_empty_list({atom(), term()})) != empty_list()176177 where "merge_all" was given the type:178179 # type: dynamic(non_empty_list({atom(), term()}))180 # from: lib/phoenix/router/route.ex:121:15181 merge_all = merge_params ++ merge_private ++ merge_assigns182183 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 false184185 type warning found at:186 │187 123 │ if merge_all != [] do188 │ ~189 │190 └─ lib/phoenix/router/route.ex:123:18: Phoenix.Router.Route.build_prepare/1191192 warning: a struct for Plug.Conn is expected on struct update:193194 %Plug.Conn{conn | state: :sent}195196 but got type:197198 dynamic()199200 where "conn" was given the type:201202 # type: dynamic()203 # from: lib/phoenix/endpoint/render_errors.ex:55:17204 conn205206 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"207208 type warning found at:209 │210 60 │ %Plug.Conn{conn | state: :sent}211 │ ~212 │213 └─ lib/phoenix/endpoint/render_errors.ex:60:11: Phoenix.Endpoint.RenderErrors.__catch__/5214215 warning: a struct for Plug.Conn is expected on struct update:216217 %Plug.Conn{conn | query_params: %{}, params: %{}}218219 but got type:220221 dynamic(%{..., params: %Plug.Conn.Unfetched{}})222223 where "conn" was given the types:224225 # type: dynamic(%{..., params: term()})226 # from: lib/phoenix/endpoint/render_errors.ex:133:17227 conn.params228229 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})230 # from: lib/phoenix/endpoint/render_errors.ex:133:17231 conn.params232233 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"234235 type warning found at:236 │237 134 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}238 │ ~239 │240 └─ lib/phoenix/endpoint/render_errors.ex:134:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1241242 warning: a struct for Plug.Conn is expected on struct update:243244 %Plug.Conn{conn | query_params: %{}, params: params}245246 but got type:247248 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})249250 where "conn" was given the types:251252 # type: dynamic(%{..., params: term()})253 # from: lib/phoenix/endpoint/render_errors.ex:133:17254 conn.params255256 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})257 # from: lib/phoenix/endpoint/render_errors.ex:133:17258 conn.params259260 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"261262 type warning found at:263 │264 135 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}265 │ ~266 │267 └─ lib/phoenix/endpoint/render_errors.ex:135:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1268269 warning: a struct for Plug.Conn is expected on struct update:270271 %Plug.Conn{conn | params: params}272273 but got type:274275 dynamic(%{..., params: map()})276277 where "conn" was given the type:278279 # type: dynamic(%{..., params: map()})280 # from: lib/phoenix/controller.ex:1327:17281 Map.get(conn.params, required_key)282283 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"284285 type warning found at:286 │287 1334 │ %Plug.Conn{conn | params: params}288 │ ~289 │290 └─ lib/phoenix/controller.ex:1334:5: Phoenix.Controller.scrub_params/2291292Generated phoenix app293==> nerves_dev_server294Compiling 12 files (.ex)295296== Compilation error in file lib/nerves_dev_server_web/endpoint.ex ==297** (ArgumentError) invalid :json_decoder option. The module Jason is not loaded and could not be found298 (plug 1.20.3) lib/plug/parsers/json.ex:48: Plug.Parsers.JSON.validate_decoder!/1299 (plug 1.20.3) lib/plug/parsers/json.ex:35: Plug.Parsers.JSON.init/1300 (plug 1.20.3) lib/plug/parsers.ex:283: anonymous fn/2 in Plug.Parsers.convert_parsers/2301 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2302 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2303 (plug 1.20.3) lib/plug/parsers.ex:263: Plug.Parsers.init/1304 (plug 1.20.3) lib/plug/builder.ex:358: Plug.Builder.init_module_plug/4305 (plug 1.20.3) lib/plug/builder.ex:339: anonymous fn/5 in Plug.Builder.compile/3306could 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"