Build log
nerves_system_trellis
ex_mono_wrapper 0.1.0 · fail · run ex_mono_wrapper-0.1.0-1791176658270
1510 of 1510 lines
1Resolving Hex dependencies...2Resolution completed in 0.261s3Unchanged:4 circular_buffer 1.1.05 cowboy 2.19.06 cowboy_telemetry 0.3.17 cowlib 2.20.0 VULNERABLE!8 EEF-CVE-2026-43966 (MEDIUM)9 aka: CVE-2026-43966, GHSA-w4f7-4cxr-rv3c10 HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/211 https://osv.dev/vulnerability/EEF-CVE-2026-439661213 EEF-CVE-2026-43969 (LOW)14 aka: CVE-2026-43969, GHSA-g2wm-735q-3f5615 Cookie Request Header Injection via Unvalidated Encoder in cow_cookie:cookie/116 https://osv.dev/vulnerability/EEF-CVE-2026-4396917 elixir_make 0.10.018 ex_mono_wrapper 0.1.019 expo 1.1.120 gettext 0.26.221 interactive_cmd 0.1.422 jason 1.4.523 mime 1.6.024 nerves 2.0.0-pre.225 nerves_discovery 0.1.526 nerves_logging 0.2.427 nerves_runtime 0.13.1328 nerves_system_bbb 2.30.229 nerves_system_br 1.34.430 nerves_system_mangopi_mq_pro 0.17.231 nerves_system_qemu_aarch64 0.4.232 nerves_system_rpi0 2.1.233 nerves_system_rpi4 2.1.234 nerves_system_rpi5 2.1.235 nerves_system_trellis 0.5.036 nerves_system_x86_64 1.34.237 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.138 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.139 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.140 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.141 nerves_toolchain_x86_64_nerves_linux_musl 15.3.142 nerves_uevent 0.1.743 phoenix 1.4.18 VULNERABLE!44 GHSA-p8f7-22gq-m7j9 (HIGH)45 aka: CVE-2022-4297546 Phoenix before 1.6.14 mishandles check_origin wildcarding47 https://osv.dev/vulnerability/GHSA-p8f7-22gq-m7j94849 EEF-CVE-2026-56812 (MEDIUM)50 aka: CVE-2026-56812, GHSA-63mc-hw7g-86rr51 Phoenix JavaScript presence client crashes on presence keys colliding with Object.prototype members in Presence.syncState/syncDiff52 https://osv.dev/vulnerability/EEF-CVE-2026-568125354 EEF-CVE-2026-56811 (HIGH)55 aka: CVE-2026-56811, GHSA-6983-jfq8-485w56 Phoenix transports do not limit channel joins per connection, enabling process-exhaustion denial of service57 https://osv.dev/vulnerability/EEF-CVE-2026-5681158 phoenix_pubsub 1.1.259 plug 1.20.360 plug_cowboy 2.9.061 plug_crypto 2.2.062 property_table 0.3.463 ranch 2.3.064 ring_logger 0.11.765 tablet 0.3.366 telemetry 0.4.367 tesla 1.3.3 VULNERABLE!68 EEF-CVE-2026-48597 (HIGH)69 aka: CVE-2026-48597, GHSA-h74c-q9j7-mpcm70 Atom table exhaustion via untrusted URL scheme in Tesla.Adapter.Mint71 https://osv.dev/vulnerability/EEF-CVE-2026-485977273 EEF-CVE-2026-48596 (LOW)74 aka: CVE-2026-48596, GHSA-q7jx-v53g-848w75 CRLF injection in Tesla.Multipart.add_content_type_param/2 allows HTTP header injection76 https://osv.dev/vulnerability/EEF-CVE-2026-485967778 EEF-CVE-2026-48598 (LOW)79 aka: CVE-2026-48598, GHSA-28jh-g32x-v9v480 CRLF injection in Tesla.Multipart disposition parameters allows multipart part header injection81 https://osv.dev/vulnerability/EEF-CVE-2026-485988283 EEF-CVE-2026-48594 (HIGH)84 aka: CVE-2026-48594, GHSA-mc85-72gr-vm9f85 Decompression bomb in Tesla.Middleware.DecompressResponse and Tesla.Middleware.Compression86 https://osv.dev/vulnerability/EEF-CVE-2026-485948788 GHSA-9m9w-gxf7-rh8m (HIGH)89 aka: CVE-2026-48595, EEF-CVE-2026-4859590 Tesla: Authorization header leaks on cross-origin redirect via case-sensitive filtering91 https://osv.dev/vulnerability/GHSA-9m9w-gxf7-rh8m92 toolshed 0.5.093 uboot_env 1.0.294* Getting ex_mono_wrapper (Hex package)95* Getting nerves (Hex package)96* Getting ring_logger (Hex package)97* Getting toolshed (Hex package)98* Getting nerves_runtime (Hex package)99* Getting nerves_system_bbb (Hex package)100* Getting nerves_system_mangopi_mq_pro (Hex package)101* Getting nerves_system_qemu_aarch64 (Hex package)102* Getting nerves_system_rpi0 (Hex package)103* Getting nerves_system_rpi4 (Hex package)104* Getting nerves_system_rpi5 (Hex package)105* Getting nerves_system_trellis (Hex package)106* Getting nerves_system_x86_64 (Hex package)107* Getting nerves_system_br (Hex package)108* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)109* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)110* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)111* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)112* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)113* Getting nerves_logging (Hex package)114* Getting nerves_uevent (Hex package)115* Getting uboot_env (Hex package)116* Getting elixir_make (Hex package)117* Getting property_table (Hex package)118* Getting circular_buffer (Hex package)119* Getting interactive_cmd (Hex package)120* Getting nerves_discovery (Hex package)121* Getting tablet (Hex package)122* Getting gettext (Hex package)123* Getting jason (Hex package)124* Getting phoenix (Hex package)125* Getting phoenix_pubsub (Hex package)126* Getting plug_cowboy (Hex package)127* Getting tesla (Hex package)128* Getting mime (Hex package)129* Getting cowboy (Hex package)130* Getting cowboy_telemetry (Hex package)131* Getting plug (Hex package)132* Getting plug_crypto (Hex package)133* Getting telemetry (Hex package)134* Getting cowlib (Hex package)135* Getting ranch (Hex package)136* Getting expo (Hex package)137Found packages with security advisories, see above for details138You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more139==> nerves_system_br140Generated nerves_system_br app141==> mime142Compiling 2 files (.ex)143Generated mime app144==> circular_buffer145Compiling 1 file (.ex)146Generated circular_buffer app147==> jason148Compiling 10 files (.ex)149Generated jason app150==> plug_crypto151Compiling 5 files (.ex)152Generated plug_crypto app153==> nerves_compatibility_test154===> Analyzing applications...155===> Compiling ranch156==> tablet157Compiling 2 files (.ex)158Generated tablet app159==> elixir_make160Compiling 8 files (.ex)161Generated elixir_make app162==> nerves_logging163 CC kmsg_tailer.o164 LD kmsg_tailer165Compiling 5 files (.ex)166Generated nerves_logging app167==> nerves_compatibility_test168===> Analyzing applications...169===> Compiling cowlib170==> nerves_discovery171Compiling 5 files (.ex)172Generated nerves_discovery app173==> ring_logger174Compiling 7 files (.ex)175Generated ring_logger app176==> interactive_cmd177Compiling 1 file (.ex)178Generated interactive_cmd app179==> nerves180Compiling 65 files (.ex)181 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)182 │183 6 │ defmodule Mix.Tasks.Nerves.Init do184 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~185 │186 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)187188 warning: redefining module Nerves (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.beam)189 │190 6 │ defmodule Nerves do191 │ ~~~~~~~~~~~~~~~~~~~192 │193 └─ lib/nerves.ex:6: Nerves (module)194195 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)196 │197 5 │ defmodule Nerves.ArtifactResolver do198 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~199 │200 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)201202 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)203 │204 6 │ defmodule Nerves.BuildAction.AppModes do205 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~206 │207 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)208209 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)210 │211 5 │ defmodule Nerves.BuildAction.CheckExecutables do212 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~213 │214 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)215216 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)217 │218 8 │ defmodule Nerves.BuildAction.Erlinit do219 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~220 │221 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)222223 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)224 │225 5 │ defmodule Nerves.BuildAction.Firmware do226 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~227 │228 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)229230 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)231 │232 7 │ defmodule Nerves.BuildAction.IExStartupCheck do233 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~234 │235 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)236237 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)238 │239 5 │ defmodule Nerves.BuildAction.NervesV1System do240 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~241 │242 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)243244 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)245 │246 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do247 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~248 │249 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)250251 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)252 │253 5 │ defmodule Nerves.BuildAction.Rootfs do254 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~255 │256 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)257258 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)259 │260 6 │ defmodule Nerves.BuildAction.SortApps do261 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~262 │263 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)264265 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)266 │267 5 │ defmodule Nerves.BuildAction.StripAll do268 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~269 │270 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)271272 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)273 │274 5 │ defmodule Nerves.BuildAction.Trimmer do275 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~276 │277 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)278279 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)280 │281 5 │ defmodule Nerves.BuildPlan do282 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~283 │284 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)285286 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)287 │288 5 │ defmodule Nerves.BuildPlan.Checks do289 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~290 │291 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)292293 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Container.beam)294 │295 6 │ defmodule Nerves.Container do296 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~297 │298 └─ lib/nerves/container.ex:6: Nerves.Container (module)299300 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)301 │302 5 │ defmodule Nerves.Fingerprint do303 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~304 │305 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)306307 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)308 │309 5 │ defmodule Nerves.MixPackage do310 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311 │312 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)313314 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Paths.beam)315 │316 5 │ defmodule Nerves.Paths do317 │ ~~~~~~~~~~~~~~~~~~~~~~~~~318 │319 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)320321 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)322 │323 5 │ defmodule Nerves.TargetTuple do324 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~325 │326 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)327328Generated nerves app329==> nerves_toolchain_armv7_nerves_linux_gnueabihf330Compiling 1 file (.ex)331Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app332==> nerves_system_trellis333Generated nerves_system_trellis app334==> nerves_compatibility_test335===> Analyzing applications...336===> Compiling telemetry337==> tesla338Compiling 26 files (.ex)339warning: cannot infer signatures from :telemetry because it is not loaded340341 warning: using single-quoted strings to represent charlists is deprecated.342 Use ~c"" if you indeed want a charlist or use "" instead.343 You may run "mix format --migrate" to change all single-quoted344 strings to use the ~c sigil and fix this warning.345 │346 71 │ handle(:hackney.request(method, url, headers, body || '', opts))347 │ ~348 │349 └─ lib/tesla/adapter/hackney.ex:71:61350351 warning: using single-quoted strings to represent charlists is deprecated.352 Use ~c"" if you indeed want a charlist or use "" instead.353 You may run "mix format --migrate" to change all single-quoted354 strings to use the ~c sigil and fix this warning.355 │356 77 │ case List.keytake(headers, 'content-type', 0) do357 │ ~358 │359 └─ lib/tesla/adapter/httpc.ex:77:34360361 warning: using single-quoted strings to represent charlists is deprecated.362 Use ~c"" if you indeed want a charlist or use "" instead.363 You may run "mix format --migrate" to change all single-quoted364 strings to use the ~c sigil and fix this warning.365 │366 78 │ nil -> {'text/plain', headers}367 │ ~368 │369 └─ lib/tesla/adapter/httpc.ex:78:17370371 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead372 │373 126 │ @config Application.get_env(:tesla, __MODULE__, [])374 │ ~375 │376 └─ lib/tesla/middleware/logger.ex:126:23: Tesla.Middleware.Logger (module)377378 warning: unused require Tesla.Adapter.Httpc379 │380 228 │ require Tesla.Adapter.Httpc381 │ ~382 │383 └─ lib/tesla.ex:228:3384385 warning: incompatible types given to Tesla.execute/3:386387 Tesla.execute(Tesla, client, options)388389 given types:390391 -Tesla-, dynamic(%Tesla.Client{pre: list(term()), post: list(term())}), dynamic(list(term()))392393 but expected one of:394395 (396 %{..., __middleware__: list(term())},397 %{..., post: list(term()), pre: list(term())},398 list(term())399 )400401 where "client" (context Tesla.Builder) was given the type:402403 # type: dynamic(%Tesla.Client{})404 # from: lib/tesla/builder.ex:224405 %Tesla.Client{} = client406407 where "options" (context Tesla.Builder) was given the types:408409 # type: dynamic()410 # from: lib/tesla/builder.ex:224411 options412413 # type: dynamic(list(term()))414 # from: lib/tesla/builder.ex:224415 Tesla.execute(Tesla, client, options)416417 type warning found at:418 │419 224 │ 420 │ 421 │422 └─ lib/tesla/builder.ex:224: Tesla.request/2423424 warning: incompatible types given to Tesla.execute!/3:425426 Tesla.execute!(Tesla, client, options)427428 given types:429430 -Tesla-, dynamic(%Tesla.Client{pre: list(term()), post: list(term())}), dynamic(list(term()))431432 but expected one of:433434 (435 %{..., __middleware__: list(term())},436 %{..., post: list(term()), pre: list(term())},437 list(term())438 )439440 where "client" (context Tesla.Builder) was given the type:441442 # type: dynamic(%Tesla.Client{})443 # from: lib/tesla/builder.ex:224444 %Tesla.Client{} = client445446 where "options" (context Tesla.Builder) was given the types:447448 # type: dynamic()449 # from: lib/tesla/builder.ex:224450 options451452 # type: dynamic(list(term()))453 # from: lib/tesla/builder.ex:224454 Tesla.execute!(Tesla, client, options)455456 type warning found at:457 │458 224 │ 459 │ 460 │461 └─ lib/tesla/builder.ex:224: Tesla.request!/2462463 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead464 │465 237 │ raise Tesla.Mock.Error, env: env, ex: ex, stacktrace: System.stacktrace()466 │ ~467 │468 └─ lib/tesla/mock.ex:237:68: Tesla.Mock.rescue_call/2469470 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead471 │472 48 │ {:exception, e, System.stacktrace()}473 │ ~474 │475 └─ lib/tesla/middleware/timeout.ex:48:34: Tesla.Middleware.Timeout.safe_async/1476477 warning: MIME.from_path/1 is undefined (module MIME is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)478 │479 102 │ true -> List.keystore(headers, "content-type", 0, {"content-type", MIME.from_path(path)})480 │ ~481 │482 └─ lib/tesla/multipart.ex:102:81: Tesla.Multipart.add_file/3483484Generated tesla app485==> nerves_compatibility_test486===> Analyzing applications...487===> Compiling cowboy488==> expo489Compiling 2 files (.erl)490Compiling 22 files (.ex)491Generated expo app492==> gettext493Compiling 18 files (.ex)494 warning: unused require Gettext.Macros495 │496 594 │ require Gettext.Macros497 │ ~498 │499 └─ lib/gettext.ex:594:3500501 warning: the following clause is redundant:502503 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)504505 it has type:506507 dynamic(%Expo.Message.Plural{})508509 previous clauses have already matched on the following types:510511 %Expo.Message.Singular{}512 %Expo.Message.Plural{}513514 │515 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do516 │ ~517 │518 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1519520 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead521 │522 426 │ Kernel.ParallelCompiler.async(fn ->523 │ ~524 │525 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3526527Generated gettext app528==> phoenix_pubsub529Compiling 13 files (.ex)530 warning: single quotes around atoms are deprecated. Use double quotes instead531 │532 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])533 │ ~534 │535 └─ lib/phoenix/pubsub/local.ex:160:23536537 warning: single quotes around atoms are deprecated. Use double quotes instead538 │539 160 │ |> :ets.select([{{:'$1', :_}, [], [:'$1']}])540 │ ~541 │542 └─ lib/phoenix/pubsub/local.ex:160:40543544 warning: unused require Logger545 │546 107 │ require Logger547 │ ~548 │549 └─ lib/phoenix/tracker.ex:107:3550551 warning: a struct for Phoenix.Tracker.State is expected on struct update:552553 %Phoenix.Tracker.State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}554555 but got type:556557 dynamic()558559 where "delta" was given the type:560561 # type: dynamic()562 # from: lib/phoenix/tracker/state.ex:461:36563 %Phoenix.Tracker.State{delta: delta} = state564565 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"566567 type warning found at:568 │569 465 │ new_delta = %State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}570 │ ~571 │572 └─ lib/phoenix/tracker/state.ex:465:17: Phoenix.Tracker.State.do_add/5573574 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:575576 %Phoenix.Tracker.Replica{replica | status: :permdown}577578 but got type:579580 dynamic()581582 where "replica" was given the type:583584 # type: dynamic()585 # from: lib/phoenix/tracker/replica.ex:72:17586 replica587588 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"589590 type warning found at:591 │592 72 │ defp permdown(replica), do: %Replica{replica | status: :permdown}593 │ ~594 │595 └─ lib/phoenix/tracker/replica.ex:72:31: Phoenix.Tracker.Replica.permdown/1596597 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:598599 %Phoenix.Tracker.Replica{replica | status: :down}600601 but got type:602603 dynamic()604605 where "replica" was given the type:606607 # type: dynamic()608 # from: lib/phoenix/tracker/replica.ex:74:13609 replica610611 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"612613 type warning found at:614 │615 74 │ defp down(replica), do: %Replica{replica | status: :down}616 │ ~617 │618 └─ lib/phoenix/tracker/replica.ex:74:27: Phoenix.Tracker.Replica.down/1619620 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:621622 %Phoenix.Tracker.Replica{replica | last_heartbeat_at: now_ms()}623624 but got type:625626 dynamic()627628 where "replica" was given the type:629630 # type: dynamic()631 # from: lib/phoenix/tracker/replica.ex:76:29632 replica633634 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"635636 type warning found at:637 │638 77 │ %Replica{replica | last_heartbeat_at: now_ms()}639 │ ~640 │641 └─ lib/phoenix/tracker/replica.ex:77:5: Phoenix.Tracker.Replica.touch_last_heartbeat/1642643 warning: a struct for Phoenix.Tracker.State is expected on struct update:644645 %Phoenix.Tracker.State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}646647 but got type:648649 dynamic()650651 where "delta" was given the type:652653 # type: dynamic()654 # from: lib/phoenix/tracker/state.ex:541:99655 %Phoenix.Tracker.State{mode: :normal, replica: rep, clouds: clouds, context: ctx, delta: delta} =656 state657658 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"659660 type warning found at:661 │662 547 │ delta: %State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}}663 │ ~664 │665 └─ lib/phoenix/tracker/state.ex:547:19: Phoenix.Tracker.State.bump_clock/1666667 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead668 │669 269 │ worker(Phoenix.Tracker.Shard, [tracker, tracker_opts, shard_opts],670 │ ~671 │672 └─ lib/phoenix/tracker.ex:269:9: Phoenix.Tracker.init/1673674 warning: a struct for Phoenix.Tracker.State is expected on struct update:675676 %Phoenix.Tracker.State{delta | range: {start_clock, new_end}}677678 but got type:679680 dynamic(%{..., range: {term(), term()}})681682 where "delta" was given the type:683684 # type: dynamic(%{..., range: {term(), term()}})685 # from: lib/phoenix/tracker/state.ex:551:30686 {start_clock, end_clock} = delta.range687688 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"689690 type warning found at:691 │692 555 │ delta: %State{delta | range: {start_clock, new_end}}}693 │ ~694 │695 └─ lib/phoenix/tracker/state.ex:555:19: Phoenix.Tracker.State.put_context/2696697 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead698 │699 273 │ supervise(shards, strategy: :one_for_one,700 │ ~701 │702 └─ lib/phoenix/tracker.ex:273:5: Phoenix.Tracker.init/1703704 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead705 │706 7 │ [supervisor(Phoenix.PubSub.PG2, pubsub)]707 │ ~708 │709 └─ lib/phoenix/pubsub/supervisor.ex:7:8: Phoenix.PubSub.Supervisor.start/2710711 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead712 │713 93 │ supervisor(Phoenix.PubSub.LocalSupervisor, [server, pool_size, dispatch_rules]),714 │ ~715 │716 └─ lib/phoenix/pubsub/pg2.ex:93:7: Phoenix.PubSub.PG2.init/1717718 warning: :pg2.create/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead719 │720 43 │ :ok = :pg2.create(pg2_group)721 │ ~722 │723 └─ lib/phoenix/pubsub/pg2_server.ex:43:16: Phoenix.PubSub.PG2Server.init/1724725 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead726 │727 94 │ worker(Phoenix.PubSub.PG2Server, [server, pool_size])728 │ ~729 │730 └─ lib/phoenix/pubsub/pg2.ex:94:7: Phoenix.PubSub.PG2.init/1731732 warning: :pg2.join/2 is undefined or private, this module was removed in OTP 24. Use 'pg' instead733 │734 44 │ :ok = :pg2.join(pg2_group, self())735 │ ~736 │737 └─ lib/phoenix/pubsub/pg2_server.ex:44:16: Phoenix.PubSub.PG2Server.init/1738739 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead740 │741 97 │ supervise(children, strategy: :rest_for_one)742 │ ~743 │744 └─ lib/phoenix/pubsub/pg2.ex:97:5: Phoenix.PubSub.PG2.init/1745746 warning: :pg2.get_members/1 is undefined or private, this module was removed in OTP 24. Use 'pg' instead747 │748 57 │ :pg2.get_members(pg2_namespace(server_name))749 │ ~750 │751 └─ lib/phoenix/pubsub/pg2_server.ex:57:10: Phoenix.PubSub.PG2Server.get_members/1752753 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead754 │755 35 │ worker(Phoenix.PubSub.GC, [gc_shard_name, local_shard_name]),756 │ ~757 │758 └─ lib/phoenix/pubsub/local_supervisor.ex:35:9: Phoenix.PubSub.LocalSupervisor.init/1759 └─ lib/phoenix/pubsub/local_supervisor.ex:36:9: Phoenix.PubSub.LocalSupervisor.init/1760761 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead762 │763 39 │ supervisor(Supervisor, [shard_children, [strategy: :one_for_all]], id: shard)764 │ ~765 │766 └─ lib/phoenix/pubsub/local_supervisor.ex:39:7: Phoenix.PubSub.LocalSupervisor.init/1767768 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead769 │770 42 │ supervise children, strategy: :one_for_one771 │ ~772 │773 └─ lib/phoenix/pubsub/local_supervisor.ex:42:5: Phoenix.PubSub.LocalSupervisor.init/1774775Generated phoenix_pubsub app776==> plug777Compiling 1 file (.erl)778Compiling 42 files (.ex)779Generated plug app780==> uboot_env781Compiling 5 files (.ex)782Generated uboot_env app783==> property_table784Compiling 8 files (.ex)785Generated property_table app786==> nerves_uevent787 CC uevent.o788 LD uevent789Compiling 5 files (.ex)790Generated nerves_uevent app791==> nerves_runtime792Compiling 14 files (.ex)793Generated nerves_runtime app794==> toolshed795Compiling 5 files (.ex)796Generated toolshed app797==> nerves_compatibility_test798===> Analyzing applications...799===> Compiling cowboy_telemetry800==> plug_cowboy801Compiling 5 files (.ex)802Generated plug_cowboy app803warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"804 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2805 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1806 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5807 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2808 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4809 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2810811==> phoenix812Compiling 67 files (.ex)813 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 operator814 │815 190 │ <<attr::size(prefix)-binary, ":unique">> -> attr816 │ ~817 │818 └─ lib/mix/phoenix/schema.ex:190:20: Mix.Phoenix.Schema.drop_unique/1819820 warning: using single-quoted strings to represent charlists is deprecated.821 Use ~c"" if you indeed want a charlist or use "" instead.822 You may run "mix format --migrate" to change all single-quoted823 strings to use the ~c sigil and fix this warning.824 │825 258 │ notBefore: {:utcTime, '#{not_before}000000Z'},826 │ ~827 │828 └─ lib/mix/tasks/phx.gen.cert.ex:258:33829830 warning: using single-quoted strings to represent charlists is deprecated.831 Use ~c"" if you indeed want a charlist or use "" instead.832 You may run "mix format --migrate" to change all single-quoted833 strings to use the ~c sigil and fix this warning.834 │835 259 │ notAfter: {:utcTime, '#{not_after}000000Z'}836 │ ~837 │838 └─ lib/mix/tasks/phx.gen.cert.ex:259:32839840 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead841 │842 55 │ Logger.warn(843 │ ~844 │845 └─ lib/phoenix/code_reloader/server.ex:55:20: Phoenix.CodeReloader.Server.handle_call/3846847 warning: unused require Logger848 │849 9 │ require Logger850 │ ~851 │852 └─ lib/phoenix/config.ex:9:3853854 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.855856 This error happens when you have function calls without parentheses inside keywords. For example:857858 function(arg, one: nested_call a, b, c)859 function(arg, one: if expr, do: :this, else: :that)860861 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:862863 function(arg, one: if(expr, do: :this, else: :that))864 function(arg, one: nested_call(a, b, c))865866 Ambiguity found at:867 │868 1006 │ defp get_disposition_type(other), do: raise ArgumentError, "expected :disposition to be :attachment or :inline, got: #{inspect(other)}"869 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~870 │871 └─ lib/phoenix/controller.ex:1006872873 warning: unused require Logger874 │875 282 │ require Logger876 │ ~877 │878 └─ lib/phoenix/endpoint.ex:282:3879880 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead881 │882 35 │ Logger.warn(883 │ ~884 │885 └─ lib/phoenix/endpoint/supervisor.ex:35:20: Phoenix.Endpoint.Supervisor.init/1886887 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead888 │889 121 │ Logger.warn "Phoenix.Endpoint.CowboyHandler is deprecated, please use Phoenix.Endpoint.CowboyAdapter instead"890 │ ~891 │892 └─ lib/phoenix/endpoint/supervisor.ex:121:16: Phoenix.Endpoint.Supervisor.user_adapter/2893894 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead895 │896 125 │ Logger.warn "The :handler option in #{inspect endpoint} is deprecated, please use :adapter instead"897 │ ~898 │899 └─ lib/phoenix/endpoint/supervisor.ex:125:16: Phoenix.Endpoint.Supervisor.user_adapter/2900901 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead902 │903 138 │ Logger.warn("""904 │ ~905 │906 └─ lib/phoenix/endpoint/supervisor.ex:138:12: Phoenix.Endpoint.Supervisor.warn_on_different_adapter_version/3907908 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 operator909 │910 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix911 │ ~912 │913 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/2914915 warning: using single-quoted strings to represent charlists is deprecated.916 Use ~c"" if you indeed want a charlist or use "" instead.917 You may run "mix format --migrate" to change all single-quoted918 strings to use the ~c sigil and fix this warning.919 │920 339 │ @anno (if :erlang.system_info(:otp_release) >= '19' do921 │ ~922 │923 └─ lib/phoenix/router.ex:339:50924925 warning: using single-quoted strings to represent charlists is deprecated.926 Use ~c"" if you indeed want a charlist or use "" instead.927 You may run "mix format --migrate" to change all single-quoted928 strings to use the ~c sigil and fix this warning.929 │930 8 │ @anno (if :erlang.system_info(:otp_release) >= '19' do931 │ ~932 │933 └─ lib/phoenix/router/helpers.ex:8:50934935 warning: missing parentheses for expression following "do:" keyword. Parentheses are required to solve ambiguity inside keywords.936937 This error happens when you have function calls without parentheses inside keywords. For example:938939 function(arg, one: nested_call a, b, c)940 function(arg, one: if expr, do: :this, else: :that)941942 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:943944 function(arg, one: if(expr, do: :this, else: :that))945 function(arg, one: nested_call(a, b, c))946947 Ambiguity found at:948 │949 71 │ unless actions -- supported_actions == [], do: raise ArgumentError, """950 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~951 │952 └─ lib/phoenix/router/resource.ex:71953954 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead955 │956 1017 │ Logger.warn "send_download/3 has been invoked during an AJAX request. " <>957 │ ~958 │959 └─ lib/phoenix/controller.ex:1017:14: Phoenix.Controller.warn_if_ajax/1960961 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead962 │963 781 │ Logger.warn fn -> "Ignoring unmatched topic \"#{topic}\" in #{inspect(handler)}" end964 │ ~965 │966 └─ lib/phoenix/socket.ex:781:12: Phoenix.Socket.encode_ignore/2967968 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead969 │970 266 │ Logger.warn fn -> "Ignoring unmatched topic \"#{msg.topic}\" in #{inspect(socket.handler)}" end971 │ ~972 │973 └─ lib/phoenix/socket/transport.ex:266:12: Phoenix.Socket.Transport.reply_ignore/2974975 warning: Logger.warn/1 is deprecated. Use Logger.warning/2 instead976 │977 328 │ Logger.warn(978 │ ~979 │980 └─ lib/phoenix/token.ex:328:12: Phoenix.Token.expired?/2981982 warning: using single-quoted strings to represent charlists is deprecated.983 Use ~c"" if you indeed want a charlist or use "" instead.984 You may run "mix format --migrate" to change all single-quoted985 strings to use the ~c sigil and fix this warning.986 │987 177 │ @anno (if :erlang.system_info(:otp_release) >= '19' do988 │ ~989 │990 └─ lib/phoenix/view.ex:177:50991992 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead993 │994 11 │ worker(Phoenix.Transports.LongPoll.Server, [], restart: :temporary)995 │ ~996 │997 └─ lib/phoenix/transports/long_poll_server.ex:11:7: Phoenix.Transports.LongPoll.Supervisor.init/1998999 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1000 │1001 14 │ supervise(children, strategy: :simple_one_for_one)1002 │ ~1003 │1004 └─ lib/phoenix/transports/long_poll_server.ex:14:5: Phoenix.Transports.LongPoll.Supervisor.init/110051006 warning: expected a module (an atom) when invoking config/1 in expression:10071008 endpoint.config(:endpoint_id)10091010 where "endpoint" was given the type:10111012 # type: dynamic(%{..., __pubsub_server__: atom()})1013 # from: lib/phoenix/transports/long_poll.ex:148:101014 verify_token(endpoint, token, opts)10151016 type warning found at:1017 │1018 150 │ server_ref = server_ref(endpoint.config(:endpoint_id), id, pid, priv_topic)1019 │ ~1020 │1021 └─ lib/phoenix/transports/long_poll.ex:150:42: Phoenix.Transports.LongPoll.resume_session/310221023 warning: unknown key .__pubsub_server__ in expression:10241025 endpoint.__pubsub_server__10261027 the given type does not have the given key:10281029 dynamic(1030 %Phoenix.Socket{1031 assigns: term(),1032 channel: term(),1033 channel_pid: term(),1034 endpoint: atom(),1035 handler: term(),1036 id: term(),1037 joined: term(),1038 join_ref: term(),1039 private: term(),1040 pubsub_server: term(),1041 ref: term(),1042 serializer: term(),1043 topic: term(),1044 transport: term(),1045 transport_pid: term()1046 } or1047 %Plug.Conn{1048 adapter: term(),1049 assigns: term(),1050 body_params: term(),1051 cookies: term(),1052 halted: term(),1053 host: term(),1054 method: term(),1055 owner: term(),1056 params: term(),1057 path_info: term(),1058 path_params: term(),1059 port: term(),1060 private: term(),1061 query_params: term(),1062 query_string: term(),1063 remote_ip: term(),1064 req_cookies: term(),1065 req_headers: term(),1066 request_path: term(),1067 resp_body: term(),1068 resp_cookies: term(),1069 resp_headers: term(),1070 scheme: term(),1071 script_name: term(),1072 secret_key_base: term(),1073 state: term(),1074 status: term()1075 } or atom() or binary()1076 )10771078 where "endpoint" was given the type:10791080 # type: dynamic(%Phoenix.Socket{endpoint: atom()} or %Plug.Conn{} or atom() or binary())1081 # from: lib/phoenix/transports/long_poll.ex:189:191082 Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])10831084 type warning found at:1085 │1086 189 │ Phoenix.Token.sign(endpoint, Atom.to_string(endpoint.__pubsub_server__), data, opts[:crypto])1087 │ ~~~~~~~~~~~~~~~~~1088 │1089 └─ lib/phoenix/transports/long_poll.ex:189:58: Phoenix.Transports.LongPoll.sign_token/310901091 warning: Plug.Crypto.safe_binary_to_term/1 is undefined or private1092 │1093 276 │ %{data: data, signed: signed} = Plug.Crypto.safe_binary_to_term(message)1094 │ ~1095 │1096 └─ lib/phoenix/token.ex:276:49: Phoenix.Token.decode/210971098 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1099 │1100 678 │ kind, error -> {:error, {kind, error, System.stacktrace()}}1101 │ ~1102 │1103 └─ lib/phoenix/test/conn_test.ex:678:52: Phoenix.ConnTest.wrap_request/111041105 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1106 │1107 59 │ supervisor(WorkerSupervisor, [worker, ref, i], id: i)1108 │ ~1109 │1110 └─ lib/phoenix/socket/pool_supervisor.ex:59:9: Phoenix.Socket.PoolSupervisor.init/111111112 warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1113 │1114 62 │ supervise(children, strategy: :one_for_one)1115 │ ~1116 │1117 └─ lib/phoenix/socket/pool_supervisor.ex:62:5: Phoenix.Socket.PoolSupervisor.init/111181119 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1120 │1121 510 │ worker = worker(Phoenix.Channel.Server, [], worker_opts)1122 │ ~1123 │1124 └─ lib/phoenix/socket.ex:510:14: Phoenix.Socket.__child_spec__/211251126 warning: Supervisor.Spec.supervisor/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1127 │1128 512 │ supervisor(Phoenix.Socket.PoolSupervisor, [args], id: handler)1129 │ ~1130 │1131 └─ lib/phoenix/socket.ex:512:5: Phoenix.Socket.__child_spec__/211321133 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1134 │1135 307 │ supervisor(Task.Supervisor, [[name: task_supervisor]]),1136 │ ~1137 │1138 └─ lib/phoenix/presence.ex:307:7: Phoenix.Presence.start_link/411391140 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1141 │1142 308 │ worker(Phoenix.Tracker, [module, opts, opts])1143 │ ~1144 │1145 └─ lib/phoenix/presence.ex:308:7: Phoenix.Presence.start_link/411461147 warning: a struct for Plug.Conn is expected on struct update:11481149 %Plug.Conn{conn | state: :sent}11501151 but got type:11521153 dynamic()11541155 where "conn" was given the type:11561157 # type: dynamic()1158 # from: lib/phoenix/endpoint/render_errors.ex:55:171159 conn11601161 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"11621163 type warning found at:1164 │1165 59 │ %Plug.Conn{conn | state: :sent}1166 │ ~1167 │1168 └─ lib/phoenix/endpoint/render_errors.ex:59:9: Phoenix.Endpoint.RenderErrors.__catch__/511691170 warning: a struct for Plug.Conn is expected on struct update:11711172 %Plug.Conn{conn | params: params}11731174 but got type:11751176 dynamic(%{..., params: map()})11771178 where "conn" was given the type:11791180 # type: dynamic(%{..., params: map()})1181 # from: lib/phoenix/controller.ex:1044:171182 Map.get(conn.params, required_key)11831184 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"11851186 type warning found at:1187 │1188 1051 │ %Plug.Conn{conn | params: params}1189 │ ~1190 │1191 └─ lib/phoenix/controller.ex:1051:5: Phoenix.Controller.scrub_params/211921193 warning: a struct for Plug.Conn is expected on struct update:11941195 %Plug.Conn{conn | query_params: %{}, params: %{}}11961197 but got type:11981199 dynamic(%{..., params: %Plug.Conn.Unfetched{}})12001201 where "conn" was given the types:12021203 # type: dynamic(%{..., params: term()})1204 # from: lib/phoenix/endpoint/render_errors.ex:125:171205 conn.params12061207 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})1208 # from: lib/phoenix/endpoint/render_errors.ex:125:171209 conn.params12101211 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"12121213 type warning found at:1214 │1215 126 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}1216 │ ~1217 │1218 └─ lib/phoenix/endpoint/render_errors.ex:126:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/112191220 warning: a struct for Plug.Conn is expected on struct update:12211222 %Plug.Conn{conn | query_params: %{}, params: params}12231224 but got type:12251226 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})12271228 where "conn" was given the types:12291230 # type: dynamic(%{..., params: term()})1231 # from: lib/phoenix/endpoint/render_errors.ex:125:171232 conn.params12331234 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})1235 # from: lib/phoenix/endpoint/render_errors.ex:125:171236 conn.params12371238 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"12391240 type warning found at:1241 │1242 127 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}1243 │ ~1244 │1245 └─ lib/phoenix/endpoint/render_errors.ex:127:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/112461247 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1248 │1249 298 │ metadata = %{kind: :error, error: e, stacktrace: System.stacktrace()}1250 │ ~1251 │1252 └─ lib/phoenix/router.ex:298:69: Phoenix.Router.__call__/21253 └─ lib/phoenix/router.ex:304:74: Phoenix.Router.__call__/21254 └─ lib/phoenix/router.ex:306:79: Phoenix.Router.__call__/212551256 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1257 │1258 75 │ [supervisor(adapter, [pub_conf[:name], pub_conf])]1259 │ ~1260 │1261 └─ lib/phoenix/endpoint/supervisor.ex:75:8: Phoenix.Endpoint.Supervisor.pubsub_children/212621263 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1264 │1265 30 │ {:upgrade, :protocol, __MODULE__, req, {:error, mfa, kind, reason, System.stacktrace()}}1266 │ ~1267 │1268 └─ lib/phoenix/endpoint/cowboy_websocket.ex:30:83: Phoenix.Endpoint.CowboyWebSocket.init/312691270 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1271 │1272 89 │ [worker(Phoenix.Config, args)]1273 │ ~1274 │1275 └─ lib/phoenix/endpoint/supervisor.ex:89:6: Phoenix.Endpoint.Supervisor.config_children/312761277 warning: Supervisor.Spec.worker/3 is deprecated. Use the new child specifications outlined in the Supervisor module instead1278 │1279 162 │ worker(Phoenix.Endpoint.Watcher, watcher_args(cmd, args),1280 │ ~1281 │1282 └─ lib/phoenix/endpoint/supervisor.ex:162:9: Phoenix.Endpoint.Supervisor.watcher_children/312831284 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1285 │1286 49 │ case System.stacktrace() do1287 │ ~1288 │1289 └─ lib/phoenix/endpoint/cowboy2_handler.ex:49:19: Phoenix.Endpoint.Cowboy2Handler.init/412901291 warning: the following clause will never match:12921293 [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->12941295 because it attempts to match on the result of:12961297 System.stacktrace()12981299 which has type:13001301 empty_list()13021303 where "endpoint" was given the type:13041305 # type: dynamic()1306 # from: lib/phoenix/endpoint/cowboy2_handler.ex:18:191307 endpoint13081309 where "reason" was given the type:13101311 # type: dynamic(:undef)1312 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:591313 reason == :undef13141315 where "retry?" was given the type:13161317 # type: dynamic(true)1318 # from: lib/phoenix/endpoint/cowboy2_handler.ex:52:731319 retry?13201321 type warning found at:1322 │1323 52 │ [{^endpoint, :__handler__, _, _} | _] when reason == :undef and retry? ->1324 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1325 │1326 └─ lib/phoenix/endpoint/cowboy2_handler.ex:52: Phoenix.Endpoint.Cowboy2Handler.init/413271328 warning: expected a module (an atom) when invoking path/1 in expression:13291330 endpoint.path("/")13311332 where "endpoint" was given the type:13331334 # type: dynamic(%{..., host: term()})1335 # from: lib/phoenix/endpoint/supervisor.ex:369:141336 endpoint.host13371338 type warning found at:1339 │1340 370 │ endpoint.path("/")1341 │ ~1342 │1343 └─ lib/phoenix/endpoint/supervisor.ex:370:14: Phoenix.Endpoint.Supervisor.warmup/113441345 warning: incompatible types given to socket_children/1:13461347 socket_children(mod)13481349 given types:13501351 -dynamic(atom())-13521353 but expected one of:13541355 %{..., __sockets__: term()}13561357 where "mod" was given the types:13581359 # type: dynamic(atom() or binary())1360 # from: lib/phoenix/endpoint/supervisor.ex:29:411361 config otp_app, mod13621363 # type: dynamic(atom())1364 # from: lib/phoenix/endpoint/supervisor.ex:32:161365 mod.init(:supervisor, default_conf)13661367 type warning found at:1368 │1369 58 │ socket_children(mod) ++1370 │ ~1371 │1372 └─ lib/phoenix/endpoint/supervisor.ex:58:7: Phoenix.Endpoint.Supervisor.init/113731374 warning: expected a map or struct when accessing .__transports__ in expression:13751376 socket.__transports__13771378 where "socket" was given the type:13791380 # type: dynamic(atom())1381 # from: lib/phoenix/endpoint/cowboy_adapter.ex:115:131382 Code.ensure_loaded?(socket)13831384 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()13851386 type warning found at:1387 │1388 116 │ socket.__transports__1389 │ ~1390 │1391 └─ lib/phoenix/endpoint/cowboy_adapter.ex:116:14: Phoenix.Endpoint.CowboyAdapter.deprecated_transports/113921393 warning: comparison between distinct types found:13941395 !Path.extname(file_path) == ".gz"13961397 given types:13981399 dynamic(boolean()) == binary()14001401 where "file_path" was given the type:14021403 # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))1404 # from: lib/phoenix/digester.ex:156:451405 Path.basename(file_path)14061407 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 false14081409 type warning found at:1410 │1411 157 │ !Path.extname(file_path) == ".gz"1412 │ ~1413 │1414 └─ lib/phoenix/digester.ex:157:32: Phoenix.Digester.uncompressed_digested_file?/114151416 warning: Supervisor.Spec.worker/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1417 │1418 56 │ worker(Phoenix.CodeReloader.Server, []),1419 │ ~1420 │1421 └─ lib/phoenix.ex:56:7: Phoenix.start/214221423 warning: Supervisor.Spec.supervisor/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead1424 │1425 57 │ supervisor(Phoenix.Transports.LongPoll.Supervisor, [])1426 │ ~1427 │1428 └─ lib/phoenix.ex:57:7: Phoenix.start/214291430 warning: System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead1431 │1432 81 │ IO.puts(Exception.format(kind, reason, System.stacktrace()))1433 │ ~1434 │1435 └─ lib/phoenix/code_reloader/server.ex:81:59: Phoenix.CodeReloader.Server.handle_call/314361437 warning: expected a map or struct when accessing .__phoenix_recompile__? in expression:14381439 mod.__phoenix_recompile__?14401441 where "mod" was given the type:14421443 # type: dynamic(atom())1444 # from: lib/mix/tasks/compile.phoenix.ex:34:121445 Code.ensure_loaded?(mod)14461447 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()14481449 type warning found at:1450 │1451 36 │ mod.__phoenix_recompile__?1452 │ ~1453 │1454 └─ lib/mix/tasks/compile.phoenix.ex:36:13: Mix.Tasks.Compile.Phoenix.modules_for_recompilation/114551456Generated phoenix app1457warning: failed to load Jason for Phoenix JSON encoding1458(module Jason is not available).14591460Ensure Jason exists in your deps in mix.exs,1461and you have configured Phoenix to use it for JSON encoding by1462verifying the following exists in your config/config.exs:14631464 config :phoenix, :json_library, Jason146514661467 (phoenix 1.4.18) lib/phoenix.ex:40: Phoenix.start/21468 (kernel 11.0.4) application_master.erl:299: :application_master.start_it_old/414691470warning: the :gettext compiler is no longer required in your mix.exs.14711472Please find the following line in your mix.exs and remove the :gettext entry:14731474 compilers: [..., :gettext, ...] ++ Mix.compilers(),14751476 (gettext 0.26.2) lib/mix/tasks/compile.gettext.ex:5: Mix.Tasks.Compile.Gettext.run/11477 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51478 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21479 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41480 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/21481 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/514821483==> ex_mono_wrapper1484Compiling 10 files (.ex)1485warning: defining a Gettext backend by calling14861487 use Gettext, otp_app: ...14881489is deprecated. To define a backend, call:14901491 use Gettext.Backend, otp_app: :my_app14921493Then, instead of importing your backend, call this in your module:14941495 use Gettext, backend: MyApp.Gettext14961497 lib/ex_mono_wrapper_web/gettext.ex:23: ExMonoWrapperWeb.Gettext (module)149814991500== Compilation error in file lib/ex_mono_wrapper_web/endpoint.ex ==1501** (ArgumentError) invalid :json_decoder option. The module Poison is not loaded and could not be found1502 (plug 1.20.3) lib/plug/parsers/json.ex:48: Plug.Parsers.JSON.validate_decoder!/11503 (plug 1.20.3) lib/plug/parsers/json.ex:35: Plug.Parsers.JSON.init/11504 (plug 1.20.3) lib/plug/parsers.ex:283: anonymous fn/2 in Plug.Parsers.convert_parsers/21505 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/21506 (elixir 1.20.3) lib/enum.ex:1725: Enum."-map/2-lists^map/1-1-"/21507 (plug 1.20.3) lib/plug/parsers.ex:263: Plug.Parsers.init/11508 (plug 1.20.3) lib/plug/builder.ex:358: Plug.Builder.init_module_plug/41509 (plug 1.20.3) lib/plug/builder.ex:339: anonymous fn/5 in Plug.Builder.compile/31510could not compile dependency :ex_mono_wrapper, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_mono_wrapper --force", update it with "mix deps.update ex_mono_wrapper" or clean it with "mix deps.clean ex_mono_wrapper"