nerves_dev_server

Build log

host

nerves_dev_server 0.1.0 · fail · run nerves_dev_server-0.1.0-1791009144447
265 of 265 lines
1Resolving Hex dependencies...2Resolution completed in 0.214s3Unchanged: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.947Found retired packages, see above for details48All dependencies have been fetched49==> phoenix_template50Compiling 4 files (.ex)51Generated phoenix_template app52==> nerves_motd53Compiling 6 files (.ex)54Generated nerves_motd app55warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"56  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/257  (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/158  (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/559  (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/260  (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/461  (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/26263==> phoenix64Compiling 71 files (.ex)65    warning: unused require Logger66    │67  9 │   require Logger68    │   ~69    │70    └─ lib/phoenix/config.ex:9:37172     warning: unused require Logger73     │74 281 │   require Logger75     │   ~76     │77     └─ lib/phoenix/endpoint.ex:281:37879    warning: unused require Phoenix.Endpoint80    │81  6 │   require Phoenix.Endpoint82    │   ~83    │84    └─ lib/phoenix/controller.ex:6:38586    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 operator87    │88 46 │       <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix89    │                             ~90    │91    └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/29293    warning: unused require Phoenix.Endpoint94    │95 17 │   require Phoenix.Endpoint96    │   ~97    │98    └─ lib/phoenix/endpoint/render_errors.ex:17:399100     warning: unused require Phoenix.Endpoint101     │102 202 │   require Phoenix.Endpoint103     │   ~104     │105     └─ lib/phoenix/socket.ex:202:3106107    warning: unused require Phoenix.Endpoint108    │109  6 │   require Phoenix.Endpoint110    │   ~111    │112    └─ lib/phoenix/channel/server.ex:6:3113114    warning: unused require Logger115    │116 70 │   require Logger117    │   ~118    │119    └─ lib/phoenix/socket/pool_supervisor.ex:70:3120121     warning: unused require Logger122     │123 100 │   require Logger124     │   ~125     │126     └─ lib/phoenix/token.ex:100:3127128     warning: comparison between distinct types found:129130         merge_all != []131132     given types:133134         dynamic(non_empty_list({atom(), term()})) != empty_list()135136     where "merge_all" was given the type:137138         # type: dynamic(non_empty_list({atom(), term()}))139         # from: lib/phoenix/router/route.ex:121:15140         merge_all = merge_params ++ merge_private ++ merge_assigns141142     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 false143144     type warning found at:145     │146 123 │     if merge_all != [] do147     │                  ~148     │149     └─ lib/phoenix/router/route.ex:123:18: Phoenix.Router.Route.build_prepare/1150151    warning: a struct for Plug.Conn is expected on struct update:152153        %Plug.Conn{conn | state: :sent}154155    but got type:156157        dynamic()158159    where "conn" was given the type:160161        # type: dynamic()162        # from: lib/phoenix/endpoint/render_errors.ex:55:17163        conn164165    when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"166167    type warning found at:168    │169 60 │           %Plug.Conn{conn | state: :sent}170    │           ~171    │172    └─ lib/phoenix/endpoint/render_errors.ex:60:11: Phoenix.Endpoint.RenderErrors.__catch__/5173174     warning: a struct for Plug.Conn is expected on struct update:175176         %Plug.Conn{conn | query_params: %{}, params: %{}}177178     but got type:179180         dynamic(%{..., params: %Plug.Conn.Unfetched{}})181182     where "conn" was given the types:183184         # type: dynamic(%{..., params: term()})185         # from: lib/phoenix/endpoint/render_errors.ex:133:17186         conn.params187188         # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})189         # from: lib/phoenix/endpoint/render_errors.ex:133:17190         conn.params191192     when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"193194     type warning found at:195     │196 134 │         %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}197     │                                   ~198     │199     └─ lib/phoenix/endpoint/render_errors.ex:134:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1200201     warning: a struct for Plug.Conn is expected on struct update:202203         %Plug.Conn{conn | query_params: %{}, params: params}204205     but got type:206207         dynamic(%{..., params: not %Plug.Conn.Unfetched{}})208209     where "conn" was given the types:210211         # type: dynamic(%{..., params: term()})212         # from: lib/phoenix/endpoint/render_errors.ex:133:17213         conn.params214215         # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})216         # from: lib/phoenix/endpoint/render_errors.ex:133:17217         conn.params218219     when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"220221     type warning found at:222     │223 135 │         params -> %Plug.Conn{conn | query_params: %{}, params: params}224     │                   ~225     │226     └─ lib/phoenix/endpoint/render_errors.ex:135:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1227228      warning: a struct for Plug.Conn is expected on struct update:229230          %Plug.Conn{conn | params: params}231232      but got type:233234          dynamic(%{..., params: map()})235236      where "conn" was given the type:237238          # type: dynamic(%{..., params: map()})239          # from: lib/phoenix/controller.ex:1327:17240          Map.get(conn.params, required_key)241242      when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"243244      type warning found at:245      │246 1334 │     %Plug.Conn{conn | params: params}247      │     ~248      │249      └─ lib/phoenix/controller.ex:1334:5: Phoenix.Controller.scrub_params/2250251Generated phoenix app252==> nerves_dev_server253Compiling 12 files (.ex)254255== Compilation error in file lib/nerves_dev_server_web/endpoint.ex ==256** (ArgumentError) invalid :json_decoder option. The module Jason is not loaded and could not be found257    (plug 1.20.3) lib/plug/parsers/json.ex:48: Plug.Parsers.JSON.validate_decoder!/1258    (plug 1.20.3) lib/plug/parsers/json.ex:35: Plug.Parsers.JSON.init/1259    (plug 1.20.3) lib/plug/parsers.ex:283: anonymous fn/2 in Plug.Parsers.convert_parsers/2260    (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2261    (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/2262    (plug 1.20.3) lib/plug/parsers.ex:263: Plug.Parsers.init/1263    (plug 1.20.3) lib/plug/builder.ex:358: Plug.Builder.init_module_plug/4264    (plug 1.20.3) lib/plug/builder.ex:339: anonymous fn/5 in Plug.Builder.compile/3265could 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"