Build log
host
ax_webclient 0.1.1 · fail · run ax_webclient-0.1.1-1794769560669
1610 of 1610 lines
1Resolving Hex dependencies...2Resolution completed in 0.078s3Unchanged: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-10596321Found retired packages, see above for details22Found packages with security advisories, see above for details23All dependencies have been fetched24==> tablet25Compiling 2 files (.ex)26Generated tablet app27==> nerves_discovery28Compiling 5 files (.ex)29Generated nerves_discovery app30==> interactive_cmd31Compiling 1 file (.ex)32Generated interactive_cmd app33==> nerves34Compiling 65 files (.ex)35Generated nerves app36==> floki37Compiling 1 file (.xrl)38Compiling 2 files (.erl)39Compiling 30 files (.ex)40Generated floki app41==> mime42Compiling 1 file (.ex)43Generated mime app44==> circular_buffer45Compiling 1 file (.ex)46Generated circular_buffer app47==> jason48Compiling 10 files (.ex)49Generated jason app50==> esbuild51Compiling 4 files (.ex)52Generated esbuild app53==> logger_backends54Compiling 7 files (.ex)55Generated logger_backends app56==> plug_crypto57Compiling 5 files (.ex)58Generated plug_crypto app59==> nerves_compatibility_test60===> Analyzing applications...61===> Compiling ranch62==> elixir_make63Compiling 8 files (.ex)64Generated elixir_make app65==> nerves_logging66 CC kmsg_tailer.o67 LD kmsg_tailer68Not crosscompiling. To test locally, the port binary needs extra permissions.69Set SUDO=sudo to set permissions. The default is to skip this step.70SUDO_ASKPASS=/usr/bin/ssh-askpass71SUDO=true72Compiling 5 files (.ex)73Generated nerves_logging app74==> castore75Compiling 1 file (.ex)76Generated castore app77==> earmark78Compiling 2 files (.xrl)79Compiling 1 file (.yrl)80Compiling 3 files (.erl)81Compiling 61 files (.ex)82 warning: unused require Logger83 │84 3 │ require Logger85 │ ~86 │87 └─ lib/earmark_parser/line_scanner.ex:3:38889 warning: this clause of defp _maybe_remove_paras/2 is never used (or it will always fail/warn when invoked)90 │91 616 │ defp _maybe_remove_paras(ast, %Options{inner_html: true}) do92 │ ~93 │94 └─ lib/earmark/transform.ex:616:8: Earmark.Transform._maybe_remove_paras/29596Generated earmark app97==> nerves_compatibility_test98===> Analyzing applications...99===> Compiling cowlib100==> ring_logger101Compiling 7 files (.ex)102Generated ring_logger app103==> nerves_compatibility_test104===> Analyzing applications...105===> Compiling idna106==> nimble_parsec107Compiling 4 files (.ex)108Generated nimble_parsec app109==> makeup110Compiling 15 files (.ex)111Generated makeup app112==> makeup_elixir113Compiling 6 files (.ex)114Compiling lib/makeup/lexers/elixir_lexer.ex (it's taking more than 10s)115Generated makeup_elixir app116==> makeup_erlang117Compiling 4 files (.ex)118Compiling lib/makeup/lexers/erlang_lexer.ex (it's taking more than 10s)119Generated makeup_erlang app120==> nimble_publisher121Compiling 2 files (.ex)122Generated nimble_publisher app123==> nerves_compatibility_test124===> Analyzing applications...125===> Compiling telemetry126==> telemetry_metrics127Compiling 7 files (.ex)128 warning: unused require Logger129 │130 391 │ require Logger131 │ ~132 │133 └─ lib/telemetry_metrics.ex:391:3134135Generated telemetry_metrics app136==> nerves_compatibility_test137===> Analyzing applications...138===> Compiling telemetry_poller139===> Analyzing applications...140===> Compiling cowboy141==> expo142Compiling 2 files (.erl)143Compiling 22 files (.ex)144Generated expo app145==> gettext146Compiling 18 files (.ex)147 warning: unused require Gettext.Macros148 │149 594 │ require Gettext.Macros150 │ ~151 │152 └─ lib/gettext.ex:594:3153154 warning: the following clause is redundant:155156 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)157158 it has type:159160 dynamic(%Expo.Message.Plural{})161162 previous clauses have already matched on the following types:163164 %Expo.Message.Singular{}165 %Expo.Message.Plural{}166167 │168 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do169 │ ~170 │171 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1172173 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead174 │175 426 │ Kernel.ParallelCompiler.async(fn ->176 │ ~177 │178 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3179180Generated gettext app181==> phoenix_pubsub182Compiling 13 files (.ex)183Generated phoenix_pubsub app184==> plug185Compiling 1 file (.erl)186Compiling 42 files (.ex)187Generated plug app188==> phoenix_html189Compiling 9 files (.ex)190 warning: comparison between distinct types found:191192 id == nil193194 given types:195196 dynamic(not false and not nil and not binary()) == nil197198 where "id" was given the types:199200 # type: dynamic(not false and not nil)201 # from: lib/phoenix_html/form_data.ex:92:8202 id = Keyword.get(opts, :id) || name203204 # type: dynamic(not false and not nil and not binary())205 # from: lib/phoenix_html/form_data.ex:94:12206 is_binary(id)207208 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 false209210 type warning found at:211 │212 94 │ unless is_binary(id) or is_nil(id) do213 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~214 │215 └─ lib/phoenix_html/form_data.ex:94: Phoenix.HTML.FormData.Atom.to_form/2216217 warning: the 1st pattern in clause will never match:218219 60220221 because it is expected to receive type:222223 dynamic(empty_list() or non_empty_list(term(), term()))224225 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())226227 type warning found at:228 │229 56 │ def to_iodata(?<), do: "<"230 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~231 │232 └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1233234 warning: the 1st pattern in clause will never match:235236 62237238 because it is expected to receive type:239240 dynamic(empty_list() or non_empty_list(term(), term()))241242 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())243244 type warning found at:245 │246 57 │ def to_iodata(?>), do: ">"247 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~248 │249 └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1250251 warning: the 1st pattern in clause will never match:252253 38254255 because it is expected to receive type:256257 dynamic(empty_list() or non_empty_list(term(), term()))258259 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())260261 type warning found at:262 │263 58 │ def to_iodata(?&), do: "&"264 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~265 │266 └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1267268 warning: the 1st pattern in clause will never match:269270 34271272 because it is expected to receive type:273274 dynamic(empty_list() or non_empty_list(term(), term()))275276 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())277278 type warning found at:279 │280 59 │ def to_iodata(?"), do: """281 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~282 │283 └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1284285 warning: the 1st pattern in clause will never match:286287 39288289 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 60 │ def to_iodata(?'), do: "'"298 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~299 │300 └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1301302 warning: the 1st pattern in clause will never match:303304 {:safe, data}305306 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 76 │ def to_iodata({:safe, data}) do315 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~316 │317 └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1318319 warning: the following clause is redundant:320321 def to_iodata(other)322323 it has type:324325 dynamic(empty_list() or non_empty_list(term(), term()))326327 previous clauses have already matched on the following types:328329 non_empty_list(term(), term())330 empty_list()331332 │333 80 │ def to_iodata(other) do334 │ ~335 │336 └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1337338 warning: the 1st pattern in clause will never match:339340 h341342 because it is expected to receive type:343344 dynamic(empty_list() or non_empty_list(term(), term()))345346 where "h" was given the type:347348 # type: integer()349 # from: lib/phoenix_html/safe.ex:62:25350 is_integer(h)351352 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())353354 type warning found at:355 │356 62 │ def to_iodata(h) when is_integer(h) and h <= 255 do357 │ ~358 │359 └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1360361 warning: the 1st pattern in clause will never match:362363 h364365 because it is expected to receive type:366367 dynamic(empty_list() or non_empty_list(term(), term()))368369 where "h" was given the type:370371 # type: integer()372 # from: lib/phoenix_html/safe.ex:66:25373 is_integer(h)374375 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())376377 type warning found at:378 │379 66 │ def to_iodata(h) when is_integer(h) do380 │ ~381 │382 └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1383384 warning: the 1st pattern in clause will never match:385386 h387388 because it is expected to receive type:389390 dynamic(empty_list() or non_empty_list(term(), term()))391392 where "h" was given the type:393394 # type: binary()395 # from: lib/phoenix_html/safe.ex:72:25396 is_binary(h)397398 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())399400 type warning found at:401 │402 72 │ def to_iodata(h) when is_binary(h) do403 │ ~404 │405 └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1406407Generated phoenix_html app408==> phoenix_template409Compiling 4 files (.ex)410Generated phoenix_template app411==> phoenix_view412Compiling 1 file (.ex)413 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 operator414 │415 655 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix416 │ ~417 │418 └─ lib/phoenix_view.ex:655:29: Phoenix.View.unsuffix/2419420Generated phoenix_view app421==> uboot_env422Compiling 5 files (.ex)423Generated uboot_env app424==> property_table425Compiling 8 files (.ex)426Generated property_table app427==> nerves_uevent428 CC uevent.o429 LD uevent430Not crosscompiling. To test locally, the port binary needs extra permissions.431Set SUDO=sudo to set permissions. The default is to skip this step.432SUDO_ASKPASS=/usr/bin/ssh-askpass433SUDO=true434Compiling 5 files (.ex)435Generated nerves_uevent app436==> nerves_runtime437Compiling 14 files (.ex)438Generated nerves_runtime app439==> toolshed440Compiling 5 files (.ex)441Generated toolshed app442==> nerves_compatibility_test443===> Analyzing applications...444===> Compiling cowboy_telemetry445==> plug_cowboy446Compiling 5 files (.ex)447Generated plug_cowboy app448warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"449 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2450 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1451 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5452 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2453 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4454 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2455456==> phoenix457Compiling 69 files (.ex)458 warning: using single-quoted strings to represent charlists is deprecated.459 Use ~c"" if you indeed want a charlist or use "" instead.460 You may run "mix format --migrate" to change all single-quoted461 strings to use the ~c sigil and fix this warning.462 │463 258 │ notBefore: {:utcTime, '#{not_before}000000Z'},464 │ ~465 │466 └─ lib/mix/tasks/phx.gen.cert.ex:258:33467468 warning: using single-quoted strings to represent charlists is deprecated.469 Use ~c"" if you indeed want a charlist or use "" instead.470 You may run "mix format --migrate" to change all single-quoted471 strings to use the ~c sigil and fix this warning.472 │473 259 │ notAfter: {:utcTime, '#{not_after}000000Z'}474 │ ~475 │476 └─ lib/mix/tasks/phx.gen.cert.ex:259:32477478 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead479 │480 50 │ Logger.warn(481 │ ~482 │483 └─ lib/phoenix/code_reloader/server.ex:50:20: Phoenix.CodeReloader.Server.handle_call/3484485 warning: unused require Logger486 │487 9 │ require Logger488 │ ~489 │490 └─ lib/phoenix/config.ex:9:3491492 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.493494 This error happens when you have function calls without parentheses inside keywords. For example:495496 function(arg, one: nested_call a, b, c)497 function(arg, one: if expr, do: :this, else: :that)498499 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:500501 function(arg, one: if(expr, do: :this, else: :that))502 function(arg, one: nested_call(a, b, c))503504 Ambiguity found at:505 │506 998 │ defp get_disposition_type(other), do: raise ArgumentError, "expected :disposition to be :attachment or :inline, got: #{inspect(other)}"507 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~508 │509 └─ lib/phoenix/controller.ex:998510511 warning: unused require Logger512 │513 259 │ require Logger514 │ ~515 │516 └─ lib/phoenix/endpoint.ex:259:3517518 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead519 │520 1009 │ Logger.warn "send_download/3 has been invoked during an AJAX request. " <>521 │ ~522 │523 └─ lib/phoenix/controller.ex:1009:14: Phoenix.Controller.warn_if_ajax/1524525 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead526 │527 34 │ Logger.warn("no configuration found for otp_app #{inspect(otp_app)} and module #{inspect(mod)}")528 │ ~529 │530 └─ lib/phoenix/endpoint/supervisor.ex:34:20: Phoenix.Endpoint.Supervisor.init/1531532 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead533 │534 57 │ Logger.warn(":instrumenters configuration for #{inspect(mod)} is deprecated and has no effect")535 │ ~536 │537 └─ lib/phoenix/endpoint/supervisor.ex:57:14: Phoenix.Endpoint.Supervisor.init/1538539 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead540 │541 78 │ Logger.warn """542 │ ~543 │544 └─ lib/phoenix/endpoint/supervisor.ex:78:14: Phoenix.Endpoint.Supervisor.pubsub_children/2545546 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead547 │548 264 │ Logger.warn("url: [host: ...] configuration value #{inspect(host)} for #{inspect(endpoint)} is invalid")549 │ ~550 │551 └─ lib/phoenix/endpoint/supervisor.ex:264:14: Phoenix.Endpoint.Supervisor.build_url/2552553 warning: unused require Phoenix.Endpoint554 │555 6 │ require Phoenix.Endpoint556 │ ~557 │558 └─ lib/phoenix/controller.ex:6:3559560 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 operator561 │562 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix563 │ ~564 │565 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2566567 warning: unused require Phoenix.Endpoint568 │569 19 │ require Phoenix.Endpoint570 │ ~571 │572 └─ lib/phoenix/endpoint/render_errors.ex:19:3573574 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.575576 This error happens when you have function calls without parentheses inside keywords. For example:577578 function(arg, one: nested_call a, b, c)579 function(arg, one: if expr, do: :this, else: :that)580581 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:582583 function(arg, one: if(expr, do: :this, else: :that))584 function(arg, one: nested_call(a, b, c))585586 Ambiguity found at:587 │588 71 │ unless actions -- supported_actions == [], do: raise ArgumentError, """589 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~590 │591 └─ lib/phoenix/router/resource.ex:71592593 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead594 │595 653 │ Logger.warn fn -> "Ignoring unmatched topic \"#{topic}\" in #{inspect(socket.handler)}" end596 │ ~597 │598 └─ lib/phoenix/socket.ex:653:16: Phoenix.Socket.handle_in/4599600 warning: unused require Phoenix.Endpoint601 │602 6 │ require Phoenix.Endpoint603 │ ~604 │605 └─ lib/phoenix/channel/server.ex:6:3606607 warning: unused require Phoenix.Endpoint608 │609 192 │ require Phoenix.Endpoint610 │ ~611 │612 └─ lib/phoenix/socket.ex:192:3613614 warning: unused require Logger615 │616 93 │ require Logger617 │ ~618 │619 └─ lib/phoenix/token.ex:93:3620621 warning: comparison between distinct types found:622623 merge_all != []624625 given types:626627 dynamic(non_empty_list({atom(), term()})) != empty_list()628629 where "merge_all" was given the type:630631 # type: dynamic(non_empty_list({atom(), term()}))632 # from: lib/phoenix/router/route.ex:111:15633 merge_all = merge_params ++ merge_private ++ merge_assigns634635 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 false636637 type warning found at:638 │639 113 │ if merge_all != [] do640 │ ~641 │642 └─ lib/phoenix/router/route.ex:113:18: Phoenix.Router.Route.build_prepare/1643644 warning: a struct for Plug.Conn is expected on struct update:645646 %Plug.Conn{conn | state: :sent}647648 but got type:649650 dynamic()651652 where "conn" was given the type:653654 # type: dynamic()655 # from: lib/phoenix/endpoint/render_errors.ex:57:17656 conn657658 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"659660 type warning found at:661 │662 61 │ %Plug.Conn{conn | state: :sent}663 │ ~664 │665 └─ lib/phoenix/endpoint/render_errors.ex:61:9: Phoenix.Endpoint.RenderErrors.__catch__/5666667 warning: a struct for Plug.Conn is expected on struct update:668669 %Plug.Conn{conn | query_params: %{}, params: %{}}670671 but got type:672673 dynamic(%{..., params: %Plug.Conn.Unfetched{}})674675 where "conn" was given the types:676677 # type: dynamic(%{..., params: term()})678 # from: lib/phoenix/endpoint/render_errors.ex:124:17679 conn.params680681 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})682 # from: lib/phoenix/endpoint/render_errors.ex:124:17683 conn.params684685 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"686687 type warning found at:688 │689 125 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}690 │ ~691 │692 └─ lib/phoenix/endpoint/render_errors.ex:125:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1693694 warning: a struct for Plug.Conn is expected on struct update:695696 %Plug.Conn{conn | query_params: %{}, params: params}697698 but got type:699700 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})701702 where "conn" was given the types:703704 # type: dynamic(%{..., params: term()})705 # from: lib/phoenix/endpoint/render_errors.ex:124:17706 conn.params707708 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})709 # from: lib/phoenix/endpoint/render_errors.ex:124:17710 conn.params711712 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"713714 type warning found at:715 │716 126 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}717 │ ~718 │719 └─ lib/phoenix/endpoint/render_errors.ex:126:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1720721 warning: incompatible types given to socket_children/1:722723 socket_children(mod)724725 given types:726727 -dynamic(atom())-728729 but expected one of:730731 %{..., __sockets__: term()}732733 where "mod" was given the types:734735 # type: dynamic(atom() or binary())736 # from: lib/phoenix/endpoint/supervisor.ex:27:41737 defaults(otp_app, mod)738739 # type: dynamic(atom())740 # from: lib/phoenix/endpoint/supervisor.ex:31:16741 mod.init(:supervisor, env_conf)742743 type warning found at:744 │745 67 │ socket_children(mod) ++746 │ ~747 │748 └─ lib/phoenix/endpoint/supervisor.ex:67:7: Phoenix.Endpoint.Supervisor.init/1749750 warning: expected a module (an atom) when invoking compress_file/2 in expression:751752 compressor.compress_file(file.digested_filename, file.digested_content)753754 where "compressor" was given the type:755756 # type: dynamic(%{..., file_extensions: non_empty_list(term(), term())})757 # from: lib/phoenix/digester.ex:167:28758 [file_extension | _] = compressor.file_extensions759760 where "file" was given the type:761762 # type: dynamic(%{..., relative_path: term()})763 # from: lib/phoenix/digester.ex:161:17764 Path.join(output_path, file.relative_path)765766 type warning found at:767 │768 170 │ compressor.compress_file(file.digested_filename, file.digested_content) do769 │ ~770 │771 └─ lib/phoenix/digester.ex:170:25: Phoenix.Digester.write_to_disk/2772773 warning: a struct for Plug.Conn is expected on struct update:774775 %Plug.Conn{conn | params: params}776777 but got type:778779 dynamic(%{..., params: map()})780781 where "conn" was given the type:782783 # type: dynamic(%{..., params: map()})784 # from: lib/phoenix/controller.ex:1036:17785 Map.get(conn.params, required_key)786787 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"788789 type warning found at:790 │791 1043 │ %Plug.Conn{conn | params: params}792 │ ~793 │794 └─ lib/phoenix/controller.ex:1043:5: Phoenix.Controller.scrub_params/2795796Generated phoenix app797warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"798 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2799 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1800 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5801 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2802 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4803 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2804805==> phoenix_live_view806Compiling 31 files (.ex)807 warning: using single-quoted strings to represent charlists is deprecated.808 Use ~c"" if you indeed want a charlist or use "" instead.809 You may run "mix format --migrate" to change all single-quoted810 strings to use the ~c sigil and fix this warning.811 │812 319 │ {'LiveView', view},813 │ ~814 │815 └─ lib/phoenix_live_view/channel.ex:319:10816817 warning: using single-quoted strings to represent charlists is deprecated.818 Use ~c"" if you indeed want a charlist or use "" instead.819 You may run "mix format --migrate" to change all single-quoted820 strings to use the ~c sigil and fix this warning.821 │822 320 │ {'Parent pid', parent_pid},823 │ ~824 │825 └─ lib/phoenix_live_view/channel.ex:320:10826827 warning: using single-quoted strings to represent charlists is deprecated.828 Use ~c"" if you indeed want a charlist or use "" instead.829 You may run "mix format --migrate" to change all single-quoted830 strings to use the ~c sigil and fix this warning.831 │832 321 │ {'Transport pid', transport_pid},833 │ ~834 │835 └─ lib/phoenix_live_view/channel.ex:321:10836837 warning: using single-quoted strings to represent charlists is deprecated.838 Use ~c"" if you indeed want a charlist or use "" instead.839 You may run "mix format --migrate" to change all single-quoted840 strings to use the ~c sigil and fix this warning.841 │842 322 │ {'Topic', topic},843 │ ~844 │845 └─ lib/phoenix_live_view/channel.ex:322:10846847 warning: using single-quoted strings to represent charlists is deprecated.848 Use ~c"" if you indeed want a charlist or use "" instead.849 You may run "mix format --migrate" to change all single-quoted850 strings to use the ~c sigil and fix this warning.851 │852 323 │ {'Components count', map_size(cid_to_component)}853 │ ~854 │855 └─ lib/phoenix_live_view/channel.ex:323:10856857 warning: using single-quoted strings to represent charlists is deprecated.858 Use ~c"" if you indeed want a charlist or use "" instead.859 You may run "mix format --migrate" to change all single-quoted860 strings to use the ~c sigil and fix this warning.861 │862 329 │ [data: [{'State', state}]]863 │ ~864 │865 └─ lib/phoenix_live_view/channel.ex:329:14866867 warning: using single-quoted strings to represent charlists is deprecated.868 Use ~c"" if you indeed want a charlist or use "" instead.869 You may run "mix format --migrate" to change all single-quoted870 strings to use the ~c sigil and fix this warning.871 │872 112 │ @codepoints '\s\n\r\t'873 │ ~874 │875 └─ lib/phoenix_live_view/html_algebra.ex:112:15876877 warning: using single-quoted strings to represent charlists is deprecated.878 Use ~c"" if you indeed want a charlist or use "" instead.879 You may run "mix format --migrate" to change all single-quoted880 strings to use the ~c sigil and fix this warning.881 │882 125 │ do: :binary.first(text) in '\n\r'883 │ ~884 │885 └─ lib/phoenix_live_view/html_algebra.ex:125:32886887 warning: using single-quoted strings to represent charlists is deprecated.888 Use ~c"" if you indeed want a charlist or use "" instead.889 You may run "mix format --migrate" to change all single-quoted890 strings to use the ~c sigil and fix this warning.891 │892 130 │ do: :binary.last(text) in '\n\r'893 │ ~894 │895 └─ lib/phoenix_live_view/html_algebra.ex:130:31896897 warning: using single-quoted strings to represent charlists is deprecated.898 Use ~c"" if you indeed want a charlist or use "" instead.899 You may run "mix format --migrate" to change all single-quoted900 strings to use the ~c sigil and fix this warning.901 │902 503 │ defp count_newlines_until_text(<<char, rest::binary>>, counter) when char in '\s\t\r',903 │ ~904 │905 └─ lib/phoenix_live_view/html_formatter.ex:503:80906907 warning: using single-quoted strings to represent charlists is deprecated.908 Use ~c"" if you indeed want a charlist or use "" instead.909 You may run "mix format --migrate" to change all single-quoted910 strings to use the ~c sigil and fix this warning.911 │912 536 │ do: if(String.trim_leading(text) == "", do: false, else: !(:binary.last(text) in '\s\t'))913 │ ~914 │915 └─ lib/phoenix_live_view/html_formatter.ex:536:86916917 warning: using single-quoted strings to represent charlists is deprecated.918 Use ~c"" if you indeed want a charlist or use "" instead.919 You may run "mix format --migrate" to change all single-quoted920 strings to use the ~c sigil and fix this warning.921 │922 546 │ if String.trim_leading(text) != "" and :binary.first(text) not in '\s\t\n\r' do923 │ ~924 │925 └─ lib/phoenix_live_view/html_formatter.ex:546:73926927 warning: using single-quoted strings to represent charlists is deprecated.928 Use ~c"" if you indeed want a charlist or use "" instead.929 You may run "mix format --migrate" to change all single-quoted930 strings to use the ~c sigil and fix this warning.931 │932 3 │ @space_chars '\s\t\f'933 │ ~934 │935 └─ lib/phoenix_live_view/html_tokenizer.ex:3:16936937 warning: using single-quoted strings to represent charlists is deprecated.938 Use ~c"" if you indeed want a charlist or use "" instead.939 You may run "mix format --migrate" to change all single-quoted940 strings to use the ~c sigil and fix this warning.941 │942 4 │ @quote_chars '"\''943 │ ~944 │945 └─ lib/phoenix_live_view/html_tokenizer.ex:4:16946947 warning: using single-quoted strings to represent charlists is deprecated.948 Use ~c"" if you indeed want a charlist or use "" instead.949 You may run "mix format --migrate" to change all single-quoted950 strings to use the ~c sigil and fix this warning.951 │952 5 │ @stop_chars '>/=\r\n' ++ @quote_chars ++ @space_chars953 │ ~954 │955 └─ lib/phoenix_live_view/html_tokenizer.ex:5:15956957 warning: unused require Logger958 │959 25 │ require Logger960 │ ~961 │962 └─ lib/phoenix_live_view/socket.ex:25:3963964 warning: unused require Phoenix.ChannelTest965 │966 179 │ require Phoenix.ChannelTest967 │ ~968 │969 └─ lib/phoenix_live_view/test/live_view_test.ex:179:3970971 warning: unused require Phoenix.ConnTest972 │973 178 │ require Phoenix.ConnTest974 │ ~975 │976 └─ lib/phoenix_live_view/test/live_view_test.ex:178:3977978 warning: unused require Phoenix.ChannelTest979 │980 4 │ require Phoenix.ChannelTest981 │ ~982 │983 └─ lib/phoenix_live_view/test/upload_client.ex:4:3984985 warning: unused require Logger986 │987 6 │ require Logger988 │ ~989 │990 └─ lib/phoenix_live_view/upload_channel.ex:6:3991992 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:993994 %Phoenix.LiveView.Socket{995 socket996 | private: Map.put(socket.private, :phoenix_live_layout, {mod, template})997 }998999 but got type:10001001 dynamic()10021003 where "socket" was given the type:10041005 # type: dynamic()1006 # from: lib/phoenix_live_view/utils.ex:459:211007 socket10081009 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10101011 type warning found at:1012 │1013 460 │ %Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, {mod, template})}1014 │ ~1015 │1016 └─ lib/phoenix_live_view/utils.ex:460:5: Phoenix.LiveView.Utils.do_mount_opt/310171018 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:10191020 %Phoenix.LiveView.Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, false)}10211022 but got type:10231024 dynamic()10251026 where "socket" was given the type:10271028 # type: dynamic()1029 # from: lib/phoenix_live_view/utils.ex:463:211030 socket10311032 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10331034 type warning found at:1035 │1036 464 │ %Socket{socket | private: Map.put(socket.private, :phoenix_live_layout, false)}1037 │ ~1038 │1039 └─ lib/phoenix_live_view/utils.ex:464:5: Phoenix.LiveView.Utils.do_mount_opt/310401041 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:10421043 %Phoenix.LiveView.Socket{1044 socket1045 | assigns: Map.merge(temp_assigns, socket.assigns),1046 private: Map.put(socket.private, :temporary_assigns, temp_assigns)1047 }10481049 but got type:10501051 dynamic()10521053 where "socket" was given the type:10541055 # type: dynamic()1056 # from: lib/phoenix_live_view/utils.ex:473:211057 socket10581059 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10601061 type warning found at:1062 │1063 480 │ %Socket{1064 │ ~1065 │1066 └─ lib/phoenix_live_view/utils.ex:480:5: Phoenix.LiveView.Utils.do_mount_opt/310671068 warning: a struct for Phoenix.LiveView.Socket is expected on struct update:10691070 %Phoenix.LiveView.Socket{1071 socket1072 | assigns: %Phoenix.LiveView.Socket.AssignsNotInSocket{__assigns__: assigns}1073 }10741075 but got type:10761077 dynamic(%{..., assigns: term()})10781079 where "socket" was given the type:10801081 # type: dynamic(%{..., assigns: term()})1082 # from: lib/phoenix_live_view/utils.ex:491:431083 %{assigns: assigns} = socket10841085 when defining the variable "socket", you must also pattern match on "%Phoenix.LiveView.Socket{}"10861087 type warning found at:1088 │1089 492 │ socket = %Socket{socket | assigns: %Socket.AssignsNotInSocket{__assigns__: assigns}}1090 │ ~1091 │1092 └─ lib/phoenix_live_view/utils.ex:492:14: Phoenix.LiveView.Utils.render_assigns/110931094 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:10951096 %Phoenix.LiveView.UploadEntry{entry | preflighted?: true}10971098 but got type:10991100 dynamic()11011102 where "entry" was given the type:11031104 # type: dynamic()1105 # from: lib/phoenix_live_view/upload_config.ex:339:281106 entry <- conf.entries11071108 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"11091110 type warning found at:1111 │1112 339 │ | entries: for(entry <- conf.entries, do: %UploadEntry{entry | preflighted?: true})1113 │ ~1114 │1115 └─ lib/phoenix_live_view/upload_config.ex:339:49: Phoenix.LiveView.UploadConfig.mark_preflighted/111161117 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:11181119 %Phoenix.LiveView.UploadEntry{entry | valid?: true, uuid: generate_uuid()}11201121 but got type:11221123 dynamic()11241125 where "entry" was given the type:11261127 # type: dynamic()1128 # from: lib/phoenix_live_view/upload_config.ex:539:301129 entry11301131 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"11321133 type warning found at:1134 │1135 540 │ entry = %UploadEntry{entry | valid?: true, uuid: generate_uuid()}1136 │ ~1137 │1138 └─ lib/phoenix_live_view/upload_config.ex:540:13: Phoenix.LiveView.UploadConfig.put_valid_entry/211391140 warning: a struct for Phoenix.HTML.Form is expected on struct update:11411142 %Phoenix.HTML.Form{Phoenix.HTML.FormData.to_form(form_for, form_options) | action: action || "#"}11431144 but got type:11451146 dynamic()11471148 where "form_for" was given the type:11491150 # type: dynamic(not false and not nil)1151 # from: lib/phoenix_live_view/helpers.ex:1101:141152 form_for = assigns[:for] || :erlang.error(ArgumentError.exception("missing :for assign to form"))11531154 where "form_options" was given the type:11551156 # type: dynamic(list({term(), term()}))1157 # from: lib/phoenix_live_view/helpers.ex:1102:181158 form_options = assigns_to_attributes(assigns, [:action, :for])11591160 you must assign "Phoenix.HTML.FormData.to_form(form_for, form_options)" to variable and pattern match on "%Phoenix.HTML.Form{}"11611162 type warning found at:1163 │1164 1106 │ form = %Phoenix.HTML.Form{1165 │ ~1166 │1167 └─ lib/phoenix_live_view/helpers.ex:1106:14: Phoenix.LiveView.Helpers.form/111681169 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:11701171 %Phoenix.LiveView.UploadEntry{entry | valid?: false}11721173 but got type:11741175 dynamic()11761177 where "entry" was given the type:11781179 # type: dynamic()1180 # from: lib/phoenix_live_view/upload_config.ex:552:321181 entry11821183 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"11841185 type warning found at:1186 │1187 553 │ entry = %UploadEntry{entry | valid?: false}1188 │ ~1189 │1190 └─ lib/phoenix_live_view/upload_config.ex:553:13: Phoenix.LiveView.UploadConfig.put_invalid_entry/311911192 warning: a struct for Phoenix.LiveView.UploadEntry is expected on struct update:11931194 %Phoenix.LiveView.UploadEntry{entry | cancelled?: true}11951196 but got type:11971198 dynamic()11991200 where "entry" was given the type:12011202 # type: dynamic()1203 # from: lib/phoenix_live_view/upload_config.ex:635:421204 entry12051206 when defining the variable "entry", you must also pattern match on "%Phoenix.LiveView.UploadEntry{}"12071208 type warning found at:1209 │1210 635 │ update_entry(conf, entry.ref, fn entry -> %UploadEntry{entry | cancelled?: true} end)1211 │ ~1212 │1213 └─ lib/phoenix_live_view/upload_config.ex:635:51: Phoenix.LiveView.UploadConfig.cancel_entry/212141215 warning: Logger.disable/1 is deprecated. Use Logger.put_process_level(pid, :none) instead1216 │1217 72 │ Logger.disable(self())1218 │ ~1219 │1220 └─ lib/phoenix_live_view/test/client_proxy.ex:72:12: Phoenix.LiveViewTest.ClientProxy.init/112211222 warning: a struct for Phoenix.LiveViewTest.ClientProxy is expected on struct update:12231224 %Phoenix.LiveViewTest.ClientProxy{view | rendered: rendered}12251226 but got type:12271228 dynamic(%{..., rendered: map()})12291230 where "view" was given the type:12311232 # type: dynamic(%{..., rendered: map()})1233 # from: lib/phoenix_live_view/test/client_proxy.ex:701:241234 Phoenix.LiveViewTest.DOM.merge_diff(view.rendered, diff)12351236 when defining the variable "view", you must also pattern match on "%Phoenix.LiveViewTest.ClientProxy{}"12371238 type warning found at:1239 │1240 702 │ new_view = %ClientProxy{view | rendered: rendered}1241 │ ~1242 │1243 └─ lib/phoenix_live_view/test/client_proxy.ex:702:20: Phoenix.LiveViewTest.ClientProxy.merge_rendered/312441245 warning: the right-hand side of || (shown as ... below) will never be executed:12461247 conn.private[:live_view_connect_info] || prune_conn(conn) || ...12481249 because the left-hand side always evaluates to:12501251 dynamic(not false and not nil)12521253 where "conn" was given the types:12541255 # type: dynamic(%Plug.Conn{assigns: %{..., live_module: term()}, status: integer()})1256 # from: lib/phoenix_live_view/test/live_view_test.ex:320:721257 %Plug.Conn{status: 200, assigns: %{live_module: live_module}} = conn12581259 # type: dynamic(%Plug.Conn{1260 assigns: %{..., live_module: term()},1261 private:1262 %{..., __struct__: atom()} or nil or empty_list() or non_empty_list(term(), term()) or1263 non_struct_map(),1264 status: integer()1265 })1266 # from: lib/phoenix_live_view/test/live_view_test.ex:334:351267 conn.private[:live_view_connect_params]12681269 type warning found at:1270 │1271 335 │ connect_info: conn.private[:live_view_connect_info] || prune_conn(conn) || %{},1272 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1273 │1274 └─ lib/phoenix_live_view/test/live_view_test.ex:335: Phoenix.LiveViewTest.connect_from_static_token/212751276 warning: Plug.Conn.Query.decode_pair/2 is deprecated. Use decode_init/0, decode_each/2, and decode_done/2 instead1277 │1278 1095 │ Plug.Conn.Query.decode_pair({name, DOM.attribute(selected, "value")}, acc)1279 │ ~1280 │1281 └─ lib/phoenix_live_view/test/client_proxy.ex:1095:23: Phoenix.LiveViewTest.ClientProxy.form_defaults/31282 └─ lib/phoenix_live_view/test/client_proxy.ex:1100:21: Phoenix.LiveViewTest.ClientProxy.form_defaults/31283 └─ lib/phoenix_live_view/test/client_proxy.ex:1110:27: Phoenix.LiveViewTest.ClientProxy.form_defaults/31284 └─ lib/phoenix_live_view/test/client_proxy.ex:1119:25: Phoenix.LiveViewTest.ClientProxy.form_defaults/312851286 warning: the following clause is redundant:12871288 def update(assigns, _key, fun) when is_function(fun, 1) or is_function(fun, 2)12891290 it has type:12911292 dynamic(), dynamic(), dynamic((none() -> term()) or (none(), none() -> term()))12931294 previous clauses have already matched on the following types:12951296 %Phoenix.LiveView.Socket{}, term(), (none(), none() -> term())1297 %Phoenix.LiveView.Socket{}, term(), (none() -> term())1298 term(), term(), (none(), none() -> term())1299 term(), term(), (none() -> term())13001301 │1302 952 │ def update(assigns, _key, fun) when is_function(fun, 1) or is_function(fun, 2) do1303 │ ~1304 │1305 └─ lib/phoenix_live_view.ex:952:7: Phoenix.LiveView.update/313061307 warning: this clause of defp class_names/1 is never used (or it will always fail/warn when invoked)1308 │1309 603 │ defp class_names(nil), do: []1310 │ ~1311 │1312 └─ lib/phoenix_live_view/js.ex:603:8: Phoenix.LiveView.JS.class_names/113131314 warning: the following clause is redundant:13151316 def to_iodata(%_{} = struct)13171318 it has type:13191320 dynamic(%Phoenix.LiveView.Rendered{})13211322 previous clauses have already matched on the following types:13231324 %Phoenix.LiveView.Rendered{}13251326 │1327 127 │ def to_iodata(%_{} = struct) do1328 │ ~1329 │1330 └─ lib/phoenix_live_view/engine.ex:127:9: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/113311332 warning: the 1st pattern in clause will never match:13331334 nil13351336 because it is expected to receive type:13371338 dynamic(%Phoenix.LiveView.Rendered{})13391340 hint: defimpl for Phoenix.LiveView.Rendered requires its callbacks to match exclusively on %Phoenix.LiveView.Rendered{}13411342 type warning found at:1343 │1344 131 │ def to_iodata(nil) do1345 │ ~~~~~~~~~~~~~~~~~~~~~1346 │1347 └─ lib/phoenix_live_view/engine.ex:131: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/113481349 warning: the following clause is redundant:13501351 def to_iodata(other)13521353 it has type:13541355 dynamic(%Phoenix.LiveView.Rendered{})13561357 previous clauses have already matched on the following types:13581359 %Phoenix.LiveView.Rendered{}13601361 │1362 135 │ def to_iodata(other) do1363 │ ~1364 │1365 └─ lib/phoenix_live_view/engine.ex:135:9: Phoenix.HTML.Safe.Phoenix.LiveView.Rendered.to_iodata/113661367Generated phoenix_live_view app1368warning: Phoenix now requires you to explicitly list which engine to use1369for Phoenix JSON encoding. We recommend everyone to upgrade to1370Jason by setting in your config/config.exs:13711372 config :phoenix, :json_library, Jason13731374And then adding {:jason, "~> 1.0"} as a dependency.13751376If instead you would rather continue using Poison, then add to1377your config/config.exs:13781379 config :phoenix, :json_library, Poison13801381 (phoenix 1.6.17) lib/phoenix.ex:56: Phoenix.start/21382 (kernel 11.0.4) application_master.erl:299: :application_master.start_it_old/413831384warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1385 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21386 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11387 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51388 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21389 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41390 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/213911392==> phoenix_live_dashboard1393Compiling 40 files (.ex)1394 warning: using single-quoted strings to represent charlists is deprecated.1395 Use ~c"" if you indeed want a charlist or use "" instead.1396 You may run "mix format --migrate" to change all single-quoted1397 strings to use the ~c sigil and fix this warning.1398 │1399 709 │ '#Port' ++ rest = :erlang.port_to_list(ref)1400 │ ~1401 │1402 └─ lib/phoenix/live_dashboard/page_builder.ex:709:514031404 warning: using single-quoted strings to represent charlists is deprecated.1405 Use ~c"" if you indeed want a charlist or use "" instead.1406 You may run "mix format --migrate" to change all single-quoted1407 strings to use the ~c sigil and fix this warning.1408 │1409 728 │ '#Ref' ++ rest = :erlang.ref_to_list(ref)1410 │ ~1411 │1412 └─ lib/phoenix/live_dashboard/page_builder.ex:728:514131414 warning: using single-quoted strings to represent charlists is deprecated.1415 Use ~c"" if you indeed want a charlist or use "" instead.1416 You may run "mix format --migrate" to change all single-quoted1417 strings to use the ~c sigil and fix this warning.1418 │1419 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1420 │ ~1421 │1422 └─ lib/phoenix/live_dashboard/system_info.ex:446:1614231424 warning: using single-quoted strings to represent charlists is deprecated.1425 Use ~c"" if you indeed want a charlist or use "" instead.1426 You may run "mix format --migrate" to change all single-quoted1427 strings to use the ~c sigil and fix this warning.1428 │1429 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1430 │ ~1431 │1432 └─ lib/phoenix/live_dashboard/system_info.ex:446:2814331434 warning: using single-quoted strings to represent charlists is deprecated.1435 Use ~c"" if you indeed want a charlist or use "" instead.1436 You may run "mix format --migrate" to change all single-quoted1437 strings to use the ~c sigil and fix this warning.1438 │1439 446 │ @inet_ports ['tcp_inet', 'udp_inet', 'sctp_inet']1440 │ ~1441 │1442 └─ lib/phoenix/live_dashboard/system_info.ex:446:4014431444 warning: using single-quoted strings to represent charlists is deprecated.1445 Use ~c"" if you indeed want a charlist or use "" instead.1446 You may run "mix format --migrate" to change all single-quoted1447 strings to use the ~c sigil and fix this warning.1448 │1449 654 │ [{'none', 0, 0}] -> []1450 │ ~1451 │1452 └─ lib/phoenix/live_dashboard/system_info.ex:654:1114531454warning: 0..-2 has a default step of -1, please write 0..-2//-1 instead1455 lib/phoenix/live_dashboard/page_live.ex:178: Phoenix.LiveDashboard.PageLive.dashboard_mount_path/314561457warning: 0..-3 has a default step of -1, please write 0..-3//-1 instead1458 lib/phoenix/live_dashboard/page_live.ex:178: Phoenix.LiveDashboard.PageLive.dashboard_mount_path/314591460 warning: expected a module (an atom) when invoking __live__/0 in expression:14611462 Map.put(component_assigns, :page, page).__live__()14631464 but got type:14651466 dynamic(%{..., page: term()})14671468 where "component_assigns" was given the type:14691470 # type: dynamic(map())1471 # from: lib/phoenix/live_dashboard/components/nav_bar_component.ex:218:391472 Map.put(component_assigns, :page, page)14731474 where "page" was given the type:14751476 # type: dynamic()1477 # from: lib/phoenix/live_dashboard/components/nav_bar_component.ex:215:231478 page14791480 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()14811482 type warning found at:1483 │1484 218 │ live_component(component, Map.put(component_assigns, :page, page))1485 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1486 │1487 └─ lib/phoenix/live_dashboard/components/nav_bar_component.ex:218: Phoenix.LiveDashboard.NavBarComponent.render_content/214881489 warning: expected a module (an atom) when invoking __live__/0 in expression:14901491 component_assigns.__live__()14921493 where "component_assigns" was given the type:14941495 # type: dynamic(%{..., page: term()})1496 # from: lib/phoenix/live_dashboard/page_live.ex:238:231497 component_assigns = Map.put(component_assigns, :page, assigns.page)14981499 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15001501 type warning found at:1502 │1503 239 │ live_component(component, component_assigns)1504 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1505 │1506 └─ lib/phoenix/live_dashboard/page_live.ex:239: Phoenix.LiveDashboard.PageLive.render_page/215071508 warning: Postgrex.Interval.to_string/1 is undefined (module Postgrex.Interval is not available or is yet to be defined)1509 │1510 276 │ do: struct.to_string(value)1511 │ ~1512 │1513 └─ lib/phoenix/live_dashboard/pages/ecto_stats_page.ex:276:16: Phoenix.LiveDashboard.EctoStatsPage.format/215141515 warning: Logger.add_backend/1 is deprecated. Use LoggerBackends.add/2 from :logger_backends dependency1516 │1517 8 │ Logger.add_backend(Phoenix.LiveDashboard.LoggerPubSubBackend)1518 │ ~1519 │1520 └─ lib/phoenix/live_dashboard/application.ex:8:12: Phoenix.LiveDashboard.Application.start/215211522Generated phoenix_live_dashboard app1523==> swoosh1524Compiling 64 files (.ex)1525Generated swoosh app1526==> uuid1527Compiling 1 file (.ex)1528 warning: use Bitwise is deprecated. import Bitwise instead1529 │1530 2 │ use Bitwise, only_operators: true1531 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1532 │1533 └─ lib/uuid.ex:2: UUID (module)15341535Generated uuid app1536warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1537 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21538 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11539 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51540 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21541 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41542 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/215431544==> axentity1545Compiling 4 files (.ex)1546 warning: unused require UUID1547 │1548 15 │ require UUID1549 │ ~1550 │1551 └─ lib/entity.ex:15:315521553 warning: incompatible types given to Keyword.get/2:15541555 Keyword.get(data, key)15561557 given types:15581559 -dynamic(%{..., __struct__: Keyword})-, dynamic(atom())15601561 but expected one of:15621563 empty_list() or non_empty_list(term(), term()), atom()15641565 where "data" was given the type:15661567 # type: dynamic(%{..., __struct__: Keyword})1568 # from: lib/persitable/impl/any.ex:28:111569 data15701571 where "key" was given the types:15721573 # type: dynamic()1574 # from: lib/persitable/impl/any.ex:28:171575 key15761577 # type: dynamic(atom())1578 # from: lib/persitable/impl/any.ex:28:351579 Keyword.get(data, key)15801581 type warning found at:1582 │1583 28 │ def get(data, key), do: Keyword.get(data, key)1584 │ ~1585 │1586 └─ lib/persitable/impl/any.ex:28:35: Altex.Persistable.Keyword.get/215871588Generated axentity app1589warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1590 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21591 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11592 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51593 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21594 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41595 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/215961597==> axrepo1598Compiling 7 files (.ex)1599 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead1600 │1601 12 │ @data_path Application.get_env(:axrepo, :dets_path, "data/dev")1602 │ ~1603 │1604 └─ lib/repo/impl/dets.ex:12:26: Altex.Repo.Gateway.DETS (module)16051606Generated axrepo app1607==> web_client1608could 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"1609==> nerves_compatibility_test1610** (Mix) The task "compile.gettext" could not be found. Did you mean "compile.leex"?