Build log
host
bank_stone 0.1.0 · fail · run bank_stone-0.1.0-1794770056242
1137 of 1137 lines
1Resolving Hex dependencies...2Resolution completed in 0.067s3Unchanged:4 phoenix 1.4.18 VULNERABLE!5 GHSA-p8f7-22gq-m7j9 (HIGH)6 aka: CVE-2022-429757 Phoenix before 1.6.14 mishandles check_origin wildcarding8 https://osv.dev/vulnerability/GHSA-p8f7-22gq-m7j9910 EEF-CVE-2026-56812 (MEDIUM)11 aka: CVE-2026-56812, GHSA-63mc-hw7g-86rr12 Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff13 https://osv.dev/vulnerability/EEF-CVE-2026-568121415 EEF-CVE-2026-56811 (HIGH)16 aka: CVE-2026-56811, GHSA-6983-jfq8-485w17 Phoenix transports do not limit channel joins per connection, enabling process-exhaustion denial of service18 https://osv.dev/vulnerability/EEF-CVE-2026-5681119Found packages with security advisories, see above for details20All dependencies have been fetched21==> tablet22Compiling 2 files (.ex)23Generated tablet app24==> nerves_discovery25Compiling 5 files (.ex)26Generated nerves_discovery app27==> interactive_cmd28Compiling 1 file (.ex)29Generated interactive_cmd app30==> nerves31Compiling 65 files (.ex)32Generated nerves app33==> mime34Compiling 1 file (.ex)35Generated mime app36==> circular_buffer37Compiling 1 file (.ex)38Generated circular_buffer app39==> logger_backends40Compiling 7 files (.ex)41Generated logger_backends app42==> plug_crypto43Compiling 5 files (.ex)44Generated plug_crypto app45==> nerves_compatibility_test46===> Analyzing applications...47===> Compiling ranch48==> elixir_make49Compiling 8 files (.ex)50Generated elixir_make app51==> nerves_logging52 CC kmsg_tailer.o53 LD kmsg_tailer54Not crosscompiling. To test locally, the port binary needs extra permissions.55Set SUDO=sudo to set permissions. The default is to skip this step.56SUDO_ASKPASS=/usr/bin/ssh-askpass57SUDO=true58Compiling 5 files (.ex)59Generated nerves_logging app60==> argon2_elixir61mkdir -p priv62cc -pthread -O3 -Wall -g -Iargon2/include -Iargon2/src -Ic_src -I/usr/local/lib/erlang/erts-17.1.1/include -shared -fPIC -fvisibility=hidden -Wl,-soname,libargon2.so.0 argon2/src/argon2.c argon2/src/core.c argon2/src/blake2/blake2b.c argon2/src/thread.c argon2/src/encoding.c argon2/src/ref.c c_src/argon2_nif.c -o priv/argon2_nif.so63Compiling 3 files (.ex)64 warning: using single-quoted strings to represent charlists is deprecated.65 Use ~c"" if you indeed want a charlist or use "" instead.66 You may run "mix format --migrate" to change all single-quoted67 strings to use the ~c sigil and fix this warning.68 │69 141 │ path = :filename.join(:code.priv_dir(:argon2_elixir), 'argon2_nif')70 │ ~71 │72 └─ lib/argon2/base.ex:141:597374Generated argon2_elixir app75==> comeonin76Compiling 2 files (.ex)77Generated comeonin app78==> nerves_compatibility_test79===> Analyzing applications...80===> Compiling cowlib81==> ring_logger82Compiling 7 files (.ex)83Generated ring_logger app84==> decimal85Compiling 4 files (.ex)86Generated decimal app87==> jason88Compiling 10 files (.ex)89Generated jason app90==> sobelow91Compiling 91 files (.ex)92Generated sobelow app93==> nerves_compatibility_test94===> Analyzing applications...95===> Compiling telemetry96==> db_connection97Compiling 18 files (.ex)98Generated db_connection app99==> ecto100Compiling 56 files (.ex)101Generated ecto app102==> nerves_compatibility_test103===> Analyzing applications...104===> Compiling cowboy105==> expo106Compiling 2 files (.erl)107Compiling 22 files (.ex)108Generated expo app109==> gettext110Compiling 18 files (.ex)111 warning: unused require Gettext.Macros112 │113 594 │ require Gettext.Macros114 │ ~115 │116 └─ lib/gettext.ex:594:3117118 warning: the following clause is redundant:119120 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)121122 it has type:123124 dynamic(%Expo.Message.Plural{})125126 previous clauses have already matched on the following types:127128 %Expo.Message.Singular{}129 %Expo.Message.Plural{}130131 │132 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do133 │ ~134 │135 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1136137 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead138 │139 426 │ Kernel.ParallelCompiler.async(fn ->140 │ ~141 │142 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3143144Generated gettext app145==> phoenix_pubsub146Compiling 13 files (.ex)147 warning: single quotes around atoms are deprecated. Use double quotes instead148 │149 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])150 │ ~151 │152 └─ lib/phoenix/pubsub/local.ex:160:23153154 warning: single quotes around atoms are deprecated. Use double quotes instead155 │156 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])157 │ ~158 │159 └─ lib/phoenix/pubsub/local.ex:160:40160161 warning: unused require Logger162 │163 107 │ require Logger164 │ ~165 │166 └─ lib/phoenix/tracker.ex:107:3167168 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:169170 %Phoenix.Tracker.Replica{replica | status: :permdown}171172 but got type:173174 dynamic()175176 where "replica" was given the type:177178 # type: dynamic()179 # from: lib/phoenix/tracker/replica.ex:72:17180 replica181182 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"183184 type warning found at:185 │186 72 │ defp permdown(replica), do: %Replica{replica | status: :permdown}187 │ ~188 │189 └─ lib/phoenix/tracker/replica.ex:72:31: Phoenix.Tracker.Replica.permdown/1190191 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:192193 %Phoenix.Tracker.Replica{replica | status: :down}194195 but got type:196197 dynamic()198199 where "replica" was given the type:200201 # type: dynamic()202 # from: lib/phoenix/tracker/replica.ex:74:13203 replica204205 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"206207 type warning found at:208 │209 74 │ defp down(replica), do: %Replica{replica | status: :down}210 │ ~211 │212 └─ lib/phoenix/tracker/replica.ex:74:27: Phoenix.Tracker.Replica.down/1213214 warning: a struct for Phoenix.Tracker.State is expected on struct update:215216 %Phoenix.Tracker.State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}217218 but got type:219220 dynamic()221222 where "delta" was given the type:223224 # type: dynamic()225 # from: lib/phoenix/tracker/state.ex:461:36226 %Phoenix.Tracker.State{delta: delta} = state227228 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"229230 type warning found at:231 │232 465 │ new_delta = %State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}233 │ ~234 │235 └─ lib/phoenix/tracker/state.ex:465:17: Phoenix.Tracker.State.do_add/5236237 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:238239 %Phoenix.Tracker.Replica{replica | last_heartbeat_at: now_ms()}240241 but got type:242243 dynamic()244245 where "replica" was given the type:246247 # type: dynamic()248 # from: lib/phoenix/tracker/replica.ex:76:29249 replica250251 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"252253 type warning found at:254 │255 77 │ %Replica{replica | last_heartbeat_at: now_ms()}256 │ ~257 │258 └─ lib/phoenix/tracker/replica.ex:77:5: Phoenix.Tracker.Replica.touch_last_heartbeat/1259260 warning: a struct for Phoenix.Tracker.State is expected on struct update:261262 %Phoenix.Tracker.State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}263264 but got type:265266 dynamic()267268 where "delta" was given the type:269270 # type: dynamic()271 # from: lib/phoenix/tracker/state.ex:541:99272 %Phoenix.Tracker.State{mode: :normal, replica: rep, clouds: clouds, context: ctx, delta: delta} =273 state274275 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"276277 type warning found at:278 │279 547 │ delta: %State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}}280 │ ~281 │282 └─ lib/phoenix/tracker/state.ex:547:19: Phoenix.Tracker.State.bump_clock/1283284 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead285 │286 269 │ worker(Phoenix.Tracker.Shard, [tracker, tracker_opts, shard_opts],287 │ ~288 │289 └─ lib/phoenix/tracker.ex:269:9: Phoenix.Tracker.init/1290291 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead292 │293 273 │ supervise(shards, strategy: :one_for_one,294 │ ~295 │296 └─ lib/phoenix/tracker.ex:273:5: Phoenix.Tracker.init/1297298 warning: a struct for Phoenix.Tracker.State is expected on struct update:299300 %Phoenix.Tracker.State{delta | range: {start_clock, new_end}}301302 but got type:303304 dynamic(%{..., range: {term(), term()}})305306 where "delta" was given the type:307308 # type: dynamic(%{..., range: {term(), term()}})309 # from: lib/phoenix/tracker/state.ex:551:30310 {start_clock, end_clock} = delta.range311312 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"313314 type warning found at:315 │316 555 │ delta: %State{delta | range: {start_clock, new_end}}}317 │ ~318 │319 └─ lib/phoenix/tracker/state.ex:555:19: Phoenix.Tracker.State.put_context/2320321 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead322 │323 7 │ [supervisor(Phoenix.PubSub.PG2, pubsub)]324 │ ~325 │326 └─ lib/phoenix/pubsub/supervisor.ex:7:8: Phoenix.PubSub.Supervisor.start/2327328 warning: :pg2.create/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead329 │330 43 │ :ok = :pg2.create(pg2_group)331 │ ~332 │333 └─ lib/phoenix/pubsub/pg2_server.ex:43:16: Phoenix.PubSub.PG2Server.init/1334335 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead336 │337 93 │ supervisor(Phoenix.PubSub.LocalSupervisor, [server, pool_size, dispatch_rules]),338 │ ~339 │340 └─ lib/phoenix/pubsub/pg2.ex:93:7: Phoenix.PubSub.PG2.init/1341342 warning: :pg2.join/2 is undefined or private, this module was removed in OTP 24. Use 'pg' instead343 │344 44 │ :ok = :pg2.join(pg2_group, self())345 │ ~346 │347 └─ lib/phoenix/pubsub/pg2_server.ex:44:16: Phoenix.PubSub.PG2Server.init/1348349 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead350 │351 94 │ worker(Phoenix.PubSub.PG2Server, [server, pool_size])352 │ ~353 │354 └─ lib/phoenix/pubsub/pg2.ex:94:7: Phoenix.PubSub.PG2.init/1355356 warning: :pg2.get_members/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead357 │358 57 │ :pg2.get_members(pg2_namespace(server_name))359 │ ~360 │361 └─ lib/phoenix/pubsub/pg2_server.ex:57:10: Phoenix.PubSub.PG2Server.get_members/1362363 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead364 │365 97 │ supervise(children, strategy: :rest_for_one)366 │ ~367 │368 └─ lib/phoenix/pubsub/pg2.ex:97:5: Phoenix.PubSub.PG2.init/1369370 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead371 │372 35 │ worker(Phoenix.PubSub.GC, [gc_shard_name, local_shard_name]),373 │ ~374 │375 └─ lib/phoenix/pubsub/local_supervisor.ex:35:9: Phoenix.PubSub.LocalSupervisor.init/1376 └─ lib/phoenix/pubsub/local_supervisor.ex:36:9: Phoenix.PubSub.LocalSupervisor.init/1377378 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead379 │380 39 │ supervisor(Supervisor, [shard_children, [strategy: :one_for_all]], id: shard)381 │ ~382 │383 └─ lib/phoenix/pubsub/local_supervisor.ex:39:7: Phoenix.PubSub.LocalSupervisor.init/1384385 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead386 │387 42 │ supervise children, strategy: :one_for_one388 │ ~389 │390 └─ lib/phoenix/pubsub/local_supervisor.ex:42:5: Phoenix.PubSub.LocalSupervisor.init/1391392Generated phoenix_pubsub app393==> plug394Compiling 1 file (.erl)395Compiling 42 files (.ex)396Generated plug app397warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"398 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2399 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1400 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5401 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2402 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4403 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2404405==> postgrex406Compiling 70 files (.ex)407Generated postgrex app408==> ecto_sql409Compiling 25 files (.ex)410Generated ecto_sql app411warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"412 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2413 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1414 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5415 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2416 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4417 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2418419==> phoenix_ecto420Compiling 7 files (.ex)421Generated phoenix_ecto app422==> uboot_env423Compiling 5 files (.ex)424Generated uboot_env app425==> property_table426Compiling 8 files (.ex)427Generated property_table app428==> nerves_uevent429 CC uevent.o430 LD uevent431Not crosscompiling. To test locally, the port binary needs extra permissions.432Set SUDO=sudo to set permissions. The default is to skip this step.433SUDO_ASKPASS=/usr/bin/ssh-askpass434SUDO=true435Compiling 5 files (.ex)436Generated nerves_uevent app437==> nerves_runtime438Compiling 14 files (.ex)439Generated nerves_runtime app440==> toolshed441Compiling 5 files (.ex)442Generated toolshed app443==> nerves_compatibility_test444===> Analyzing applications...445===> Compiling cowboy_telemetry446==> plug_cowboy447Compiling 5 files (.ex)448Generated plug_cowboy app449warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"450 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2451 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1452 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5453 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2454 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4455 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2456457==> phoenix458Compiling 67 files (.ex)459 warning: the variable "prefix" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator460 │461 190 │ <<attr::size(prefix)-binary, ":unique">> -> attr462 │ ~463 │464 └─ lib/mix/phoenix/schema.ex:190:20: Mix.Phoenix.Schema.drop_unique/1465466 warning: using single-quoted strings to represent charlists is deprecated.467 Use ~c"" if you indeed want a charlist or use "" instead.468 You may run "mix format --migrate" to change all single-quoted469 strings to use the ~c sigil and fix this warning.470 │471 258 │ notBefore: {:utcTime, '#{not_before}000000Z'},472 │ ~473 │474 └─ lib/mix/tasks/phx.gen.cert.ex:258:33475476 warning: using single-quoted strings to represent charlists is deprecated.477 Use ~c"" if you indeed want a charlist or use "" instead.478 You may run "mix format --migrate" to change all single-quoted479 strings to use the ~c sigil and fix this warning.480 │481 259 │ notAfter: {:utcTime, '#{not_after}000000Z'}482 │ ~483 │484 └─ lib/mix/tasks/phx.gen.cert.ex:259:32485486 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead487 │488 55 │ Logger.warn(489 │ ~490 │491 └─ lib/phoenix/code_reloader/server.ex:55:20: Phoenix.CodeReloader.Server.handle_call/3492493 warning: unused require Logger494 │495 9 │ require Logger496 │ ~497 │498 └─ lib/phoenix/config.ex:9:3499500 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.501502 This error happens when you have function calls without parentheses inside keywords. For example:503504 function(arg, one: nested_call a, b, c)505 function(arg, one: if expr, do: :this, else: :that)506507 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:508509 function(arg, one: if(expr, do: :this, else: :that))510 function(arg, one: nested_call(a, b, c))511512 Ambiguity found at:513 │514 1006 │ defp get_disposition_type(other), do: raise ArgumentError, "expected :disposition to be :attachment or :inline, got: #{inspect(other)}"515 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~516 │517 └─ lib/phoenix/controller.ex:1006518519 warning: unused require Logger520 │521 282 │ require Logger522 │ ~523 │524 └─ lib/phoenix/endpoint.ex:282:3525526 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead527 │528 35 │ Logger.warn(529 │ ~530 │531 └─ lib/phoenix/endpoint/supervisor.ex:35:20: Phoenix.Endpoint.Supervisor.init/1532533 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead534 │535 121 │ Logger.warn "Phoenix.Endpoint.CowboyHandler is deprecated, please use Phoenix.Endpoint.CowboyAdapter instead"536 │ ~537 │538 └─ lib/phoenix/endpoint/supervisor.ex:121:16: Phoenix.Endpoint.Supervisor.user_adapter/2539540 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead541 │542 125 │ Logger.warn "The :handler option in #{inspect endpoint} is deprecated, please use :adapter instead"543 │ ~544 │545 └─ lib/phoenix/endpoint/supervisor.ex:125:16: Phoenix.Endpoint.Supervisor.user_adapter/2546547 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead548 │549 138 │ Logger.warn("""550 │ ~551 │552 └─ lib/phoenix/endpoint/supervisor.ex:138:12: Phoenix.Endpoint.Supervisor.warn_on_different_adapter_version/3553554 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 operator555 │556 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix557 │ ~558 │559 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2560561 warning: using single-quoted strings to represent charlists is deprecated.562 Use ~c"" if you indeed want a charlist or use "" instead.563 You may run "mix format --migrate" to change all single-quoted564 strings to use the ~c sigil and fix this warning.565 │566 339 │ @anno (if :erlang.system_info(:otp_release) >= '19' do567 │ ~568 │569 └─ lib/phoenix/router.ex:339:50570571 warning: using single-quoted strings to represent charlists is deprecated.572 Use ~c"" if you indeed want a charlist or use "" instead.573 You may run "mix format --migrate" to change all single-quoted574 strings to use the ~c sigil and fix this warning.575 │576 8 │ @anno (if :erlang.system_info(:otp_release) >= '19' do577 │ ~578 │579 └─ lib/phoenix/router/helpers.ex:8:50580581 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.582583 This error happens when you have function calls without parentheses inside keywords. For example:584585 function(arg, one: nested_call a, b, c)586 function(arg, one: if expr, do: :this, else: :that)587588 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:589590 function(arg, one: if(expr, do: :this, else: :that))591 function(arg, one: nested_call(a, b, c))592593 Ambiguity found at:594 │595 71 │ unless actions -- supported_actions == [], do: raise ArgumentError, """596 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~597 │598 └─ lib/phoenix/router/resource.ex:71599600 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead601 │602 781 │ Logger.warn fn -> "Ignoring unmatched topic \"#{topic}\" in #{inspect(handler)}" end603 │ ~604 │605 └─ lib/phoenix/socket.ex:781:12: Phoenix.Socket.encode_ignore/2606607 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead608 │609 1017 │ Logger.warn "send_download/3 has been invoked during an AJAX request. " <>610 │ ~611 │612 └─ lib/phoenix/controller.ex:1017:14: Phoenix.Controller.warn_if_ajax/1613614 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead615 │616 266 │ Logger.warn fn -> "Ignoring unmatched topic \"#{msg.topic}\" in #{inspect(socket.handler)}" end617 │ ~618 │619 └─ lib/phoenix/socket/transport.ex:266:12: Phoenix.Socket.Transport.reply_ignore/2620621 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead622 │623 328 │ Logger.warn(624 │ ~625 │626 └─ lib/phoenix/token.ex:328:12: Phoenix.Token.expired?/2627628 warning: using single-quoted strings to represent charlists is deprecated.629 Use ~c"" if you indeed want a charlist or use "" instead.630 You may run "mix format --migrate" to change all single-quoted631 strings to use the ~c sigil and fix this warning.632 │633 177 │ @anno (if :erlang.system_info(:otp_release) >= '19' do634 │ ~635 │636 └─ lib/phoenix/view.ex:177:50637638 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead639 │640 11 │ worker(Phoenix.Transports.LongPoll.Server, [], restart: :temporary)641 │ ~642 │643 └─ lib/phoenix/transports/long_poll_server.ex:11:7: Phoenix.Transports.LongPoll.Supervisor.init/1644645 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead646 │647 14 │ supervise(children, strategy: :simple_one_for_one)648 │ ~649 │650 └─ lib/phoenix/transports/long_poll_server.ex:14:5: Phoenix.Transports.LongPoll.Supervisor.init/1651652 warning: expected a module (an atom) when invoking config/1 in expression:653654 endpoint.config(:endpoint_id)655656 where "endpoint" was given the type:657658 # type: dynamic(%{..., __pubsub_server__: atom()})659 # from: lib/phoenix/transports/long_poll.ex:148:10660 verify_token(endpoint, token, opts)661662 type warning found at:663 │664 150 │ server_ref = server_ref(endpoint.config(:endpoint_id), id, pid, priv_topic)665 │ ~666 │667 └─ lib/phoenix/transports/long_poll.ex:150:42: Phoenix.Transports.LongPoll.resume_session/3668669 warning: unknown key .__pubsub_server__ in expression:670671 endpoint.__pubsub_server__672673 the given type does not have the given key:674675 dynamic(676 %Phoenix.Socket{677 assigns: term(),678 channel: term(),679 channel_pid: term(),680 endpoint: atom(),681 handler: term(),682 id: term(),683 joined: term(),684 join_ref: term(),685 private: term(),686 pubsub_server: term(),687 ref: term(),688 serializer: term(),689 topic: term(),690 transport: term(),691 transport_pid: term()692 } or693 %Plug.Conn{694 adapter: term(),695 assigns: term(),696 body_params: term(),697 cookies: term(),698 halted: term(),699 host: term(),700 method: term(),701 owner: term(),702 params: term(),703 path_info: term(),704 path_params: term(),705 port: term(),706 private: term(),707 query_params: term(),708 query_string: term(),709 remote_ip: term(),710 req_cookies: term(),711 req_headers: term(),712 request_path: term(),713 resp_body: term(),714 resp_cookies: term(),715 resp_headers: term(),716 scheme: term(),717 script_name: term(),718 secret_key_base: term(),719 state: term(),720 status: term()721 } or atom() or binary()722 )723724 where "endpoint" was given the type:725726 # type: dynamic(%Phoenix.Socket{endpoint: atom()} or %Plug.Conn{} or atom() or binary())727 # from: lib/phoenix/transports/long_poll.ex:189:19728 Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])729730 type warning found at:731 │732 189 │ Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])733 │ ~~~~~~~~~~~~~~~~~734 │735 └─ lib/phoenix/transports/long_poll.ex:189:58: Phoenix.Transports.LongPoll.sign_token/3736737 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead738 │739 678 │ kind, error -> {:error, {kind, error, System.stacktrace()}}740 │ ~741 │742 └─ lib/phoenix/test/conn_test.ex:678:52: Phoenix.ConnTest.wrap_request/1743744 warning: Plug.Crypto.safe_binary_to_term/1 is undefined or private745 │746 276 │ %{data: data, signed: signed} = Plug.Crypto.safe_binary_to_term(message)747 │ ~748 │749 └─ lib/phoenix/token.ex:276:49: Phoenix.Token.decode/2750751 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead752 │753 59 │ supervisor(WorkerSupervisor, [worker, ref, i], id: i)754 │ ~755 │756 └─ lib/phoenix/socket/pool_supervisor.ex:59:9: Phoenix.Socket.PoolSupervisor.init/1757758 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead759 │760 62 │ supervise(children, strategy: :one_for_one)761 │ ~762 │763 └─ lib/phoenix/socket/pool_supervisor.ex:62:5: Phoenix.Socket.PoolSupervisor.init/1764765 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead766 │767 510 │ worker = worker(Phoenix.Channel.Server, [], worker_opts)768 │ ~769 │770 └─ lib/phoenix/socket.ex:510:14: Phoenix.Socket.__child_spec__/2771772 warning: a struct for Plug.Conn is expected on struct update:773774 %Plug.Conn{conn | params: params}775776 but got type:777778 dynamic(%{..., params: map()})779780 where "conn" was given the type:781782 # type: dynamic(%{..., params: map()})783 # from: lib/phoenix/controller.ex:1044:17784 Map.get(conn.params, required_key)785786 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"787788 type warning found at:789 │790 1051 │ %Plug.Conn{conn | params: params}791 │ ~792 │793 └─ lib/phoenix/controller.ex:1051:5: Phoenix.Controller.scrub_params/2794795 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead796 │797 512 │ supervisor(Phoenix.Socket.PoolSupervisor, [args], id: handler)798 │ ~799 │800 └─ lib/phoenix/socket.ex:512:5: Phoenix.Socket.__child_spec__/2801802 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead803 │804 307 │ supervisor(Task.Supervisor, [[name: task_supervisor]]),805 │ ~806 │807 └─ lib/phoenix/presence.ex:307:7: Phoenix.Presence.start_link/4808809 warning: a struct for Plug.Conn is expected on struct update:810811 %Plug.Conn{conn | state: :sent}812813 but got type:814815 dynamic()816817 where "conn" was given the type:818819 # type: dynamic()820 # from: lib/phoenix/endpoint/render_errors.ex:55:17821 conn822823 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"824825 type warning found at:826 │827 59 │ %Plug.Conn{conn | state: :sent}828 │ ~829 │830 └─ lib/phoenix/endpoint/render_errors.ex:59:9: Phoenix.Endpoint.RenderErrors.__catch__/5831832 warning: a struct for Plug.Conn is expected on struct update:833834 %Plug.Conn{conn | query_params: %{}, params: %{}}835836 but got type:837838 dynamic(%{..., params: %Plug.Conn.Unfetched{}})839840 where "conn" was given the types:841842 # type: dynamic(%{..., params: term()})843 # from: lib/phoenix/endpoint/render_errors.ex:125:17844 conn.params845846 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})847 # from: lib/phoenix/endpoint/render_errors.ex:125:17848 conn.params849850 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"851852 type warning found at:853 │854 126 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}855 │ ~856 │857 └─ lib/phoenix/endpoint/render_errors.ex:126:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1858859 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead860 │861 308 │ worker(Phoenix.Tracker, [module, opts, opts])862 │ ~863 │864 └─ lib/phoenix/presence.ex:308:7: Phoenix.Presence.start_link/4865866 warning: a struct for Plug.Conn is expected on struct update:867868 %Plug.Conn{conn | query_params: %{}, params: params}869870 but got type:871872 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})873874 where "conn" was given the types:875876 # type: dynamic(%{..., params: term()})877 # from: lib/phoenix/endpoint/render_errors.ex:125:17878 conn.params879880 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})881 # from: lib/phoenix/endpoint/render_errors.ex:125:17882 conn.params883884 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"885886 type warning found at:887 │888 127 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}889 │ ~890 │891 └─ lib/phoenix/endpoint/render_errors.ex:127:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1892893 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead894 │895 298 │ metadata = %{kind: :error, error: e, stacktrace: System.stacktrace()}896 │ ~897 │898 └─ lib/phoenix/router.ex:298:69: Phoenix.Router.__call__/2899 └─ lib/phoenix/router.ex:304:74: Phoenix.Router.__call__/2900 └─ lib/phoenix/router.ex:306:79: Phoenix.Router.__call__/2901902 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead903 │904 75 │ [supervisor(adapter, [pub_conf[:name], pub_conf])]905 │ ~906 │907 └─ lib/phoenix/endpoint/supervisor.ex:75:8: Phoenix.Endpoint.Supervisor.pubsub_children/2908909 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead910 │911 30 │ {:upgrade, :protocol, __MODULE__, req, {:error, mfa, kind, reason, System.stacktrace()}}912 │ ~913 │914 └─ lib/phoenix/endpoint/cowboy_websocket.ex:30:83: Phoenix.Endpoint.CowboyWebSocket.init/3915916 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead917 │918 89 │ [worker(Phoenix.Config, args)]919 │ ~920 │921 └─ lib/phoenix/endpoint/supervisor.ex:89:6: Phoenix.Endpoint.Supervisor.config_children/3922923 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead924 │925 162 │ worker(Phoenix.Endpoint.Watcher, watcher_args(cmd, args),926 │ ~927 │928 └─ lib/phoenix/endpoint/supervisor.ex:162:9: Phoenix.Endpoint.Supervisor.watcher_children/3929930 warning: expected a module (an atom) when invoking path/1 in expression:931932 endpoint.path("/")933934 where "endpoint" was given the type:935936 # type: dynamic(%{..., host: term()})937 # from: lib/phoenix/endpoint/supervisor.ex:369:14938 endpoint.host939940 type warning found at:941 │942 370 │ endpoint.path("/")943 │ ~944 │945 └─ lib/phoenix/endpoint/supervisor.ex:370:14: Phoenix.Endpoint.Supervisor.warmup/1946947 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead948 │949 49 │ case System.stacktrace() do950 │ ~951 │952 └─ lib/phoenix/endpoint/cowboy2_handler.ex:49:19: Phoenix.Endpoint.Cowboy2Handler.init/4953954 warning: incompatible types given to socket_children/1:955956 socket_children(mod)957958 given types:959960 -dynamic(atom())-961962 but expected one of:963964 %{..., __sockets__: term()}965966 where "mod" was given the types:967968 # type: dynamic(atom() or binary())969 # from: lib/phoenix/endpoint/supervisor.ex:29:41970 config otp_app, mod971972 # type: dynamic(atom())973 # from: lib/phoenix/endpoint/supervisor.ex:32:16974 mod.init(:supervisor, default_conf)975976 type warning found at:977 │978 58 │ socket_children(mod) ++979 │ ~980 │981 └─ lib/phoenix/endpoint/supervisor.ex:58:7: Phoenix.Endpoint.Supervisor.init/1982983 warning: the following clause will never match:984985 [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->986987 because it attempts to match on the result of:988989 System.stacktrace()990991 which has type:992993 empty_list()994995 where "endpoint" was given the type:996997 # type: dynamic()998 # from: lib/phoenix/endpoint/cowboy2_handler.ex:18:19999 endpoint10001001 where "reason" was given the type:10021003 # type: dynamic(:undef)1004 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:591005 reason == :undef10061007 where "retry?" was given the type:10081009 # type: dynamic(true)1010 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:731011 retry?10121013 type warning found at:1014 │1015 52 │ [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->1016 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1017 │1018 └─ lib/phoenix/endpoint/cowboy2_handler.ex:52: Phoenix.Endpoint.Cowboy2Handler.init/410191020 warning: expected a map or struct when accessing .__transports__ in expression:10211022 socket.__transports__10231024 where "socket" was given the type:10251026 # type: dynamic(atom())1027 # from: lib/phoenix/endpoint/cowboy_adapter.ex:115:131028 Code.ensure_loaded?(socket)10291030 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()10311032 type warning found at:1033 │1034 116 │ socket.__transports__1035 │ ~1036 │1037 └─ lib/phoenix/endpoint/cowboy_adapter.ex:116:14: Phoenix.Endpoint.CowboyAdapter.deprecated_transports/110381039 warning: comparison between distinct types found:10401041 !Path.extname(file_path) == ".gz"10421043 given types:10441045 dynamic(boolean()) == binary()10461047 where "file_path" was given the type:10481049 # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))1050 # from: lib/phoenix/digester.ex:156:451051 Path.basename(file_path)10521053 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 false10541055 type warning found at:1056 │1057 157 │ !Path.extname(file_path) == ".gz"1058 │ ~1059 │1060 └─ lib/phoenix/digester.ex:157:32: Phoenix.Digester.uncompressed_digested_file?/110611062 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1063 │1064 81 │ IO.puts(Exception.format(kind, reason, System.stacktrace()))1065 │ ~1066 │1067 └─ lib/phoenix/code_reloader/server.ex:81:59: Phoenix.CodeReloader.Server.handle_call/310681069 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1070 │1071 56 │ worker(Phoenix.CodeReloader.Server, []),1072 │ ~1073 │1074 └─ lib/phoenix.ex:56:7: Phoenix.start/210751076 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1077 │1078 57 │ supervisor(Phoenix.Transports.LongPoll.Supervisor, [])1079 │ ~1080 │1081 └─ lib/phoenix.ex:57:7: Phoenix.start/210821083 warning: expected a map or struct when accessing .__phoenix_recompile__? in expression:10841085 mod.__phoenix_recompile__?10861087 where "mod" was given the type:10881089 # type: dynamic(atom())1090 # from: lib/mix/tasks/compile.phoenix.ex:34:121091 Code.ensure_loaded?(mod)10921093 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()10941095 type warning found at:1096 │1097 36 │ mod.__phoenix_recompile__?1098 │ ~1099 │1100 └─ lib/mix/tasks/compile.phoenix.ex:36:13: Mix.Tasks.Compile.Phoenix.modules_for_recompilation/111011102Generated phoenix app1103warning: failed to load Jason for Phoenix JSON encoding1104(module Jason is not available).11051106Ensure Jason exists in your deps in mix.exs,1107and you have configured Phoenix to use it for JSON encoding by1108verifying the following exists in your config/config.exs:11091110 config :phoenix, :json_library, Jason111111121113 (phoenix 1.4.18) lib/phoenix.ex:40: Phoenix.start/21114 (kernel 11.0.4) application_master.erl:299: :application_master.start_it_old/411151116warning: the :gettext compiler is no longer required in your mix.exs.11171118Please find the following line in your mix.exs and remove the :gettext entry:11191120 compilers: [..., :gettext, ...] ++ Mix.compilers(),11211122 (gettext 0.26.2) lib/mix/tasks/compile.gettext.ex:5: Mix.Tasks.Compile.Gettext.run/11123 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51124 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21125 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41126 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/21127 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/511281129==> bank_stone1130Compiling 15 files (.ex)11311132== Compilation error in file lib/bank_stone/accounts/user.ex ==1133** (ArgumentError) invalid option :unique for field/31134 (ecto 3.14.3) lib/ecto/schema.ex:2592: Ecto.Schema.check_options!/31135 (ecto 3.14.3) lib/ecto/schema.ex:2023: Ecto.Schema.__field__/41136 lib/bank_stone/accounts/user.ex:12: (module)1137could not compile dependency :bank_stone, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile bank_stone --force", update it with "mix deps.update bank_stone" or clean it with "mix deps.clean bank_stone"