Build log
nerves_system_rpi4
bank_stone 0.1.0 · fail · run bank_stone-0.1.0-1794770056242
1189 of 1189 lines
1Resolving Hex dependencies...2Resolution completed in 0.052s3Unchanged: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-5681119* Getting bank_stone (Hex package)20* Getting nerves (Hex package)21* Getting logger_backends (Hex package)22* Getting ring_logger (Hex package)23* Getting toolshed (Hex package)24* Getting nerves_runtime (Hex package)25* Getting nerves_system_bbb (Hex package)26* Getting nerves_system_mangopi_mq_pro (Hex package)27* Getting nerves_system_qemu_aarch64 (Hex package)28* Getting nerves_system_rpi0 (Hex package)29* Getting nerves_system_rpi0_2 (Hex package)30* Getting nerves_system_rpi4 (Hex package)31* Getting nerves_system_rpi5 (Hex package)32* Getting nerves_system_trellis (Hex package)33* Getting nerves_system_x86_64 (Hex package)34* Getting nerves_system_br (Hex package)35* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)36* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)37* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)38* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)39* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)40* Getting nerves_logging (Hex package)41* Getting nerves_uevent (Hex package)42* Getting uboot_env (Hex package)43* Getting elixir_make (Hex package)44* Getting property_table (Hex package)45* Getting circular_buffer (Hex package)46* Getting interactive_cmd (Hex package)47* Getting nerves_discovery (Hex package)48* Getting tablet (Hex package)49* Getting argon2_elixir (Hex package)50* Getting comeonin (Hex package)51* Getting ecto_sql (Hex package)52* Getting gettext (Hex package)53* Getting jason (Hex package)54* Getting phoenix (Hex package)55* Getting phoenix_ecto (Hex package)56* Getting phoenix_pubsub (Hex package)57* Getting plug_cowboy (Hex package)58* Getting postgrex (Hex package)59* Getting sobelow (Hex package)60* Getting db_connection (Hex package)61* Getting decimal (Hex package)62* Getting telemetry (Hex package)63* Getting cowboy (Hex package)64* Getting cowboy_telemetry (Hex package)65* Getting plug (Hex package)66* Getting mime (Hex package)67* Getting plug_crypto (Hex package)68* Getting cowlib (Hex package)69* Getting ranch (Hex package)70* Getting ecto (Hex package)71* Getting expo (Hex package)72Found packages with security advisories, see above for details73You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more74==> tablet75Compiling 2 files (.ex)76Generated tablet app77==> nerves_discovery78Compiling 5 files (.ex)79Generated nerves_discovery app80==> interactive_cmd81Compiling 1 file (.ex)82Generated interactive_cmd app83==> nerves84Compiling 65 files (.ex)85Generated nerves app86==> nerves_system_br87Generated nerves_system_br app88==> mime89Compiling 1 file (.ex)90Generated mime app91==> circular_buffer92Compiling 1 file (.ex)93Generated circular_buffer app94==> logger_backends95Compiling 7 files (.ex)96Generated logger_backends app97==> plug_crypto98Compiling 5 files (.ex)99Generated plug_crypto app100==> nerves_compatibility_test101===> Analyzing applications...102===> Compiling ranch103==> elixir_make104Compiling 8 files (.ex)105Generated elixir_make app106==> nerves_logging107 CC kmsg_tailer.o108 LD kmsg_tailer109Compiling 5 files (.ex)110Generated nerves_logging app111==> argon2_elixir112mkdir -p priv113/work/nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a72 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging -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.so114Compiling 3 files (.ex)115 warning: using single-quoted strings to represent charlists is deprecated.116 Use ~c"" if you indeed want a charlist or use "" instead.117 You may run "mix format --migrate" to change all single-quoted118 strings to use the ~c sigil and fix this warning.119 │120 141 │ path = :filename.join(:code.priv_dir(:argon2_elixir), 'argon2_nif')121 │ ~122 │123 └─ lib/argon2/base.ex:141:59124125Generated argon2_elixir app126==> comeonin127Compiling 2 files (.ex)128Generated comeonin app129==> nerves_compatibility_test130===> Analyzing applications...131===> Compiling cowlib132==> ring_logger133Compiling 7 files (.ex)134Generated ring_logger app135==> decimal136Compiling 4 files (.ex)137Generated decimal app138==> jason139Compiling 10 files (.ex)140Generated jason app141==> sobelow142Compiling 91 files (.ex)143Generated sobelow app144==> nerves_toolchain_aarch64_nerves_linux_gnu145Compiling 1 file (.ex)146Generated nerves_toolchain_aarch64_nerves_linux_gnu app147==> nerves_system_rpi4148Generated nerves_system_rpi4 app149==> nerves_compatibility_test150===> Analyzing applications...151===> Compiling telemetry152==> db_connection153Compiling 18 files (.ex)154Generated db_connection app155==> ecto156Compiling 56 files (.ex)157Generated ecto app158==> nerves_compatibility_test159===> Analyzing applications...160===> Compiling cowboy161==> expo162Compiling 2 files (.erl)163Compiling 22 files (.ex)164Generated expo app165==> gettext166Compiling 18 files (.ex)167 warning: unused require Gettext.Macros168 │169 594 │ require Gettext.Macros170 │ ~171 │172 └─ lib/gettext.ex:594:3173174 warning: the following clause is redundant:175176 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)177178 it has type:179180 dynamic(%Expo.Message.Plural{})181182 previous clauses have already matched on the following types:183184 %Expo.Message.Singular{}185 %Expo.Message.Plural{}186187 │188 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do189 │ ~190 │191 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1192193 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead194 │195 426 │ Kernel.ParallelCompiler.async(fn ->196 │ ~197 │198 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3199200Generated gettext app201==> phoenix_pubsub202Compiling 13 files (.ex)203 warning: single quotes around atoms are deprecated. Use double quotes instead204 │205 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])206 │ ~207 │208 └─ lib/phoenix/pubsub/local.ex:160:23209210 warning: single quotes around atoms are deprecated. Use double quotes instead211 │212 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])213 │ ~214 │215 └─ lib/phoenix/pubsub/local.ex:160:40216217 warning: unused require Logger218 │219 107 │ require Logger220 │ ~221 │222 └─ lib/phoenix/tracker.ex:107:3223224 warning: a struct for Phoenix.Tracker.State is expected on struct update:225226 %Phoenix.Tracker.State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}227228 but got type:229230 dynamic()231232 where "delta" was given the type:233234 # type: dynamic()235 # from: lib/phoenix/tracker/state.ex:461:36236 %Phoenix.Tracker.State{delta: delta} = state237238 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"239240 type warning found at:241 │242 465 │ new_delta = %State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}243 │ ~244 │245 └─ lib/phoenix/tracker/state.ex:465:17: Phoenix.Tracker.State.do_add/5246247 warning: a struct for Phoenix.Tracker.State is expected on struct update:248249 %Phoenix.Tracker.State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}250251 but got type:252253 dynamic()254255 where "delta" was given the type:256257 # type: dynamic()258 # from: lib/phoenix/tracker/state.ex:541:99259 %Phoenix.Tracker.State{mode: :normal, replica: rep, clouds: clouds, context: ctx, delta: delta} =260 state261262 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"263264 type warning found at:265 │266 547 │ delta: %State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}}267 │ ~268 │269 └─ lib/phoenix/tracker/state.ex:547:19: Phoenix.Tracker.State.bump_clock/1270271 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:272273 %Phoenix.Tracker.Replica{replica | status: :permdown}274275 but got type:276277 dynamic()278279 where "replica" was given the type:280281 # type: dynamic()282 # from: lib/phoenix/tracker/replica.ex:72:17283 replica284285 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"286287 type warning found at:288 │289 72 │ defp permdown(replica), do: %Replica{replica | status: :permdown}290 │ ~291 │292 └─ lib/phoenix/tracker/replica.ex:72:31: Phoenix.Tracker.Replica.permdown/1293294 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:295296 %Phoenix.Tracker.Replica{replica | status: :down}297298 but got type:299300 dynamic()301302 where "replica" was given the type:303304 # type: dynamic()305 # from: lib/phoenix/tracker/replica.ex:74:13306 replica307308 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"309310 type warning found at:311 │312 74 │ defp down(replica), do: %Replica{replica | status: :down}313 │ ~314 │315 └─ lib/phoenix/tracker/replica.ex:74:27: Phoenix.Tracker.Replica.down/1316317 warning: a struct for Phoenix.Tracker.State is expected on struct update:318319 %Phoenix.Tracker.State{delta | range: {start_clock, new_end}}320321 but got type:322323 dynamic(%{..., range: {term(), term()}})324325 where "delta" was given the type:326327 # type: dynamic(%{..., range: {term(), term()}})328 # from: lib/phoenix/tracker/state.ex:551:30329 {start_clock, end_clock} = delta.range330331 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"332333 type warning found at:334 │335 555 │ delta: %State{delta | range: {start_clock, new_end}}}336 │ ~337 │338 └─ lib/phoenix/tracker/state.ex:555:19: Phoenix.Tracker.State.put_context/2339340 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:341342 %Phoenix.Tracker.Replica{replica | last_heartbeat_at: now_ms()}343344 but got type:345346 dynamic()347348 where "replica" was given the type:349350 # type: dynamic()351 # from: lib/phoenix/tracker/replica.ex:76:29352 replica353354 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"355356 type warning found at:357 │358 77 │ %Replica{replica | last_heartbeat_at: now_ms()}359 │ ~360 │361 └─ lib/phoenix/tracker/replica.ex:77:5: Phoenix.Tracker.Replica.touch_last_heartbeat/1362363 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead364 │365 269 │ worker(Phoenix.Tracker.Shard, [tracker, tracker_opts, shard_opts],366 │ ~367 │368 └─ lib/phoenix/tracker.ex:269:9: Phoenix.Tracker.init/1369370 warning: :pg2.create/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead371 │372 43 │ :ok = :pg2.create(pg2_group)373 │ ~374 │375 └─ lib/phoenix/pubsub/pg2_server.ex:43:16: Phoenix.PubSub.PG2Server.init/1376377 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead378 │379 273 │ supervise(shards, strategy: :one_for_one,380 │ ~381 │382 └─ lib/phoenix/tracker.ex:273:5: Phoenix.Tracker.init/1383384 warning: :pg2.join/2 is undefined or private, this module was removed in OTP 24. Use 'pg' instead385 │386 44 │ :ok = :pg2.join(pg2_group, self())387 │ ~388 │389 └─ lib/phoenix/pubsub/pg2_server.ex:44:16: Phoenix.PubSub.PG2Server.init/1390391 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead392 │393 7 │ [supervisor(Phoenix.PubSub.PG2, pubsub)]394 │ ~395 │396 └─ lib/phoenix/pubsub/supervisor.ex:7:8: Phoenix.PubSub.Supervisor.start/2397398 warning: :pg2.get_members/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead399 │400 57 │ :pg2.get_members(pg2_namespace(server_name))401 │ ~402 │403 └─ lib/phoenix/pubsub/pg2_server.ex:57:10: Phoenix.PubSub.PG2Server.get_members/1404405 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead406 │407 93 │ supervisor(Phoenix.PubSub.LocalSupervisor, [server, pool_size, dispatch_rules]),408 │ ~409 │410 └─ lib/phoenix/pubsub/pg2.ex:93:7: Phoenix.PubSub.PG2.init/1411412 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead413 │414 94 │ worker(Phoenix.PubSub.PG2Server, [server, pool_size])415 │ ~416 │417 └─ lib/phoenix/pubsub/pg2.ex:94:7: Phoenix.PubSub.PG2.init/1418419 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead420 │421 35 │ worker(Phoenix.PubSub.GC, [gc_shard_name, local_shard_name]),422 │ ~423 │424 └─ lib/phoenix/pubsub/local_supervisor.ex:35:9: Phoenix.PubSub.LocalSupervisor.init/1425 └─ lib/phoenix/pubsub/local_supervisor.ex:36:9: Phoenix.PubSub.LocalSupervisor.init/1426427 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead428 │429 39 │ supervisor(Supervisor, [shard_children, [strategy: :one_for_all]], id: shard)430 │ ~431 │432 └─ lib/phoenix/pubsub/local_supervisor.ex:39:7: Phoenix.PubSub.LocalSupervisor.init/1433434 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead435 │436 97 │ supervise(children, strategy: :rest_for_one)437 │ ~438 │439 └─ lib/phoenix/pubsub/pg2.ex:97:5: Phoenix.PubSub.PG2.init/1440441 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead442 │443 42 │ supervise children, strategy: :one_for_one444 │ ~445 │446 └─ lib/phoenix/pubsub/local_supervisor.ex:42:5: Phoenix.PubSub.LocalSupervisor.init/1447448Generated phoenix_pubsub app449==> plug450Compiling 1 file (.erl)451Compiling 42 files (.ex)452Generated plug app453warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"454 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2455 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1456 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5457 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2458 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4459 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2460461==> postgrex462Compiling 70 files (.ex)463Generated postgrex app464==> ecto_sql465Compiling 25 files (.ex)466Generated ecto_sql app467warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"468 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2469 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1470 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5471 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2472 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4473 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2474475==> phoenix_ecto476Compiling 7 files (.ex)477Generated phoenix_ecto app478==> uboot_env479Compiling 5 files (.ex)480Generated uboot_env app481==> property_table482Compiling 8 files (.ex)483Generated property_table app484==> nerves_uevent485 CC uevent.o486 LD uevent487Compiling 5 files (.ex)488Generated nerves_uevent app489==> nerves_runtime490Compiling 14 files (.ex)491Generated nerves_runtime app492==> toolshed493Compiling 5 files (.ex)494Generated toolshed app495==> nerves_compatibility_test496===> Analyzing applications...497===> Compiling cowboy_telemetry498==> plug_cowboy499Compiling 5 files (.ex)500Generated plug_cowboy app501warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"502 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2503 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1504 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5505 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2506 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4507 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2508509==> phoenix510Compiling 67 files (.ex)511 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 operator512 │513 190 │ <<attr::size(prefix)-binary, ":unique">> -> attr514 │ ~515 │516 └─ lib/mix/phoenix/schema.ex:190:20: Mix.Phoenix.Schema.drop_unique/1517518 warning: using single-quoted strings to represent charlists is deprecated.519 Use ~c"" if you indeed want a charlist or use "" instead.520 You may run "mix format --migrate" to change all single-quoted521 strings to use the ~c sigil and fix this warning.522 │523 258 │ notBefore: {:utcTime, '#{not_before}000000Z'},524 │ ~525 │526 └─ lib/mix/tasks/phx.gen.cert.ex:258:33527528 warning: using single-quoted strings to represent charlists is deprecated.529 Use ~c"" if you indeed want a charlist or use "" instead.530 You may run "mix format --migrate" to change all single-quoted531 strings to use the ~c sigil and fix this warning.532 │533 259 │ notAfter: {:utcTime, '#{not_after}000000Z'}534 │ ~535 │536 └─ lib/mix/tasks/phx.gen.cert.ex:259:32537538 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead539 │540 55 │ Logger.warn(541 │ ~542 │543 └─ lib/phoenix/code_reloader/server.ex:55:20: Phoenix.CodeReloader.Server.handle_call/3544545 warning: unused require Logger546 │547 9 │ require Logger548 │ ~549 │550 └─ lib/phoenix/config.ex:9:3551552 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.553554 This error happens when you have function calls without parentheses inside keywords. For example:555556 function(arg, one: nested_call a, b, c)557 function(arg, one: if expr, do: :this, else: :that)558559 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:560561 function(arg, one: if(expr, do: :this, else: :that))562 function(arg, one: nested_call(a, b, c))563564 Ambiguity found at:565 │566 1006 │ defp get_disposition_type(other), do: raise ArgumentError, "expected :disposition to be :attachment or :inline, got: #{inspect(other)}"567 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~568 │569 └─ lib/phoenix/controller.ex:1006570571 warning: unused require Logger572 │573 282 │ require Logger574 │ ~575 │576 └─ lib/phoenix/endpoint.ex:282:3577578 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead579 │580 35 │ Logger.warn(581 │ ~582 │583 └─ lib/phoenix/endpoint/supervisor.ex:35:20: Phoenix.Endpoint.Supervisor.init/1584585 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead586 │587 121 │ Logger.warn "Phoenix.Endpoint.CowboyHandler is deprecated, please use Phoenix.Endpoint.CowboyAdapter instead"588 │ ~589 │590 └─ lib/phoenix/endpoint/supervisor.ex:121:16: Phoenix.Endpoint.Supervisor.user_adapter/2591592 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead593 │594 125 │ Logger.warn "The :handler option in #{inspect endpoint} is deprecated, please use :adapter instead"595 │ ~596 │597 └─ lib/phoenix/endpoint/supervisor.ex:125:16: Phoenix.Endpoint.Supervisor.user_adapter/2598599 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead600 │601 138 │ Logger.warn("""602 │ ~603 │604 └─ lib/phoenix/endpoint/supervisor.ex:138:12: Phoenix.Endpoint.Supervisor.warn_on_different_adapter_version/3605606 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 operator607 │608 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix609 │ ~610 │611 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2612613 warning: using single-quoted strings to represent charlists is deprecated.614 Use ~c"" if you indeed want a charlist or use "" instead.615 You may run "mix format --migrate" to change all single-quoted616 strings to use the ~c sigil and fix this warning.617 │618 339 │ @anno (if :erlang.system_info(:otp_release) >= '19' do619 │ ~620 │621 └─ lib/phoenix/router.ex:339:50622623 warning: using single-quoted strings to represent charlists is deprecated.624 Use ~c"" if you indeed want a charlist or use "" instead.625 You may run "mix format --migrate" to change all single-quoted626 strings to use the ~c sigil and fix this warning.627 │628 8 │ @anno (if :erlang.system_info(:otp_release) >= '19' do629 │ ~630 │631 └─ lib/phoenix/router/helpers.ex:8:50632633 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.634635 This error happens when you have function calls without parentheses inside keywords. For example:636637 function(arg, one: nested_call a, b, c)638 function(arg, one: if expr, do: :this, else: :that)639640 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:641642 function(arg, one: if(expr, do: :this, else: :that))643 function(arg, one: nested_call(a, b, c))644645 Ambiguity found at:646 │647 71 │ unless actions -- supported_actions == [], do: raise ArgumentError, """648 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~649 │650 └─ lib/phoenix/router/resource.ex:71651652 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead653 │654 1017 │ Logger.warn "send_download/3 has been invoked during an AJAX request. " <>655 │ ~656 │657 └─ lib/phoenix/controller.ex:1017:14: Phoenix.Controller.warn_if_ajax/1658659 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead660 │661 781 │ Logger.warn fn -> "Ignoring unmatched topic \"#{topic}\" in #{inspect(handler)}" end662 │ ~663 │664 └─ lib/phoenix/socket.ex:781:12: Phoenix.Socket.encode_ignore/2665666 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead667 │668 266 │ Logger.warn fn -> "Ignoring unmatched topic \"#{msg.topic}\" in #{inspect(socket.handler)}" end669 │ ~670 │671 └─ lib/phoenix/socket/transport.ex:266:12: Phoenix.Socket.Transport.reply_ignore/2672673 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead674 │675 328 │ Logger.warn(676 │ ~677 │678 └─ lib/phoenix/token.ex:328:12: Phoenix.Token.expired?/2679680 warning: using single-quoted strings to represent charlists is deprecated.681 Use ~c"" if you indeed want a charlist or use "" instead.682 You may run "mix format --migrate" to change all single-quoted683 strings to use the ~c sigil and fix this warning.684 │685 177 │ @anno (if :erlang.system_info(:otp_release) >= '19' do686 │ ~687 │688 └─ lib/phoenix/view.ex:177:50689690 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead691 │692 11 │ worker(Phoenix.Transports.LongPoll.Server, [], restart: :temporary)693 │ ~694 │695 └─ lib/phoenix/transports/long_poll_server.ex:11:7: Phoenix.Transports.LongPoll.Supervisor.init/1696697 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead698 │699 14 │ supervise(children, strategy: :simple_one_for_one)700 │ ~701 │702 └─ lib/phoenix/transports/long_poll_server.ex:14:5: Phoenix.Transports.LongPoll.Supervisor.init/1703704 warning: expected a module (an atom) when invoking config/1 in expression:705706 endpoint.config(:endpoint_id)707708 where "endpoint" was given the type:709710 # type: dynamic(%{..., __pubsub_server__: atom()})711 # from: lib/phoenix/transports/long_poll.ex:148:10712 verify_token(endpoint, token, opts)713714 type warning found at:715 │716 150 │ server_ref = server_ref(endpoint.config(:endpoint_id), id, pid, priv_topic)717 │ ~718 │719 └─ lib/phoenix/transports/long_poll.ex:150:42: Phoenix.Transports.LongPoll.resume_session/3720721 warning: unknown key .__pubsub_server__ in expression:722723 endpoint.__pubsub_server__724725 the given type does not have the given key:726727 dynamic(728 %Phoenix.Socket{729 assigns: term(),730 channel: term(),731 channel_pid: term(),732 endpoint: atom(),733 handler: term(),734 id: term(),735 joined: term(),736 join_ref: term(),737 private: term(),738 pubsub_server: term(),739 ref: term(),740 serializer: term(),741 topic: term(),742 transport: term(),743 transport_pid: term()744 } or745 %Plug.Conn{746 adapter: term(),747 assigns: term(),748 body_params: term(),749 cookies: term(),750 halted: term(),751 host: term(),752 method: term(),753 owner: term(),754 params: term(),755 path_info: term(),756 path_params: term(),757 port: term(),758 private: term(),759 query_params: term(),760 query_string: term(),761 remote_ip: term(),762 req_cookies: term(),763 req_headers: term(),764 request_path: term(),765 resp_body: term(),766 resp_cookies: term(),767 resp_headers: term(),768 scheme: term(),769 script_name: term(),770 secret_key_base: term(),771 state: term(),772 status: term()773 } or atom() or binary()774 )775776 where "endpoint" was given the type:777778 # type: dynamic(%Phoenix.Socket{endpoint: atom()} or %Plug.Conn{} or atom() or binary())779 # from: lib/phoenix/transports/long_poll.ex:189:19780 Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])781782 type warning found at:783 │784 189 │ Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])785 │ ~~~~~~~~~~~~~~~~~786 │787 └─ lib/phoenix/transports/long_poll.ex:189:58: Phoenix.Transports.LongPoll.sign_token/3788789 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead790 │791 678 │ kind, error -> {:error, {kind, error, System.stacktrace()}}792 │ ~793 │794 └─ lib/phoenix/test/conn_test.ex:678:52: Phoenix.ConnTest.wrap_request/1795796 warning: Plug.Crypto.safe_binary_to_term/1 is undefined or private797 │798 276 │ %{data: data, signed: signed} = Plug.Crypto.safe_binary_to_term(message)799 │ ~800 │801 └─ lib/phoenix/token.ex:276:49: Phoenix.Token.decode/2802803 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead804 │805 59 │ supervisor(WorkerSupervisor, [worker, ref, i], id: i)806 │ ~807 │808 └─ lib/phoenix/socket/pool_supervisor.ex:59:9: Phoenix.Socket.PoolSupervisor.init/1809810 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead811 │812 62 │ supervise(children, strategy: :one_for_one)813 │ ~814 │815 └─ lib/phoenix/socket/pool_supervisor.ex:62:5: Phoenix.Socket.PoolSupervisor.init/1816817 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead818 │819 510 │ worker = worker(Phoenix.Channel.Server, [], worker_opts)820 │ ~821 │822 └─ lib/phoenix/socket.ex:510:14: Phoenix.Socket.__child_spec__/2823824 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead825 │826 512 │ supervisor(Phoenix.Socket.PoolSupervisor, [args], id: handler)827 │ ~828 │829 └─ lib/phoenix/socket.ex:512:5: Phoenix.Socket.__child_spec__/2830831 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead832 │833 307 │ supervisor(Task.Supervisor, [[name: task_supervisor]]),834 │ ~835 │836 └─ lib/phoenix/presence.ex:307:7: Phoenix.Presence.start_link/4837838 warning: a struct for Plug.Conn is expected on struct update:839840 %Plug.Conn{conn | params: params}841842 but got type:843844 dynamic(%{..., params: map()})845846 where "conn" was given the type:847848 # type: dynamic(%{..., params: map()})849 # from: lib/phoenix/controller.ex:1044:17850 Map.get(conn.params, required_key)851852 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"853854 type warning found at:855 │856 1051 │ %Plug.Conn{conn | params: params}857 │ ~858 │859 └─ lib/phoenix/controller.ex:1051:5: Phoenix.Controller.scrub_params/2860861 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead862 │863 308 │ worker(Phoenix.Tracker, [module, opts, opts])864 │ ~865 │866 └─ lib/phoenix/presence.ex:308:7: Phoenix.Presence.start_link/4867868 warning: a struct for Plug.Conn is expected on struct update:869870 %Plug.Conn{conn | state: :sent}871872 but got type:873874 dynamic()875876 where "conn" was given the type:877878 # type: dynamic()879 # from: lib/phoenix/endpoint/render_errors.ex:55:17880 conn881882 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"883884 type warning found at:885 │886 59 │ %Plug.Conn{conn | state: :sent}887 │ ~888 │889 └─ lib/phoenix/endpoint/render_errors.ex:59:9: Phoenix.Endpoint.RenderErrors.__catch__/5890891 warning: a struct for Plug.Conn is expected on struct update:892893 %Plug.Conn{conn | query_params: %{}, params: %{}}894895 but got type:896897 dynamic(%{..., params: %Plug.Conn.Unfetched{}})898899 where "conn" was given the types:900901 # type: dynamic(%{..., params: term()})902 # from: lib/phoenix/endpoint/render_errors.ex:125:17903 conn.params904905 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})906 # from: lib/phoenix/endpoint/render_errors.ex:125:17907 conn.params908909 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"910911 type warning found at:912 │913 126 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}914 │ ~915 │916 └─ lib/phoenix/endpoint/render_errors.ex:126:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1917918 warning: a struct for Plug.Conn is expected on struct update:919920 %Plug.Conn{conn | query_params: %{}, params: params}921922 but got type:923924 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})925926 where "conn" was given the types:927928 # type: dynamic(%{..., params: term()})929 # from: lib/phoenix/endpoint/render_errors.ex:125:17930 conn.params931932 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})933 # from: lib/phoenix/endpoint/render_errors.ex:125:17934 conn.params935936 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"937938 type warning found at:939 │940 127 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}941 │ ~942 │943 └─ lib/phoenix/endpoint/render_errors.ex:127:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1944945 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead946 │947 298 │ metadata = %{kind: :error, error: e, stacktrace: System.stacktrace()}948 │ ~949 │950 └─ lib/phoenix/router.ex:298:69: Phoenix.Router.__call__/2951 └─ lib/phoenix/router.ex:304:74: Phoenix.Router.__call__/2952 └─ lib/phoenix/router.ex:306:79: Phoenix.Router.__call__/2953954 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead955 │956 30 │ {:upgrade, :protocol, __MODULE__, req, {:error, mfa, kind, reason, System.stacktrace()}}957 │ ~958 │959 └─ lib/phoenix/endpoint/cowboy_websocket.ex:30:83: Phoenix.Endpoint.CowboyWebSocket.init/3960961 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead962 │963 49 │ case System.stacktrace() do964 │ ~965 │966 └─ lib/phoenix/endpoint/cowboy2_handler.ex:49:19: Phoenix.Endpoint.Cowboy2Handler.init/4967968 warning: the following clause will never match:969970 [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->971972 because it attempts to match on the result of:973974 System.stacktrace()975976 which has type:977978 empty_list()979980 where "endpoint" was given the type:981982 # type: dynamic()983 # from: lib/phoenix/endpoint/cowboy2_handler.ex:18:19984 endpoint985986 where "reason" was given the type:987988 # type: dynamic(:undef)989 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:59990 reason == :undef991992 where "retry?" was given the type:993994 # type: dynamic(true)995 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:73996 retry?997998 type warning found at:999 │1000 52 │ [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->1001 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1002 │1003 └─ lib/phoenix/endpoint/cowboy2_handler.ex:52: Phoenix.Endpoint.Cowboy2Handler.init/410041005 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1006 │1007 75 │ [supervisor(adapter, [pub_conf[:name], pub_conf])]1008 │ ~1009 │1010 └─ lib/phoenix/endpoint/supervisor.ex:75:8: Phoenix.Endpoint.Supervisor.pubsub_children/210111012 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1013 │1014 89 │ [worker(Phoenix.Config, args)]1015 │ ~1016 │1017 └─ lib/phoenix/endpoint/supervisor.ex:89:6: Phoenix.Endpoint.Supervisor.config_children/310181019 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1020 │1021 162 │ worker(Phoenix.Endpoint.Watcher, watcher_args(cmd, args),1022 │ ~1023 │1024 └─ lib/phoenix/endpoint/supervisor.ex:162:9: Phoenix.Endpoint.Supervisor.watcher_children/310251026 warning: expected a map or struct when accessing .__transports__ in expression:10271028 socket.__transports__10291030 where "socket" was given the type:10311032 # type: dynamic(atom())1033 # from: lib/phoenix/endpoint/cowboy_adapter.ex:115:131034 Code.ensure_loaded?(socket)10351036 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()10371038 type warning found at:1039 │1040 116 │ socket.__transports__1041 │ ~1042 │1043 └─ lib/phoenix/endpoint/cowboy_adapter.ex:116:14: Phoenix.Endpoint.CowboyAdapter.deprecated_transports/110441045 warning: expected a module (an atom) when invoking path/1 in expression:10461047 endpoint.path("/")10481049 where "endpoint" was given the type:10501051 # type: dynamic(%{..., host: term()})1052 # from: lib/phoenix/endpoint/supervisor.ex:369:141053 endpoint.host10541055 type warning found at:1056 │1057 370 │ endpoint.path("/")1058 │ ~1059 │1060 └─ lib/phoenix/endpoint/supervisor.ex:370:14: Phoenix.Endpoint.Supervisor.warmup/110611062 warning: incompatible types given to socket_children/1:10631064 socket_children(mod)10651066 given types:10671068 -dynamic(atom())-10691070 but expected one of:10711072 %{..., __sockets__: term()}10731074 where "mod" was given the types:10751076 # type: dynamic(atom() or binary())1077 # from: lib/phoenix/endpoint/supervisor.ex:29:411078 config otp_app, mod10791080 # type: dynamic(atom())1081 # from: lib/phoenix/endpoint/supervisor.ex:32:161082 mod.init(:supervisor, default_conf)10831084 type warning found at:1085 │1086 58 │ socket_children(mod) ++1087 │ ~1088 │1089 └─ lib/phoenix/endpoint/supervisor.ex:58:7: Phoenix.Endpoint.Supervisor.init/110901091 warning: comparison between distinct types found:10921093 !Path.extname(file_path) == ".gz"10941095 given types:10961097 dynamic(boolean()) == binary()10981099 where "file_path" was given the type:11001101 # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))1102 # from: lib/phoenix/digester.ex:156:451103 Path.basename(file_path)11041105 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 false11061107 type warning found at:1108 │1109 157 │ !Path.extname(file_path) == ".gz"1110 │ ~1111 │1112 └─ lib/phoenix/digester.ex:157:32: Phoenix.Digester.uncompressed_digested_file?/111131114 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1115 │1116 56 │ worker(Phoenix.CodeReloader.Server, []),1117 │ ~1118 │1119 └─ lib/phoenix.ex:56:7: Phoenix.start/211201121 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1122 │1123 57 │ supervisor(Phoenix.Transports.LongPoll.Supervisor, [])1124 │ ~1125 │1126 └─ lib/phoenix.ex:57:7: Phoenix.start/211271128 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1129 │1130 81 │ IO.puts(Exception.format(kind, reason, System.stacktrace()))1131 │ ~1132 │1133 └─ lib/phoenix/code_reloader/server.ex:81:59: Phoenix.CodeReloader.Server.handle_call/311341135 warning: expected a map or struct when accessing .__phoenix_recompile__? in expression:11361137 mod.__phoenix_recompile__?11381139 where "mod" was given the type:11401141 # type: dynamic(atom())1142 # from: lib/mix/tasks/compile.phoenix.ex:34:121143 Code.ensure_loaded?(mod)11441145 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()11461147 type warning found at:1148 │1149 36 │ mod.__phoenix_recompile__?1150 │ ~1151 │1152 └─ lib/mix/tasks/compile.phoenix.ex:36:13: Mix.Tasks.Compile.Phoenix.modules_for_recompilation/111531154Generated phoenix app1155warning: failed to load Jason for Phoenix JSON encoding1156(module Jason is not available).11571158Ensure Jason exists in your deps in mix.exs,1159and you have configured Phoenix to use it for JSON encoding by1160verifying the following exists in your config/config.exs:11611162 config :phoenix, :json_library, Jason116311641165 (phoenix 1.4.18) lib/phoenix.ex:40: Phoenix.start/21166 (kernel 11.0.4) application_master.erl:299: :application_master.start_it_old/411671168warning: the :gettext compiler is no longer required in your mix.exs.11691170Please find the following line in your mix.exs and remove the :gettext entry:11711172 compilers: [..., :gettext, ...] ++ Mix.compilers(),11731174 (gettext 0.26.2) lib/mix/tasks/compile.gettext.ex:5: Mix.Tasks.Compile.Gettext.run/11175 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51176 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21177 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41178 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/21179 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/511801181==> bank_stone1182Compiling 15 files (.ex)11831184== Compilation error in file lib/bank_stone/accounts/user.ex ==1185** (ArgumentError) invalid option :unique for field/31186 (ecto 3.14.3) lib/ecto/schema.ex:2592: Ecto.Schema.check_options!/31187 (ecto 3.14.3) lib/ecto/schema.ex:2023: Ecto.Schema.__field__/41188 lib/bank_stone/accounts/user.ex:12: (module)1189could 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"