Build log
nerves_system_rpi4
ax_webclient 0.1.1 · fail · run ax_webclient-0.1.1-1794769560669
1674 of 1674 lines
1Resolving Hex dependencies...2Resolution completed in 0.136s3Unchanged:4 earmark 1.4.49 RETIRED! VULNERABLE!5 (deprecated) Earmark is no longer maintained. Migrate to a replacement, for example MDEx (https://hex.pm/packages/mdex).67 EEF-CVE-2026-48591 (MEDIUM)8 aka: CVE-2026-48591, GHSA-52mm-h59v-f3c79 Stored XSS via unescaped HTML attribute values in earmark10 https://osv.dev/vulnerability/EEF-CVE-2026-4859111 phoenix_live_view 0.17.14 VULNERABLE!12 EEF-CVE-2026-64941 (LOW)13 aka: CVE-2026-64941, GHSA-36m4-rm57-3prf14 Open redirect in Phoenix.LiveView.validate_local_url!/2 via ASCII tab, LF and CR15 https://osv.dev/vulnerability/EEF-CVE-2026-6494116 plug_crypto 1.2.5 VULNERABLE!17 EEF-CVE-2026-105963 (MEDIUM)18 aka: CVE-2026-105963, GHSA-ffw9-w85g-f2vh19 Secret key base exposed in stack trace arguments on wrong-typed Plug.Crypto arguments20 https://osv.dev/vulnerability/EEF-CVE-2026-10596321* Getting ax_webclient (Hex package)22* Getting nerves (Hex package)23* Getting logger_backends (Hex package)24* Getting ring_logger (Hex package)25* Getting toolshed (Hex package)26* Getting nerves_runtime (Hex package)27* Getting nerves_system_bbb (Hex package)28* Getting nerves_system_mangopi_mq_pro (Hex package)29* Getting nerves_system_qemu_aarch64 (Hex package)30* Getting nerves_system_rpi0 (Hex package)31* Getting nerves_system_rpi0_2 (Hex package)32* Getting nerves_system_rpi4 (Hex package)33* Getting nerves_system_rpi5 (Hex package)34* Getting nerves_system_trellis (Hex package)35* Getting nerves_system_x86_64 (Hex package)36* Getting nerves_system_br (Hex package)37* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)38* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)39* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)40* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)41* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)42* Getting nerves_logging (Hex package)43* Getting nerves_uevent (Hex package)44* Getting uboot_env (Hex package)45* Getting elixir_make (Hex package)46* Getting property_table (Hex package)47* Getting circular_buffer (Hex package)48* Getting interactive_cmd (Hex package)49* Getting nerves_discovery (Hex package)50* Getting tablet (Hex package)51* Getting axrepo (Hex package)52* Getting esbuild (Hex package)53* Getting floki (Hex package)54* Getting gettext (Hex package)55* Getting jason (Hex package)56* Getting makeup_elixir (Hex package)57* Getting makeup_erlang (Hex package)58* Getting nimble_publisher (Hex package)59* Getting phoenix (Hex package)60* Getting phoenix_html (Hex package)61* Getting phoenix_live_dashboard (Hex package)62* Getting phoenix_live_view (Hex package)63* Getting plug_cowboy (Hex package)64* Getting swoosh (Hex package)65* Getting telemetry_metrics (Hex package)66* Getting telemetry_poller (Hex package)67* Getting telemetry (Hex package)68* Getting idna (Hex package)69* Getting mime (Hex package)70* Getting cowboy (Hex package)71* Getting cowboy_telemetry (Hex package)72* Getting plug (Hex package)73* Getting plug_crypto (Hex package)74* Getting cowlib (Hex package)75* Getting ranch (Hex package)76* Getting castore (Hex package)77* Getting phoenix_pubsub (Hex package)78* Getting phoenix_view (Hex package)79* Getting phoenix_template (Hex package)80* Getting earmark (Hex package)81* Getting makeup (Hex package)82* Getting nimble_parsec (Hex package)83* Getting expo (Hex package)84* Getting axentity (Hex package)85* Getting uuid (Hex package)86Found retired packages, see above for details87Found packages with security advisories, see above for details88You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more89==> tablet90Compiling 2 files (.ex)91Generated tablet app92==> nerves_discovery93Compiling 5 files (.ex)94Generated nerves_discovery app95==> interactive_cmd96Compiling 1 file (.ex)97Generated interactive_cmd app98==> nerves99Compiling 65 files (.ex)100Generated nerves app101==> nerves_system_br102Generated nerves_system_br app103==> floki104Compiling 1 file (.xrl)105Compiling 2 files (.erl)106Compiling 30 files (.ex)107Generated floki app108==> mime109Compiling 1 file (.ex)110Generated mime app111==> circular_buffer112Compiling 1 file (.ex)113Generated circular_buffer app114==> jason115Compiling 10 files (.ex)116Generated jason app117==> esbuild118Compiling 4 files (.ex)119Generated esbuild app120==> logger_backends121Compiling 7 files (.ex)122Generated logger_backends app123==> plug_crypto124Compiling 5 files (.ex)125Generated plug_crypto app126==> nerves_compatibility_test127===> Analyzing applications...128===> Compiling ranch129==> elixir_make130Compiling 8 files (.ex)131Generated elixir_make app132==> nerves_logging133 CC kmsg_tailer.o134 LD kmsg_tailer135Compiling 5 files (.ex)136Generated nerves_logging app137==> castore138Compiling 1 file (.ex)139Generated castore app140==> earmark141Compiling 2 files (.xrl)142Compiling 1 file (.yrl)143Compiling 3 files (.erl)144Compiling 61 files (.ex)145 warning: unused require Logger146 │147 3 │ require Logger148 │ ~149 │150 └─ lib/earmark_parser/line_scanner.ex:3:3151152 warning: this clause of defp _maybe_remove_paras/2 is never used (or it will always fail/warn when invoked)153 │154 616 │ defp _maybe_remove_paras(ast, %Options{inner_html: true}) do155 │ ~156 │157 └─ lib/earmark/transform.ex:616:8: Earmark.Transform._maybe_remove_paras/2158159Generated earmark app160==> nerves_compatibility_test161===> Analyzing applications...162===> Compiling cowlib163==> ring_logger164Compiling 7 files (.ex)165Generated ring_logger app166==> nerves_toolchain_aarch64_nerves_linux_gnu167Compiling 1 file (.ex)168Generated nerves_toolchain_aarch64_nerves_linux_gnu app169==> nerves_system_rpi4170Generated nerves_system_rpi4 app171==> nerves_compatibility_test172===> Analyzing applications...173===> Compiling idna174==> nimble_parsec175Compiling 4 files (.ex)176Generated nimble_parsec app177==> makeup178Compiling 15 files (.ex)179Generated makeup app180==> makeup_elixir181Compiling 6 files (.ex)182Compiling lib/makeup/lexers/elixir_lexer.ex (it's taking more than 10s)183Generated makeup_elixir app184==> makeup_erlang185Compiling 4 files (.ex)186Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)187Generated makeup_erlang app188==> nimble_publisher189Compiling 2 files (.ex)190Generated nimble_publisher app191==> nerves_compatibility_test192===> Analyzing applications...193===> Compiling telemetry194==> telemetry_metrics195Compiling 7 files (.ex)196 warning: unused require Logger197 │198 391 │ require Logger199 │ ~200 │201 └─ lib/telemetry_metrics.ex:391:3202203Generated telemetry_metrics app204==> nerves_compatibility_test205===> Analyzing applications...206===> Compiling telemetry_poller207===> Analyzing applications...208===> Compiling cowboy209==> expo210Compiling 2 files (.erl)211Compiling 22 files (.ex)212Generated expo app213==> gettext214Compiling 18 files (.ex)215 warning: unused require Gettext.Macros216 │217 594 │ require Gettext.Macros218 │ ~219 │220 └─ lib/gettext.ex:594:3221222 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead223 │224 426 │ Kernel.ParallelCompiler.async(fn ->225 │ ~226 │227 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3228229 warning: the following clause is redundant:230231 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)232233 it has type:234235 dynamic(%Expo.Message.Plural{})236237 previous clauses have already matched on the following types:238239 %Expo.Message.Singular{}240 %Expo.Message.Plural{}241242 │243 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do244 │ ~245 │246 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1247248Generated gettext app249==> phoenix_pubsub250Compiling 13 files (.ex)251Generated phoenix_pubsub app252==> plug253Compiling 1 file (.erl)254Compiling 42 files (.ex)255Generated plug app256==> phoenix_html257Compiling 9 files (.ex)258 warning: comparison between distinct types found:259260 id == nil261262 given types:263264 dynamic(not false and not nil and not binary()) == nil265266 where "id" was given the types:267268 # type: dynamic(not false and not nil)269 # from: lib/phoenix_html/form_data.ex:92:8270 id = Keyword.get(opts, :id) || name271272 # type: dynamic(not false and not nil and not binary())273 # from: lib/phoenix_html/form_data.ex:94:12274 is_binary(id)275276 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 false277278 type warning found at:279 │280 94 │ unless is_binary(id) or is_nil(id) do281 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~282 │283 └─ lib/phoenix_html/form_data.ex:94: Phoenix.HTML.FormData.Atom.to_form/2284285 warning: the 1st pattern in clause will never match:286287 60288289 because it is expected to receive type:290291 dynamic(empty_list() or non_empty_list(term(), term()))292293 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())294295 type warning found at:296 │297 56 │ def to_iodata(?<), do: "<"298 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~299 │300 └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1301302 warning: the 1st pattern in clause will never match:303304 62305306 because it is expected to receive type:307308 dynamic(empty_list() or non_empty_list(term(), term()))309310 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())311312 type warning found at:313 │314 57 │ def to_iodata(?>), do: ">"315 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~316 │317 └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1318319 warning: the 1st pattern in clause will never match:320321 38322323 because it is expected to receive type:324325 dynamic(empty_list() or non_empty_list(term(), term()))326327 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())328329 type warning found at:330 │331 58 │ def to_iodata(?&), do: "&"332 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~333 │334 └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1335336 warning: the 1st pattern in clause will never match:337338 34339340 because it is expected to receive type:341342 dynamic(empty_list() or non_empty_list(term(), term()))343344 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())345346 type warning found at:347 │348 59 │ def to_iodata(?"), do: """349 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~350 │351 └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1352353 warning: the 1st pattern in clause will never match:354355 39356357 because it is expected to receive type:358359 dynamic(empty_list() or non_empty_list(term(), term()))360361 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())362363 type warning found at:364 │365 60 │ def to_iodata(?'), do: "'"366 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~367 │368 └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1369370 warning: the 1st pattern in clause will never match:371372 {:safe, data}373374 because it is expected to receive type:375376 dynamic(empty_list() or non_empty_list(term(), term()))377378 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())379380 type warning found at:381 │382 76 │ def to_iodata({:safe, data}) do383 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~384 │385 └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1386387 warning: the following clause is redundant:388389 def to_iodata(other)390391 it has type:392393 dynamic(empty_list() or non_empty_list(term(), term()))394395 previous clauses have already matched on the following types:396397 non_empty_list(term(), term())398 empty_list()399400 │401 80 │ def to_iodata(other) do402 │ ~403 │404 └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1405406 warning: the 1st pattern in clause will never match:407408 h409410 because it is expected to receive type:411412 dynamic(empty_list() or non_empty_list(term(), term()))413414 where "h" was given the type:415416 # type: integer()417 # from: lib/phoenix_html/safe.ex:62:25418 is_integer(h)419420 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())421422 type warning found at:423 │424 62 │ def to_iodata(h) when is_integer(h) and h <= 255 do425 │ ~426 │427 └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1428429 warning: the 1st pattern in clause will never match:430431 h432433 because it is expected to receive type:434435 dynamic(empty_list() or non_empty_list(term(), term()))436437 where "h" was given the type:438439 # type: integer()440 # from: lib/phoenix_html/safe.ex:66:25441 is_integer(h)442443 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())444445 type warning found at:446 │447 66 │ def to_iodata(h) when is_integer(h) do448 │ ~449 │450 └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1451452 warning: the 1st pattern in clause will never match:453454 h455456 because it is expected to receive type:457458 dynamic(empty_list() or non_empty_list(term(), term()))459460 where "h" was given the type:461462 # type: binary()463 # from: lib/phoenix_html/safe.ex:72:25464 is_binary(h)465466 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())467468 type warning found at:469 │470 72 │ def to_iodata(h) when is_binary(h) do471 │ ~472 │473 └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1474475Generated phoenix_html app476==> phoenix_template477Compiling 4 files (.ex)478Generated phoenix_template app479==> phoenix_view480Compiling 1 file (.ex)481 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 operator482 │483 655 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix484 │ ~485 │486 └─ lib/phoenix_view.ex:655:29: Phoenix.View.unsuffix/2487488Generated phoenix_view app489==> uboot_env490Compiling 5 files (.ex)491Generated uboot_env app492==> property_table493Compiling 8 files (.ex)494Generated property_table app495==> nerves_uevent496 CC uevent.o497 LD uevent498Compiling 5 files (.ex)499Generated nerves_uevent app500==> nerves_runtime501Compiling 14 files (.ex)502Generated nerves_runtime app503==> toolshed504Compiling 5 files (.ex)505Generated toolshed app506==> nerves_compatibility_test507===> Analyzing applications...508===> Compiling cowboy_telemetry509==> plug_cowboy510Compiling 5 files (.ex)511Generated plug_cowboy app512warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"513 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2514 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1515 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5516 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2517 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4518 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2519520==> phoenix521Compiling 69 files (.ex)522 warning: using single-quoted strings to represent charlists is deprecated.523 Use ~c"" if you indeed want a charlist or use "" instead.524 You may run "mix format --migrate" to change all single-quoted525 strings to use the ~c sigil and fix this warning.526 │527 258 │ notBefore: {:utcTime, '#{not_before}000000Z'},528 │ ~529 │530 └─ lib/mix/tasks/phx.gen.cert.ex:258:33531532 warning: using single-quoted strings to represent charlists is deprecated.533 Use ~c"" if you indeed want a charlist or use "" instead.534 You may run "mix format --migrate" to change all single-quoted535 strings to use the ~c sigil and fix this warning.536 │537 259 │ notAfter: {:utcTime, '#{not_after}000000Z'}538 │ ~539 │540 └─ lib/mix/tasks/phx.gen.cert.ex:259:32541542 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead543 │544 50 │ Logger.warn(545 │ ~546 │547 └─ lib/phoenix/code_reloader/server.ex:50:20: Phoenix.CodeReloader.Server.handle_call/3548549 warning: unused require Logger550 │551 9 │ require Logger552 │ ~553 │554 └─ lib/phoenix/config.ex:9:3555556 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.557558 This error happens when you have function calls without parentheses inside keywords. For example:559560 function(arg, one: nested_call a, b, c)561 function(arg, one: if expr, do: :this, else: :that)562563 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:564565 function(arg, one: if(expr, do: :this, else: :that))566 function(arg, one: nested_call(a, b, c))567568 Ambiguity found at:569 │570 998 │ defp get_disposition_type(other), do: raise ArgumentError, "expected :disposition to be :attachment or :inline, got: #{inspect(other)}"571 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~572 │573 └─ lib/phoenix/controller.ex:998574575 warning: unused require Logger576 │577 259 │ require Logger578 │ ~579 │580 └─ lib/phoenix/endpoint.ex:259:3581582 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead583 │584 1009 │ Logger.warn "send_download/3 has been invoked during an AJAX request. " <>585 │ ~586 │587 └─ lib/phoenix/controller.ex:1009:14: Phoenix.Controller.warn_if_ajax/1588589 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead590 │591 34 │ Logger.warn("no configuration found for otp_app #{inspect(otp_app)} and module #{inspect(mod)}")592 │ ~593 │594 └─ lib/phoenix/endpoint/supervisor.ex:34:20: Phoenix.Endpoint.Supervisor.init/1595596 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead597 │598 57 │ Logger.warn(":instrumenters configuration for #{inspect(mod)} is deprecated and has no effect")599 │ ~600 │601 └─ lib/phoenix/endpoint/supervisor.ex:57:14: Phoenix.Endpoint.Supervisor.init/1602603 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead604 │605 78 │ Logger.warn """606 │ ~607 │608 └─ lib/phoenix/endpoint/supervisor.ex:78:14: Phoenix.Endpoint.Supervisor.pubsub_children/2609610 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead611 │612 264 │ Logger.warn("url: [host: ...] configuration value #{inspect(host)} for #{inspect(endpoint)} is invalid")613 │ ~614 │615 └─ lib/phoenix/endpoint/supervisor.ex:264:14: Phoenix.Endpoint.Supervisor.build_url/2616617 warning: unused require Phoenix.Endpoint618 │619 6 │ require Phoenix.Endpoint620 │ ~621 │622 └─ lib/phoenix/controller.ex:6:3623624 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 operator625 │626 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix627 │ ~628 │629 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2630631 warning: unused require Phoenix.Endpoint632 │633 19 │ require Phoenix.Endpoint634 │ ~635 │636 └─ lib/phoenix/endpoint/render_errors.ex:19:3637638 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.639640 This error happens when you have function calls without parentheses inside keywords. For example:641642 function(arg, one: nested_call a, b, c)643 function(arg, one: if expr, do: :this, else: :that)644645 In the examples above, we don't know if the arguments "b" and "c" apply to the function "function" or "nested_call". Or if the keywords "do" and "else" apply to the function "function" or "if". You can solve this by explicitly adding parentheses:646647 function(arg, one: if(expr, do: :this, else: :that))648 function(arg, one: nested_call(a, b, c))649650 Ambiguity found at:651 │652 71 │ unless actions -- supported_actions == [], do: raise ArgumentError, """653 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~654 │655 └─ lib/phoenix/router/resource.ex:71656657 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead658 │659 653 │ Logger.warn fn -> "Ignoring unmatched topic \"#{topic}\" in #{inspect(socket.handler)}" end660 │ ~661 │662 └─ lib/phoenix/socket.ex:653:16: Phoenix.Socket.handle_in/4663664 warning: unused require Phoenix.Endpoint665 │666 6 │ require Phoenix.Endpoint667 │ ~668 │669 └─ lib/phoenix/channel/server.ex:6:3670671 warning: unused require Phoenix.Endpoint672 │673 192 │ require Phoenix.Endpoint674 │ ~675 │676 └─ lib/phoenix/socket.ex:192:3677678 warning: unused require Logger679 │680 93 │ require Logger681 │ ~682 │683 └─ lib/phoenix/token.ex:93:3684685 warning: comparison between distinct types found:686687 merge_all != []688689 given types:690691 dynamic(non_empty_list({atom(), term()})) != empty_list()692693 where "merge_all" was given the type:694695 # type: dynamic(non_empty_list({atom(), term()}))696 # from: lib/phoenix/router/route.ex:111:15697 merge_all = merge_params ++ merge_private ++ merge_assigns698699 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 false700701 type warning found at:702 │703 113 │ if merge_all != [] do704 │ ~705 │706 └─ lib/phoenix/router/route.ex:113:18: Phoenix.Router.Route.build_prepare/1707708 warning: a struct for Plug.Conn is expected on struct update:709710 %Plug.Conn{conn | state: :sent}711712 but got type:713714 dynamic()715716 where "conn" was given the type:717718 # type: dynamic()719 # from: lib/phoenix/endpoint/render_errors.ex:57:17720 conn721722 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"723724 type warning found at:725 │726 61 │ %Plug.Conn{conn | state: :sent}727 │ ~728 │729 └─ lib/phoenix/endpoint/render_errors.ex:61:9: Phoenix.Endpoint.RenderErrors.__catch__/5730731 warning: a struct for Plug.Conn is expected on struct update:732733 %Plug.Conn{conn | query_params: %{}, params: %{}}734735 but got type:736737 dynamic(%{..., params: %Plug.Conn.Unfetched{}})738739 where "conn" was given the types:740741 # type: dynamic(%{..., params: term()})742 # from: lib/phoenix/endpoint/render_errors.ex:124:17743 conn.params744745 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})746 # from: lib/phoenix/endpoint/render_errors.ex:124:17747 conn.params748749 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"750751 type warning found at:752 │753 125 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}754 │ ~755 │756 └─ lib/phoenix/endpoint/render_errors.ex:125:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1757758 warning: a struct for Plug.Conn is expected on struct update:759760 %Plug.Conn{conn | query_params: %{}, params: params}761762 but got type:763764 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})765766 where "conn" was given the types:767768 # type: dynamic(%{..., params: term()})769 # from: lib/phoenix/endpoint/render_errors.ex:124:17770 conn.params771772 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})773 # from: lib/phoenix/endpoint/render_errors.ex:124:17774 conn.params775776 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"777778 type warning found at:779 │780 126 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}781 │ ~782 │783 └─ lib/phoenix/endpoint/render_errors.ex:126:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1784785 warning: incompatible types given to socket_children/1:786787 socket_children(mod)788789 given types:790791 -dynamic(atom())-792793 but expected one of:794795 %{..., __sockets__: term()}796797 where "mod" was given the types:798799 # type: dynamic(atom() or binary())800 # from: lib/phoenix/endpoint/supervisor.ex:27:41801 defaults(otp_app, mod)802803 # type: dynamic(atom())804 # from: lib/phoenix/endpoint/supervisor.ex:31:16805 mod.init(:supervisor, env_conf)806807 type warning found at:808 │809 67 │ socket_children(mod) ++810 │ ~811 │812 └─ lib/phoenix/endpoint/supervisor.ex:67:7: Phoenix.Endpoint.Supervisor.init/1813814 warning: a struct for Plug.Conn is expected on struct update:815816 %Plug.Conn{conn | params: params}817818 but got type:819820 dynamic(%{..., params: map()})821822 where "conn" was given the type:823824 # type: dynamic(%{..., params: map()})825 # from: lib/phoenix/controller.ex:1036:17826 Map.get(conn.params, required_key)827828 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"829830 type warning found at:831 │832 1043 │ %Plug.Conn{conn | params: params}833 │ ~834 │835 └─ lib/phoenix/controller.ex:1043:5: Phoenix.Controller.scrub_params/2836837 warning: expected a module (an atom) when invoking compress_file/2 in expression:838839 compressor.compress_file(file.digested_filename, file.digested_content)840841 where "compressor" was given the type:842843 # type: dynamic(%{..., file_extensions: non_empty_list(term(), term())})844 # from: lib/phoenix/digester.ex:167:28845 [file_extension | _] = compressor.file_extensions846847 where "file" was given the type:848849 # type: dynamic(%{..., relative_path: term()})850 # from: lib/phoenix/digester.ex:161:17851 Path.join(output_path, file.relative_path)852853 type warning found at:854 │855 170 │ compressor.compress_file(file.digested_filename, file.digested_content) do856 │ ~857 │858 └─ lib/phoenix/digester.ex:170:25: Phoenix.Digester.write_to_disk/2859860Generated phoenix app861warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"862 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2863 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1864 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5865 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2866 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4867 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2868869==> phoenix_live_view870Compiling 31 files (.ex)871 warning: using single-quoted strings to represent charlists is deprecated.872 Use ~c"" if you indeed want a charlist or use "" instead.873 You may run "mix format --migrate" to change all single-quoted874 strings to use the ~c sigil and fix this warning.875 │876 319 │ {'LiveView', view},877 │ ~878 │879 └─ lib/phoenix_live_view/channel.ex:319:10880881 warning: using single-quoted strings to represent charlists is deprecated.882 Use ~c"" if you indeed want a charlist or use "" instead.883 You may run "mix format --migrate" to change all single-quoted884 strings to use the ~c sigil and fix this warning.885 │886 320 │ {'Parent pid', parent_pid},887 │ ~888 │889 └─ lib/phoenix_live_view/channel.ex:320:10890891 warning: using single-quoted strings to represent charlists is deprecated.892 Use ~c"" if you indeed want a charlist or use "" instead.893 You may run "mix format --migrate" to change all single-quoted894 strings to use the ~c sigil and fix this warning.895 │896 321 │ {'Transport pid', transport_pid},897 │ ~898 │899 └─ lib/phoenix_live_view/channel.ex:321:10900901 warning: using single-quoted strings to represent charlists is deprecated.902 Use ~c"" if you indeed want a charlist or use "" instead.903 You may run "mix format --migrate" to change all single-quoted904 strings to use the ~c sigil and fix this warning.905 │906 322 │ {'Topic', topic},907 │ ~908 │909 └─ lib/phoenix_live_view/channel.ex:322:10910911 warning: using single-quoted strings to represent charlists is deprecated.912 Use ~c"" if you indeed want a charlist or use "" instead.913 You may run "mix format --migrate" to change all single-quoted914 strings to use the ~c sigil and fix this warning.915 │916 323 │ {'Components count', map_size(cid_to_component)}917 │ ~918 │919 └─ lib/phoenix_live_view/channel.ex:323:10920921 warning: using single-quoted strings to represent charlists is deprecated.922 Use ~c"" if you indeed want a charlist or use "" instead.923 You may run "mix format --migrate" to change all single-quoted924 strings to use the ~c sigil and fix this warning.925 │926 329 │ [data: [{'State', state}]]927 │ ~928 │929 └─ lib/phoenix_live_view/channel.ex:329:14930931 warning: using single-quoted strings to represent charlists is deprecated.932 Use ~c"" if you indeed want a charlist or use "" instead.933 You may run "mix format --migrate" to change all single-quoted934 strings to use the ~c sigil and fix this warning.935 │936 112 │ @codepoints '\s\n\r\t'937 │ ~938 │939 └─ lib/phoenix_live_view/html_algebra.ex:112:15940941 warning: using single-quoted strings to represent charlists is deprecated.942 Use ~c"" if you indeed want a charlist or use "" instead.943 You may run "mix format --migrate" to change all single-quoted944 strings to use the ~c sigil and fix this warning.945 │946 125 │ do: :binary.first(text) in '\n\r'947 │ ~948 │949 └─ lib/phoenix_live_view/html_algebra.ex:125:32950951 warning: using single-quoted strings to represent charlists is deprecated.952 Use ~c"" if you indeed want a charlist or use "" instead.953 You may run "mix format --migrate" to change all single-quoted954 strings to use the ~c sigil and fix this warning.955 │956 130 │ do: :binary.last(text) in '\n\r'957 │ ~958 │959 └─ lib/phoenix_live_view/html_algebra.ex:130:31960961 warning: using single-quoted strings to represent charlists is deprecated.962 Use ~c"" if you indeed want a charlist or use "" instead.963 You may run "mix format --migrate" to change all single-quoted964 strings to use the ~c sigil and fix this warning.965 │966 503 │ defp count_newlines_until_text(<<char, rest::binary>>, counter) when char in '\s\t\r',967 │ ~968 │969 └─ lib/phoenix_live_view/html_formatter.ex:503:80970971 warning: using single-quoted strings to represent charlists is deprecated.972 Use ~c"" if you indeed want a charlist or use "" instead.973 You may run "mix format --migrate" to change all single-quoted974 strings to use the ~c sigil and fix this warning.975 │976 536 │ do: if(String.trim_leading(text) == "", do: false, else: !(:binary.last(text) in '\s\t'))977 │ ~978 │979 └─ lib/phoenix_live_view/html_formatter.ex:536:86980981 warning: using single-quoted strings to represent charlists is deprecated.982 Use ~c"" if you indeed want a charlist or use "" instead.983 You may run "mix format --migrate" to change all single-quoted984 strings to use the ~c sigil and fix this warning.985 │986 546 │ if String.trim_leading(text) != "" and :binary.first(text) not in '\s\t\n\r' do987 │ ~988 │989 └─ lib/phoenix_live_view/html_formatter.ex:546:73990991 warning: using single-quoted strings to represent charlists is deprecated.992 Use ~c"" if you indeed want a charlist or use "" instead.993 You may run "mix format --migrate" to change all single-quoted994 strings to use the ~c sigil and fix this warning.995 │996 3 │ @space_chars '\s\t\f'997 │ ~998 │999 └─ lib/phoenix_live_view/html_tokenizer.ex:3:1610001001 warning: using single-quoted strings to represent charlists is deprecated.1002 Use ~c"" if you indeed want a charlist or use "" instead.1003 You may run "mix format --migrate" to change all single-quoted1004 strings to use the ~c sigil and fix this warning.1005 │1006 4 │ @quote_chars '"\''1007 │ ~1008 │1009 └─ lib/phoenix_live_view/html_tokenizer.ex:4:1610101011 warning: using single-quoted strings to represent charlists is deprecated.1012 Use ~c"" if you indeed want a charlist or use "" instead.1013 You may run "mix format --migrate" to change all single-quoted1014 strings to use the ~c sigil and fix this warning.1015 │1016 5 │ @stop_chars '>/=\r\n' ++ @quote_chars ++ @space_chars1017 │ ~1018 │1019 └─ lib/phoenix_live_view/html_tokenizer.ex:5:1510201021 warning: unused require Logger1022 │1023 25 │ require Logger1024 │ ~1025 │1026 └─ lib/phoenix_live_view/socket.ex:25:310271028 warning: unused require Logger1029 │1030 6 │ require Logger1031 │ ~1032 │1033 └─ lib/phoenix_live_view/upload_channel.ex:6:310341035 warning: unused require Phoenix.ChannelTest1036 │1037 4 │ require Phoenix.ChannelTest1038 │ ~1039 │1040 └─ lib/phoenix_live_view/test/upload_client.ex:4:310411042 warning: unused require Phoenix.ChannelTest1043 │1044 179 │ require Phoenix.ChannelTest1045 │ ~1046 │1047 └─ lib/phoenix_live_view/test/live_view_test.ex:179:310481049 warning: unused require Phoenix.ConnTest1050 │1051 178 │ require Phoenix.ConnTest1052 │ ~1053 │1054 └─ lib/phoenix_live_view/test/live_view_test.ex:178:310551056 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:10571058 %Phoenix.LiveView.Socket{1059 socket1060 | private: Map.put(socket.private, :phoenix_live_layout, {mod, template})1061 }10621063 but got type:10641065 dynamic()10661067 where "socket" was given the type:10681069 # type: dynamic()1070 # from: lib/phoenix_live_view/utils.ex:459:211071 socket10721073 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10741075 type warning found at:1076 │1077 460 │ %Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, {mod, template})}1078 │ ~1079 │1080 └─ lib/phoenix_live_view/utils.ex:460:5: Phoenix.LiveView.Utils.do_mount_opt/310811082 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:10831084 %Phoenix.LiveView.Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, false)}10851086 but got type:10871088 dynamic()10891090 where "socket" was given the type:10911092 # type: dynamic()1093 # from: lib/phoenix_live_view/utils.ex:463:211094 socket10951096 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10971098 type warning found at:1099 │1100 464 │ %Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, false)}1101 │ ~1102 │1103 └─ lib/phoenix_live_view/utils.ex:464:5: Phoenix.LiveView.Utils.do_mount_opt/311041105 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:11061107 %Phoenix.LiveView.Socket{1108 socket1109 | assigns: Map.merge(temp_assigns, socket.assigns),1110 private: Map.put(socket.private, :temporary_assigns, temp_assigns)1111 }11121113 but got type:11141115 dynamic()11161117 where "socket" was given the type:11181119 # type: dynamic()1120 # from: lib/phoenix_live_view/utils.ex:473:211121 socket11221123 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"11241125 type warning found at:1126 │1127 480 │ %Socket{1128 │ ~1129 │1130 └─ lib/phoenix_live_view/utils.ex:480:5: Phoenix.LiveView.Utils.do_mount_opt/311311132 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:11331134 %Phoenix.LiveView.Socket{1135 socket1136 | assigns: %Phoenix.LiveView.Socket.AssignsNotInSocket{__assigns__: assigns}1137 }11381139 but got type:11401141 dynamic(%{..., assigns: term()})11421143 where "socket" was given the type:11441145 # type: dynamic(%{..., assigns: term()})1146 # from: lib/phoenix_live_view/utils.ex:491:431147 %{assigns: assigns} = socket11481149 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"11501151 type warning found at:1152 │1153 492 │ socket = %Socket{socket | assigns: %Socket.AssignsNotInSocket{__assigns__: assigns}}1154 │ ~1155 │1156 └─ lib/phoenix_live_view/utils.ex:492:14: Phoenix.LiveView.Utils.render_assigns/111571158 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:11591160 %Phoenix.LiveView.UploadEntry{entry | preflighted?: true}11611162 but got type:11631164 dynamic()11651166 where "entry" was given the type:11671168 # type: dynamic()1169 # from: lib/phoenix_live_view/upload_config.ex:339:281170 entry <- conf.entries11711172 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"11731174 type warning found at:1175 │1176 339 │ | entries: for(entry <- conf.entries, do: %UploadEntry{entry | preflighted?: true})1177 │ ~1178 │1179 └─ lib/phoenix_live_view/upload_config.ex:339:49: Phoenix.LiveView.UploadConfig.mark_preflighted/111801181 warning: a struct for Phoenix.HTML.Form is expected on struct update:11821183 %Phoenix.HTML.Form{Phoenix.HTML.FormData.to_form(form_for, form_options) | action: action || "#"}11841185 but got type:11861187 dynamic()11881189 where "form_for" was given the type:11901191 # type: dynamic(not false and not nil)1192 # from: lib/phoenix_live_view/helpers.ex:1101:141193 form_for = assigns[:for] || :erlang.error(ArgumentError.exception("missing :for assign to form"))11941195 where "form_options" was given the type:11961197 # type: dynamic(list({term(), term()}))1198 # from: lib/phoenix_live_view/helpers.ex:1102:181199 form_options = assigns_to_attributes(assigns, [:action, :for])12001201 you must assign "Phoenix.HTML.FormData.to_form(form_for, form_options)" to variable and pattern match on "%Phoenix.HTML.Form{}"12021203 type warning found at:1204 │1205 1106 │ form = %Phoenix.HTML.Form{1206 │ ~1207 │1208 └─ lib/phoenix_live_view/helpers.ex:1106:14: Phoenix.LiveView.Helpers.form/112091210 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:12111212 %Phoenix.LiveView.UploadEntry{entry | valid?: true, uuid: generate_uuid()}12131214 but got type:12151216 dynamic()12171218 where "entry" was given the type:12191220 # type: dynamic()1221 # from: lib/phoenix_live_view/upload_config.ex:539:301222 entry12231224 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"12251226 type warning found at:1227 │1228 540 │ entry = %UploadEntry{entry | valid?: true, uuid: generate_uuid()}1229 │ ~1230 │1231 └─ lib/phoenix_live_view/upload_config.ex:540:13: Phoenix.LiveView.UploadConfig.put_valid_entry/212321233 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:12341235 %Phoenix.LiveView.UploadEntry{entry | valid?: false}12361237 but got type:12381239 dynamic()12401241 where "entry" was given the type:12421243 # type: dynamic()1244 # from: lib/phoenix_live_view/upload_config.ex:552:321245 entry12461247 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"12481249 type warning found at:1250 │1251 553 │ entry = %UploadEntry{entry | valid?: false}1252 │ ~1253 │1254 └─ lib/phoenix_live_view/upload_config.ex:553:13: Phoenix.LiveView.UploadConfig.put_invalid_entry/312551256 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:12571258 %Phoenix.LiveView.UploadEntry{entry | cancelled?: true}12591260 but got type:12611262 dynamic()12631264 where "entry" was given the type:12651266 # type: dynamic()1267 # from: lib/phoenix_live_view/upload_config.ex:635:421268 entry12691270 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"12711272 type warning found at:1273 │1274 635 │ update_entry(conf, entry.ref, fn entry -> %UploadEntry{entry | cancelled?: true} end)1275 │ ~1276 │1277 └─ lib/phoenix_live_view/upload_config.ex:635:51: Phoenix.LiveView.UploadConfig.cancel_entry/212781279 warning: Logger.disable/1 is deprecated. Use Logger.put_process_level(pid, :none) instead1280 │1281 72 │ Logger.disable(self())1282 │ ~1283 │1284 └─ lib/phoenix_live_view/test/client_proxy.ex:72:12: Phoenix.LiveViewTest.ClientProxy.init/112851286 warning: a struct for Phoenix.LiveViewTest.ClientProxy is expected on struct update:12871288 %Phoenix.LiveViewTest.ClientProxy{view | rendered: rendered}12891290 but got type:12911292 dynamic(%{..., rendered: map()})12931294 where "view" was given the type:12951296 # type: dynamic(%{..., rendered: map()})1297 # from: lib/phoenix_live_view/test/client_proxy.ex:701:241298 Phoenix.LiveViewTest.DOM.merge_diff(view.rendered, diff)12991300 when defining the variable "view", you must also pattern match on "%Phoenix.LiveViewTest.ClientProxy{}"13011302 type warning found at:1303 │1304 702 │ new_view = %ClientProxy{view | rendered: rendered}1305 │ ~1306 │1307 └─ lib/phoenix_live_view/test/client_proxy.ex:702:20: Phoenix.LiveViewTest.ClientProxy.merge_rendered/313081309 warning: the right-hand side of || (shown as ... below) will never be executed:13101311 conn.private[:live_view_connect_info] || prune_conn(conn) || ...13121313 because the left-hand side always evaluates to:13141315 dynamic(not false and not nil)13161317 where "conn" was given the types:13181319 # type: dynamic(%Plug.Conn{assigns: %{..., live_module: term()}, status: integer()})1320 # from: lib/phoenix_live_view/test/live_view_test.ex:320:721321 %Plug.Conn{status: 200, assigns: %{live_module: live_module}} = conn13221323 # type: dynamic(%Plug.Conn{1324 assigns: %{..., live_module: term()},1325 private:1326 %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or1327 non_struct_map(),1328 status: integer()1329 })1330 # from: lib/phoenix_live_view/test/live_view_test.ex:334:351331 conn.private[:live_view_connect_params]13321333 type warning found at:1334 │1335 335 │ connect_info: conn.private[:live_view_connect_info] || prune_conn(conn) || %{},1336 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1337 │1338 └─ lib/phoenix_live_view/test/live_view_test.ex:335: Phoenix.LiveViewTest.connect_from_static_token/213391340 warning: Plug.Conn.Query.decode_pair/2 is deprecated. Use decode_init/0, decode_each/2, and decode_done/2 instead1341 │1342 1095 │ Plug.Conn.Query.decode_pair({name, DOM.attribute(selected, "value")}, acc)1343 │ ~1344 │1345 └─ lib/phoenix_live_view/test/client_proxy.ex:1095:23: Phoenix.LiveViewTest.ClientProxy.form_defaults/31346 └─ lib/phoenix_live_view/test/client_proxy.ex:1100:21: Phoenix.LiveViewTest.ClientProxy.form_defaults/31347 └─ lib/phoenix_live_view/test/client_proxy.ex:1110:27: Phoenix.LiveViewTest.ClientProxy.form_defaults/31348 └─ lib/phoenix_live_view/test/client_proxy.ex:1119:25: Phoenix.LiveViewTest.ClientProxy.form_defaults/313491350 warning: the following clause is redundant:13511352 def update(assigns, _key, fun) when is_function(fun, 1) or is_function(fun, 2)13531354 it has type:13551356 dynamic(), dynamic(), dynamic((none() -> term()) or (none(), none() -> term()))13571358 previous clauses have already matched on the following types:13591360 %Phoenix.LiveView.Socket{}, term(), (none(), none() -> term())1361 %Phoenix.LiveView.Socket{}, term(), (none() -> term())1362 term(), term(), (none(), none() -> term())1363 term(), term(), (none() -> term())13641365 │1366 952 │ def update(assigns, _key, fun) when is_function(fun, 1) or is_function(fun, 2) do1367 │ ~1368 │1369 └─ lib/phoenix_live_view.ex:952:7: Phoenix.LiveView.update/313701371 warning: this clause of defp class_names/1 is never used (or it will always fail/warn when invoked)1372 │1373 603 │ defp class_names(nil), do: []1374 │ ~1375 │1376 └─ lib/phoenix_live_view/js.ex:603:8: Phoenix.LiveView.JS.class_names/113771378 warning: the following clause is redundant:13791380 def to_iodata(%_{} = struct)13811382 it has type:13831384 dynamic(%Phoenix.LiveView.Rendered{})13851386 previous clauses have already matched on the following types:13871388 %Phoenix.LiveView.Rendered{}13891390 │1391 127 │ def to_iodata(%_{} = struct) do1392 │ ~1393 │1394 └─ lib/phoenix_live_view/engine.ex:127:9: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/113951396 warning: the 1st pattern in clause will never match:13971398 nil13991400 because it is expected to receive type:14011402 dynamic(%Phoenix.LiveView.Rendered{})14031404 hint: defimpl for Phoenix.LiveView.Rendered requires its callbacks to match exclusively on %Phoenix.LiveView.Rendered{}14051406 type warning found at:1407 │1408 131 │ def to_iodata(nil) do1409 │ ~~~~~~~~~~~~~~~~~~~~~1410 │1411 └─ lib/phoenix_live_view/engine.ex:131: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/114121413 warning: the following clause is redundant:14141415 def to_iodata(other)14161417 it has type:14181419 dynamic(%Phoenix.LiveView.Rendered{})14201421 previous clauses have already matched on the following types:14221423 %Phoenix.LiveView.Rendered{}14241425 │1426 135 │ def to_iodata(other) do1427 │ ~1428 │1429 └─ lib/phoenix_live_view/engine.ex:135:9: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/114301431Generated phoenix_live_view app1432warning: Phoenix now requires you to explicitly list which engine to use1433for Phoenix JSON encoding. We recommend everyone to upgrade to1434Jason by setting in your config/config.exs:14351436 config :phoenix, :json_library, Jason14371438And then adding {:jason, "~> 1.0"} as a dependency.14391440If instead you would rather continue using Poison, then add to1441your config/config.exs:14421443 config :phoenix, :json_library, Poison14441445 (phoenix 1.6.17) lib/phoenix.ex:56: Phoenix.start/21446 (kernel 11.0.4) application_master.erl:299: :application_master.start_it_old/414471448warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1449 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21450 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11451 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51452 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21453 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41454 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/214551456==> phoenix_live_dashboard1457Compiling 40 files (.ex)1458 warning: using single-quoted strings to represent charlists is deprecated.1459 Use ~c"" if you indeed want a charlist or use "" instead.1460 You may run "mix format --migrate" to change all single-quoted1461 strings to use the ~c sigil and fix this warning.1462 │1463 709 │ '#Port' ++ rest = :erlang.port_to_list(ref)1464 │ ~1465 │1466 └─ lib/phoenix/live_dashboard/page_builder.ex:709:514671468 warning: using single-quoted strings to represent charlists is deprecated.1469 Use ~c"" if you indeed want a charlist or use "" instead.1470 You may run "mix format --migrate" to change all single-quoted1471 strings to use the ~c sigil and fix this warning.1472 │1473 728 │ '#Ref' ++ rest = :erlang.ref_to_list(ref)1474 │ ~1475 │1476 └─ lib/phoenix/live_dashboard/page_builder.ex:728:514771478 warning: using single-quoted strings to represent charlists is deprecated.1479 Use ~c"" if you indeed want a charlist or use "" instead.1480 You may run "mix format --migrate" to change all single-quoted1481 strings to use the ~c sigil and fix this warning.1482 │1483 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1484 │ ~1485 │1486 └─ lib/phoenix/live_dashboard/system_info.ex:446:1614871488 warning: using single-quoted strings to represent charlists is deprecated.1489 Use ~c"" if you indeed want a charlist or use "" instead.1490 You may run "mix format --migrate" to change all single-quoted1491 strings to use the ~c sigil and fix this warning.1492 │1493 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1494 │ ~1495 │1496 └─ lib/phoenix/live_dashboard/system_info.ex:446:2814971498 warning: using single-quoted strings to represent charlists is deprecated.1499 Use ~c"" if you indeed want a charlist or use "" instead.1500 You may run "mix format --migrate" to change all single-quoted1501 strings to use the ~c sigil and fix this warning.1502 │1503 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1504 │ ~1505 │1506 └─ lib/phoenix/live_dashboard/system_info.ex:446:4015071508 warning: using single-quoted strings to represent charlists is deprecated.1509 Use ~c"" if you indeed want a charlist or use "" instead.1510 You may run "mix format --migrate" to change all single-quoted1511 strings to use the ~c sigil and fix this warning.1512 │1513 654 │ [{'none', 0, 0}] -> []1514 │ ~1515 │1516 └─ lib/phoenix/live_dashboard/system_info.ex:654:1115171518warning: 0..-2 has a default step of -1, please write 0..-2//-1 instead1519 lib/phoenix/live_dashboard/page_live.ex:178: Phoenix.LiveDashboard.PageLive.dashboard_mount_path/315201521warning: 0..-3 has a default step of -1, please write 0..-3//-1 instead1522 lib/phoenix/live_dashboard/page_live.ex:178: Phoenix.LiveDashboard.PageLive.dashboard_mount_path/315231524 warning: expected a module (an atom) when invoking __live__/0 in expression:15251526 Map.put(component_assigns, :page, page).__live__()15271528 but got type:15291530 dynamic(%{..., page: term()})15311532 where "component_assigns" was given the type:15331534 # type: dynamic(map())1535 # from: lib/phoenix/live_dashboard/components/nav_bar_component.ex:218:391536 Map.put(component_assigns, :page, page)15371538 where "page" was given the type:15391540 # type: dynamic()1541 # from: lib/phoenix/live_dashboard/components/nav_bar_component.ex:215:231542 page15431544 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15451546 type warning found at:1547 │1548 218 │ live_component(component, Map.put(component_assigns, :page, page))1549 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1550 │1551 └─ lib/phoenix/live_dashboard/components/nav_bar_component.ex:218: Phoenix.LiveDashboard.NavBarComponent.render_content/215521553 warning: expected a module (an atom) when invoking __live__/0 in expression:15541555 component_assigns.__live__()15561557 where "component_assigns" was given the type:15581559 # type: dynamic(%{..., page: term()})1560 # from: lib/phoenix/live_dashboard/page_live.ex:238:231561 component_assigns = Map.put(component_assigns, :page, assigns.page)15621563 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15641565 type warning found at:1566 │1567 239 │ live_component(component, component_assigns)1568 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1569 │1570 └─ lib/phoenix/live_dashboard/page_live.ex:239: Phoenix.LiveDashboard.PageLive.render_page/215711572 warning: Postgrex.Interval.to_string/1 is undefined (module Postgrex.Interval is not available or is yet to be defined)1573 │1574 276 │ do: struct.to_string(value)1575 │ ~1576 │1577 └─ lib/phoenix/live_dashboard/pages/ecto_stats_page.ex:276:16: Phoenix.LiveDashboard.EctoStatsPage.format/215781579 warning: Logger.add_backend/1 is deprecated. Use LoggerBackends.add/2 from :logger_backends dependency1580 │1581 8 │ Logger.add_backend(Phoenix.LiveDashboard.LoggerPubSubBackend)1582 │ ~1583 │1584 └─ lib/phoenix/live_dashboard/application.ex:8:12: Phoenix.LiveDashboard.Application.start/215851586Generated phoenix_live_dashboard app1587==> swoosh1588Compiling 64 files (.ex)1589Generated swoosh app1590==> uuid1591Compiling 1 file (.ex)1592 warning: use Bitwise is deprecated. import Bitwise instead1593 │1594 2 │ use Bitwise, only_operators: true1595 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1596 │1597 └─ lib/uuid.ex:2: UUID (module)15981599Generated uuid app1600warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1601 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21602 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11603 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51604 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21605 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41606 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/216071608==> axentity1609Compiling 4 files (.ex)1610 warning: unused require UUID1611 │1612 15 │ require UUID1613 │ ~1614 │1615 └─ lib/entity.ex:15:316161617 warning: incompatible types given to Keyword.get/2:16181619 Keyword.get(data, key)16201621 given types:16221623 -dynamic(%{..., __struct__: Keyword})-, dynamic(atom())16241625 but expected one of:16261627 empty_list() or non_empty_list(term(), term()), atom()16281629 where "data" was given the type:16301631 # type: dynamic(%{..., __struct__: Keyword})1632 # from: lib/persitable/impl/any.ex:28:111633 data16341635 where "key" was given the types:16361637 # type: dynamic()1638 # from: lib/persitable/impl/any.ex:28:171639 key16401641 # type: dynamic(atom())1642 # from: lib/persitable/impl/any.ex:28:351643 Keyword.get(data, key)16441645 type warning found at:1646 │1647 28 │ def get(data, key), do: Keyword.get(data, key)1648 │ ~1649 │1650 └─ lib/persitable/impl/any.ex:28:35: Altex.Persistable.Keyword.get/216511652Generated axentity app1653warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1654 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21655 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11656 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51657 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21658 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41659 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/216601661==> axrepo1662Compiling 7 files (.ex)1663 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead1664 │1665 12 │ @data_path Application.get_env(:axrepo, :dets_path, "data/dev")1666 │ ~1667 │1668 └─ lib/repo/impl/dets.ex:12:26: Altex.Repo.Gateway.DETS (module)16691670Generated axrepo app1671==> web_client1672could not compile dependency :ax_webclient, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ax_webclient --force", update it with "mix deps.update ax_webclient" or clean it with "mix deps.clean ax_webclient"1673==> nerves_compatibility_test1674** (Mix) The task "compile.gettext" could not be found. Did you mean "compile.leex"?