Build log
nerves_system_rpi0_2
step_flow 1.9.1-rc1 · fail · run step_flow-1.9.1-rc1-1793297227430
2338 of 2338 lines
1Resolving Hex dependencies...2Resolution completed in 0.396s3Unchanged:4 accept 0.3.75 amqp 4.1.16 amqp_client 4.3.47 castore 1.0.228 certifi 2.18.09 circular_buffer 1.1.010 conv_case 0.2.311 cowboy 2.20.012 cowlib 2.21.0 VULNERABLE!13 EEF-CVE-2026-43966 (MEDIUM)14 aka: CVE-2026-43966, GHSA-w4f7-4cxr-rv3c15 HTTP Response Splitting via Non-VCHAR Bytes in cow_http_struct_hd:escape_string/216 https://osv.dev/vulnerability/EEF-CVE-2026-4396617 credentials_obfuscation 3.5.018 db_connection 2.10.219 decimal 3.2.020 ecto 3.14.221 ecto_enum 1.4.022 ecto_sql 3.14.023 elixir_make 0.10.124 ex_json_schema 0.11.525 expo 1.1.126 gettext 0.26.227 h2 0.12.528 hackney 4.9.129 httpoison 3.0.030 idna 7.1.031 interactive_cmd 0.1.432 jason 1.4.533 json 1.4.134 json_xema 0.6.535 logger_backends 1.0.136 mime 2.0.737 mimerl 1.5.038 nerves 2.0.0-pre.339 nerves_discovery 0.1.640 nerves_logging 0.2.441 nerves_runtime 0.13.1342 nerves_system_bbb 2.31.143 nerves_system_br 1.35.344 nerves_system_mangopi_mq_pro 0.18.145 nerves_system_qemu_aarch64 0.5.146 nerves_system_rpi0 2.2.147 nerves_system_rpi0_2 2.2.148 nerves_system_rpi4 2.2.149 nerves_system_rpi5 2.2.150 nerves_system_trellis 0.6.151 nerves_system_x86_64 1.35.152 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.153 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.154 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.155 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.156 nerves_toolchain_x86_64_nerves_linux_musl 15.3.157 nerves_uevent 0.1.858 open_api_spex 3.18.359 parse_trans 3.4.260 phoenix 1.7.2461 phoenix_html 4.1.162 phoenix_html_helpers 1.0.163 phoenix_pubsub 2.1.364 phoenix_template 1.1.065 phoenix_view 2.0.466 plug 1.15.6 VULNERABLE!67 EEF-CVE-2026-56814 (MEDIUM)68 aka: CVE-2026-56814, GHSA-95qv-c9g9-rm6369 Plug: multipart :length limit is not charged for part headers, enabling unbounded temp-file creation (denial of service)70 https://osv.dev/vulnerability/EEF-CVE-2026-568147172 EEF-CVE-2026-56813 (LOW)73 aka: CVE-2026-56813, GHSA-wpmj-jh88-rpgm74 Cookie attribute injection in Plug.Conn.Cookies.encode/275 https://osv.dev/vulnerability/EEF-CVE-2026-5681376 plug_crypto 2.2.177 postgrex 0.22.478 prometheus 4.13.0 RETIRED!79 (other) Breaking changes regarding automated discovery of collectors, version was promoted to 5.0.080 prometheus_ex 3.1.081 prometheus_plugs 1.1.582 property_table 0.3.483 quantile_estimator 1.0.284 quic 2.1.385 rabbit_common 4.3.486 ranch 2.2.087 recon 2.5.688 ring_logger 0.11.789 ssl_verify_fun 1.1.790 step_flow 1.9.1-rc191 tablet 0.3.392 telemetry 1.4.293 thoas 1.2.194 toolshed 0.5.095 uboot_env 1.0.396 websock 0.5.397 websock_adapter 0.5.998 webtransport 0.4.899 xema 0.17.9100* Getting step_flow (Hex package)101* Getting nerves (Hex package)102* Getting logger_backends (Hex package)103* Getting ring_logger (Hex package)104* Getting toolshed (Hex package)105* Getting nerves_runtime (Hex package)106* Getting nerves_system_bbb (Hex package)107* Getting nerves_system_mangopi_mq_pro (Hex package)108* Getting nerves_system_qemu_aarch64 (Hex package)109* Getting nerves_system_rpi0 (Hex package)110* Getting nerves_system_rpi0_2 (Hex package)111* Getting nerves_system_rpi4 (Hex package)112* Getting nerves_system_rpi5 (Hex package)113* Getting nerves_system_trellis (Hex package)114* Getting nerves_system_x86_64 (Hex package)115* Getting nerves_system_br (Hex package)116* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)117* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)118* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)119* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)120* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)121* Getting nerves_logging (Hex package)122* Getting nerves_uevent (Hex package)123* Getting uboot_env (Hex package)124* Getting elixir_make (Hex package)125* Getting property_table (Hex package)126* Getting circular_buffer (Hex package)127* Getting interactive_cmd (Hex package)128* Getting nerves_discovery (Hex package)129* Getting tablet (Hex package)130* Getting amqp (Hex package)131* Getting cowboy (Hex package)132* Getting ecto (Hex package)133* Getting ecto_enum (Hex package)134* Getting ecto_sql (Hex package)135* Getting ex_json_schema (Hex package)136* Getting gettext (Hex package)137* Getting httpoison (Hex package)138* Getting jason (Hex package)139* Getting json (Hex package)140* Getting json_xema (Hex package)141* Getting open_api_spex (Hex package)142* Getting phoenix (Hex package)143* Getting phoenix_html (Hex package)144* Getting phoenix_html_helpers (Hex package)145* Getting phoenix_pubsub (Hex package)146* Getting phoenix_view (Hex package)147* Getting plug (Hex package)148* Getting postgrex (Hex package)149* Getting prometheus_ex (Hex package)150* Getting prometheus_plugs (Hex package)151* Getting xema (Hex package)152* Getting conv_case (Hex package)153* Getting accept (Hex package)154* Getting prometheus (Hex package)155* Getting quantile_estimator (Hex package)156* Getting db_connection (Hex package)157* Getting decimal (Hex package)158* Getting telemetry (Hex package)159* Getting mime (Hex package)160* Getting plug_crypto (Hex package)161* Getting phoenix_template (Hex package)162* Getting castore (Hex package)163* Getting websock_adapter (Hex package)164* Getting websock (Hex package)165* Getting hackney (Hex package)166* Getting certifi (Hex package)167* Getting h2 (Hex package)168* Getting idna (Hex package)169* Getting mimerl (Hex package)170* Getting parse_trans (Hex package)171* Getting quic (Hex package)172* Getting ssl_verify_fun (Hex package)173* Getting webtransport (Hex package)174* Getting expo (Hex package)175* Getting cowlib (Hex package)176* Getting ranch (Hex package)177* Getting amqp_client (Hex package)178* Getting credentials_obfuscation (Hex package)179* Getting rabbit_common (Hex package)180* Getting recon (Hex package)181* Getting thoas (Hex package)182Found retired packages, see above for details183Found packages with security advisories, see above for details184You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more185==> tablet186Compiling 2 files (.ex)187Generated tablet app188==> nerves_discovery189Compiling 5 files (.ex)190Generated nerves_discovery app191==> interactive_cmd192Compiling 1 file (.ex)193Generated interactive_cmd app194==> nerves195Compiling 65 files (.ex)196Generated nerves app197==> nerves_system_br198Generated nerves_system_br app199==> nerves_compatibility_test200===> Analyzing applications...201===> Compiling credentials_obfuscation202==> mime203Compiling 1 file (.ex)204Generated mime app205==> circular_buffer206Compiling 1 file (.ex)207Generated circular_buffer app208==> json209Compiling 13 files (.ex)210 warning: redefining module JSON (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.beam)211 │212 1 │ defmodule JSON do213 │ ~~~~~~~~~~~~~~~~~214 │215 └─ lib/json.ex:1: JSON (module)216217 warning: redefining module JSON.Encoder (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.beam)218 │219 1 │ defprotocol JSON.Encoder do220 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~221 │222 └─ lib/json/encoder.ex:1: JSON.Encoder (module)223224 warning: redefining module JSON.Encoder.List (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.List.beam)225 │226 25 │ defimpl JSON.Encoder, for: List do227 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~228 │229 └─ lib/json/encoder/default_implementations.ex:25: JSON.Encoder.List (module)230231 warning: redefining module JSON.Encoder.Integer (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Integer.beam)232 │233 53 │ defimpl JSON.Encoder, for: [Integer, Float] do234 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~235 │236 └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Integer (module)237238 warning: redefining module JSON.Encoder.Float (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Float.beam)239 │240 53 │ defimpl JSON.Encoder, for: [Integer, Float] do241 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~242 │243 └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Float (module)244245 warning: unused require Logger246 │247 14 │ require Logger248 │ ~249 │250 └─ lib/json/logger.ex:14:3251252 warning: redefining module JSON.Encoder.Atom (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Atom.beam)253 │254 66 │ defimpl JSON.Encoder, for: Atom do255 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~256 │257 └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)258259 warning: redefining module JSON.Encoder.BitString (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.BitString.beam)260 │261 83 │ defimpl JSON.Encoder, for: BitString do262 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~263 │264 └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)265266 warning: redefining module JSON.Encoder.Map (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Map.beam)267 │268 147 │ defimpl JSON.Encoder, for: Map do269 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~270 │271 └─ lib/json/encoder/default_implementations.ex:147: JSON.Encoder.Map (module)272273 warning: using single-quoted strings to represent charlists is deprecated.274 Use ~c"" if you indeed want a charlist or use "" instead.275 You may run "mix format --migrate" to change all single-quoted276 strings to use the ~c sigil and fix this warning.277 │278 89 │ defp apply_exponent({:ok, acc, <<exponent::utf8, rest::binary>>}) when exponent in 'eE' do279 │ ~280 │281 └─ lib/json/parser/number.ex:89:86282283 warning: use Bitwise is deprecated. import Bitwise instead284 │285 8 │ use Bitwise286 │ ~~~~~~~~~~~287 │288 └─ lib/json/parser/string.ex:8: JSON.Parser.String (module)289290 warning: use Bitwise is deprecated. import Bitwise instead291 │292 6 │ use Bitwise293 │ ~~~~~~~~~~~294 │295 └─ lib/json/parser/unicode.ex:6: JSON.Parser.Unicode (module)296297 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Any)298 │299 159 │ defimpl JSON.Encoder, for: Any do300 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~301 │302 └─ lib/json/encoder/default_implementations.ex:159: JSON.Encoder.Any (module)303304 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:305306 * encode/2307308 │309 25 │ defdelegate encode(term), to: Encoder310 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311 │312 └─ (elixir 1.20.3) lib/json.ex:25: JSON.encode/1313314 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:315316 * encode/2317318 │319 176 │ |> JSON.Encoder.encode()320 │ ~321 │322 └─ lib/json/encoder/default_implementations.ex:176:21: JSON.Encoder.Any.encode/1323324 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Map)325 │326 147 │ defimpl JSON.Encoder, for: Map do327 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328 │329 └─ lib/json/encoder/default_implementations.ex:147: JSON.Encoder.Map (module)330331 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Record)332 │333 135 │ defimpl JSON.Encoder, for: Record do334 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~335 │336 └─ lib/json/encoder/default_implementations.ex:135: JSON.Encoder.Record (module)337338 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.BitString)339 │340 83 │ defimpl JSON.Encoder, for: BitString do341 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~342 │343 └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)344345 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Float)346 │347 53 │ defimpl JSON.Encoder, for: [Integer, Float] do348 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~349 │350 └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Float (module)351352 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Atom)353 │354 66 │ defimpl JSON.Encoder, for: Atom do355 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~356 │357 └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)358359 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:360361 * encode/2362363 │364 73 │ def encode(atom) when is_atom(atom), do: atom |> Atom.to_string() |> JSON.Encoder.encode()365 │ ~366 │367 └─ (elixir 1.20.3) lib/json/encoder/default_implementations.ex:73:85: JSON.Encoder.Atom.encode/1368369 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:370371 * encode/2372373 │374 28 │ case Encoder.encode(item) do375 │ ~376 │377 └─ lib/json/encoder/helpers.ex:28:18: JSON.Encoder.Helpers.encode_item/1378379 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Integer)380 │381 53 │ defimpl JSON.Encoder, for: [Integer, Float] do382 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~383 │384 └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Integer (module)385386 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.List)387 │388 25 │ defimpl JSON.Encoder, for: List do389 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~390 │391 └─ lib/json/encoder/default_implementations.ex:25: JSON.Encoder.List (module)392393 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Tuple)394 │395 1 │ defimpl JSON.Encoder, for: Tuple do396 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~397 │398 └─ lib/json/encoder/default_implementations.ex:1: JSON.Encoder.Tuple (module)399400 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.HashDict)401 │402 13 │ defimpl JSON.Encoder, for: HashDict do403 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~404 │405 └─ lib/json/encoder/default_implementations.ex:13: JSON.Encoder.HashDict (module)406407Generated json app408==> recon409Compiling 6 files (.erl)410Generated recon app411==> logger_backends412Compiling 7 files (.ex)413Generated logger_backends app414==> nerves_compatibility_test415===> Analyzing applications...416===> Compiling quantile_estimator417===> Analyzing applications...418===> Compiling accept419==> plug_crypto420Compiling 5 files (.ex)421Generated plug_crypto app422==> nerves_compatibility_test423===> Analyzing applications...424===> Compiling mimerl425===> Analyzing applications...426===> Compiling ranch427 ┌─ src/ranch_conns_sup.erl:428 │429 89 │ catch erlang:send(SupPid, {?MODULE, active_connections, self(), Tag},430 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.431Compile directive 'nowarn_deprecated_catch' can be used to suppress432warnings in selected modules.433434435==> ssl_verify_fun436Compiling 7 files (.erl)437Generated ssl_verify_fun app438==> nerves_compatibility_test439===> Analyzing applications...440===> Compiling h2441==> elixir_make442Compiling 8 files (.ex)443Generated elixir_make app444==> nerves_logging445 CC kmsg_tailer.o446 LD kmsg_tailer447Compiling 5 files (.ex)448Generated nerves_logging app449==> castore450Compiling 1 file (.ex)451Generated castore app452==> nerves_compatibility_test453===> Analyzing applications...454===> Compiling cowlib455==> conv_case456Compiling 1 file (.ex)457Generated conv_case app458==> ring_logger459Compiling 7 files (.ex)460Generated ring_logger app461==> decimal462Compiling 4 files (.ex)463Generated decimal app464==> jason465Compiling 10 files (.ex)466Generated jason app467==> xema468Compiling 19 files (.ex)469Generated xema app470==> ex_json_schema471Compiling 40 files (.ex)472Generated ex_json_schema app473==> nerves_toolchain_aarch64_nerves_linux_gnu474Compiling 1 file (.ex)475Generated nerves_toolchain_aarch64_nerves_linux_gnu app476==> nerves_system_rpi0_2477Generated nerves_system_rpi0_2 app478==> nerves_compatibility_test479===> Analyzing applications...480===> Compiling idna481===> Analyzing applications...482===> Compiling telemetry483==> ecto484Compiling 56 files (.ex)485Generated ecto app486==> db_connection487Compiling 18 files (.ex)488Generated db_connection app489==> nerves_compatibility_test490===> Analyzing applications...491===> Compiling cowboy492==> phoenix_html493Compiling 6 files (.ex)494 warning: the 1st pattern in clause will never match:495496 60497498 because it is expected to receive type:499500 dynamic(empty_list() or non_empty_list(term(), term()))501502 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())503504 type warning found at:505 │506 56 │ def to_iodata(?<), do: "<"507 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~508 │509 └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1510511 warning: the 1st pattern in clause will never match:512513 62514515 because it is expected to receive type:516517 dynamic(empty_list() or non_empty_list(term(), term()))518519 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())520521 type warning found at:522 │523 57 │ def to_iodata(?>), do: ">"524 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~525 │526 └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1527528 warning: the 1st pattern in clause will never match:529530 38531532 because it is expected to receive type:533534 dynamic(empty_list() or non_empty_list(term(), term()))535536 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())537538 type warning found at:539 │540 58 │ def to_iodata(?&), do: "&"541 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~542 │543 └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1544545 warning: the 1st pattern in clause will never match:546547 34548549 because it is expected to receive type:550551 dynamic(empty_list() or non_empty_list(term(), term()))552553 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())554555 type warning found at:556 │557 59 │ def to_iodata(?"), do: """558 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~559 │560 └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1561562 warning: the 1st pattern in clause will never match:563564 39565566 because it is expected to receive type:567568 dynamic(empty_list() or non_empty_list(term(), term()))569570 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())571572 type warning found at:573 │574 60 │ def to_iodata(?'), do: "'"575 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~576 │577 └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1578579 warning: the 1st pattern in clause will never match:580581 {:safe, data}582583 because it is expected to receive type:584585 dynamic(empty_list() or non_empty_list(term(), term()))586587 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())588589 type warning found at:590 │591 76 │ def to_iodata({:safe, data}) do592 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~593 │594 └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1595596 warning: the following clause is redundant:597598 def to_iodata(other)599600 it has type:601602 dynamic(empty_list() or non_empty_list(term(), term()))603604 previous clauses have already matched on the following types:605606 non_empty_list(term(), term())607 empty_list()608609 │610 80 │ def to_iodata(other) do611 │ ~612 │613 └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1614615 warning: the 1st pattern in clause will never match:616617 h618619 because it is expected to receive type:620621 dynamic(empty_list() or non_empty_list(term(), term()))622623 where "h" was given the type:624625 # type: integer()626 # from: lib/phoenix_html/safe.ex:62:25627 is_integer(h)628629 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())630631 type warning found at:632 │633 62 │ def to_iodata(h) when is_integer(h) and h <= 255 do634 │ ~635 │636 └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1637638 warning: the 1st pattern in clause will never match:639640 h641642 because it is expected to receive type:643644 dynamic(empty_list() or non_empty_list(term(), term()))645646 where "h" was given the type:647648 # type: integer()649 # from: lib/phoenix_html/safe.ex:66:25650 is_integer(h)651652 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())653654 type warning found at:655 │656 66 │ def to_iodata(h) when is_integer(h) do657 │ ~658 │659 └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1660661 warning: the 1st pattern in clause will never match:662663 h664665 because it is expected to receive type:666667 dynamic(empty_list() or non_empty_list(term(), term()))668669 where "h" was given the type:670671 # type: binary()672 # from: lib/phoenix_html/safe.ex:72:25673 is_binary(h)674675 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())676677 type warning found at:678 │679 72 │ def to_iodata(h) when is_binary(h) do680 │ ~681 │682 └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1683684Generated phoenix_html app685==> phoenix_template686Compiling 4 files (.ex)687Generated phoenix_template app688==> expo689Compiling 2 files (.erl)690Compiling 22 files (.ex)691Generated expo app692==> gettext693Compiling 18 files (.ex)694 warning: unused require Gettext.Macros695 │696 594 │ require Gettext.Macros697 │ ~698 │699 └─ lib/gettext.ex:594:3700701 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead702 │703 426 │ Kernel.ParallelCompiler.async(fn ->704 │ ~705 │706 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3707708 warning: the following clause is redundant:709710 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)711712 it has type:713714 dynamic(%Expo.Message.Plural{})715716 previous clauses have already matched on the following types:717718 %Expo.Message.Singular{}719 %Expo.Message.Plural{}720721 │722 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do723 │ ~724 │725 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1726727Generated gettext app728==> phoenix_pubsub729Compiling 11 files (.ex)730 warning: unused require Logger731 │732 74 │ require Logger733 │ ~734 │735 └─ lib/phoenix/tracker.ex:74:3736737 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:738739 %Phoenix.Tracker.Replica{replica | status: :permdown}740741 but got type:742743 dynamic()744745 where "replica" was given the type:746747 # type: dynamic()748 # from: lib/phoenix/tracker/replica.ex:72:17749 replica750751 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"752753 type warning found at:754 │755 72 │ defp permdown(replica), do: %Replica{replica | status: :permdown}756 │ ~757 │758 └─ lib/phoenix/tracker/replica.ex:72:31: Phoenix.Tracker.Replica.permdown/1759760 warning: a struct for Phoenix.Tracker.State is expected on struct update:761762 %Phoenix.Tracker.State{state | clouds: pruned_clouds, delta: new_delta}763764 but got type:765766 dynamic(%{767 ...,768 clouds: term(),769 delta: %{..., clouds: term(), mode: :delta, values: map()},770 values: term()771 })772773 where "state" was given the types:774775 # type: dynamic(%{..., values: term()})776 # from: lib/phoenix/tracker/state.ex:94:49777 :ets.lookup(state.values, {topic, pid, key})778779 # type: dynamic(%{..., clouds: term(), values: term()})780 # from: lib/phoenix/tracker/state.ex:95:21781 delete_tag(state.clouds, tag)782783 # type: dynamic(%{784 ...,785 clouds: term(),786 delta: %{..., clouds: term(), mode: :delta, values: map()},787 values: term()788 })789 # from: lib/phoenix/tracker/state.ex:96:17790 remove_delta_tag(state.delta, tag)791792 when defining the variable "state", you must also pattern match on "%Phoenix.Tracker.State{}"793794 type warning found at:795 │796 97 │ state = bump_clock(%State{state | clouds: pruned_clouds, delta: new_delta})797 │ ~798 │799 └─ lib/phoenix/tracker/state.ex:97:24: Phoenix.Tracker.State.leave_join/5800801 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:802803 %Phoenix.Tracker.Replica{replica | status: :down}804805 but got type:806807 dynamic()808809 where "replica" was given the type:810811 # type: dynamic()812 # from: lib/phoenix/tracker/replica.ex:74:13813 replica814815 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"816817 type warning found at:818 │819 74 │ defp down(replica), do: %Replica{replica | status: :down}820 │ ~821 │822 └─ lib/phoenix/tracker/replica.ex:74:27: Phoenix.Tracker.Replica.down/1823824 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:825826 %Phoenix.Tracker.Replica{replica | last_heartbeat_at: now_ms()}827828 but got type:829830 dynamic()831832 where "replica" was given the type:833834 # type: dynamic()835 # from: lib/phoenix/tracker/replica.ex:76:29836 replica837838 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"839840 type warning found at:841 │842 77 │ %Replica{replica | last_heartbeat_at: now_ms()}843 │ ~844 │845 └─ lib/phoenix/tracker/replica.ex:77:5: Phoenix.Tracker.Replica.touch_last_heartbeat/1846847 warning: a struct for Phoenix.Tracker.State is expected on struct update:848849 %Phoenix.Tracker.State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}850851 but got type:852853 dynamic()854855 where "delta" was given the type:856857 # type: dynamic()858 # from: lib/phoenix/tracker/state.ex:506:36859 %Phoenix.Tracker.State{delta: delta} = state860861 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"862863 type warning found at:864 │865 510 │ new_delta = %State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}866 │ ~867 │868 └─ lib/phoenix/tracker/state.ex:510:17: Phoenix.Tracker.State.do_add/5869870 warning: a struct for Phoenix.Tracker.State is expected on struct update:871872 %Phoenix.Tracker.State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}873874 but got type:875876 dynamic()877878 where "delta" was given the type:879880 # type: dynamic()881 # from: lib/phoenix/tracker/state.ex:586:99882 %Phoenix.Tracker.State{mode: :normal, replica: rep, clouds: clouds, context: ctx, delta: delta} =883 state884885 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"886887 type warning found at:888 │889 592 │ delta: %State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}}890 │ ~891 │892 └─ lib/phoenix/tracker/state.ex:592:19: Phoenix.Tracker.State.bump_clock/1893894 warning: a struct for Phoenix.Tracker.State is expected on struct update:895896 %Phoenix.Tracker.State{delta | range: {start_clock, new_end}}897898 but got type:899900 dynamic(%{..., range: {term(), term()}})901902 where "delta" was given the type:903904 # type: dynamic(%{..., range: {term(), term()}})905 # from: lib/phoenix/tracker/state.ex:596:30906 {start_clock, end_clock} = delta.range907908 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"909910 type warning found at:911 │912 600 │ delta: %State{delta | range: {start_clock, new_end}}}913 │ ~914 │915 └─ lib/phoenix/tracker/state.ex:600:19: Phoenix.Tracker.State.put_context/2916917Generated phoenix_pubsub app918==> nerves_compatibility_test919===> Analyzing applications...920===> Compiling thoas921===> Analyzing applications...922===> Compiling rabbit_common923gen_server2.erl:334:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.924Compile directive 'nowarn_deprecated_catch' can be used to suppress925warnings in selected modules.926gen_server2.erl:342:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.927Compile directive 'nowarn_deprecated_catch' can be used to suppress928warnings in selected modules.929gen_server2.erl:353:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.930Compile directive 'nowarn_deprecated_catch' can be used to suppress931warnings in selected modules.932gen_server2.erl:356:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.933Compile directive 'nowarn_deprecated_catch' can be used to suppress934warnings in selected modules.935gen_server2.erl:359:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.936Compile directive 'nowarn_deprecated_catch' can be used to suppress937warnings in selected modules.938gen_server2.erl:366:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.939Compile directive 'nowarn_deprecated_catch' can be used to suppress940warnings in selected modules.941gen_server2.erl:378:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.942Compile directive 'nowarn_deprecated_catch' can be used to suppress943warnings in selected modules.944gen_server2.erl:439:13: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.945Compile directive 'nowarn_deprecated_catch' can be used to suppress946warnings in selected modules.947gen_server2.erl:448:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.948Compile directive 'nowarn_deprecated_catch' can be used to suppress949warnings in selected modules.950gen_server2.erl:452:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.951Compile directive 'nowarn_deprecated_catch' can be used to suppress952warnings in selected modules.953gen_server2.erl:489:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.954Compile directive 'nowarn_deprecated_catch' can be used to suppress955warnings in selected modules.956gen_server2.erl:565:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.957Compile directive 'nowarn_deprecated_catch' can be used to suppress958warnings in selected modules.959gen_server2.erl:622:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.960Compile directive 'nowarn_deprecated_catch' can be used to suppress961warnings in selected modules.962gen_server2.erl:729:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.963Compile directive 'nowarn_deprecated_catch' can be used to suppress964warnings in selected modules.965gen_server2.erl:744:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.966Compile directive 'nowarn_deprecated_catch' can be used to suppress967warnings in selected modules.968gen_server2.erl:811:17: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.969Compile directive 'nowarn_deprecated_catch' can be used to suppress970warnings in selected modules.971gen_server2.erl:872:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.972Compile directive 'nowarn_deprecated_catch' can be used to suppress973warnings in selected modules.974gen_server2.erl:932:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.975Compile directive 'nowarn_deprecated_catch' can be used to suppress976warnings in selected modules.977gen_server2.erl:985:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.978Compile directive 'nowarn_deprecated_catch' can be used to suppress979warnings in selected modules.980gen_server2.erl:1035:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.981Compile directive 'nowarn_deprecated_catch' can be used to suppress982warnings in selected modules.983gen_server2.erl:1048:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.984Compile directive 'nowarn_deprecated_catch' can be used to suppress985warnings in selected modules.986gen_server2.erl:1056:14: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.987Compile directive 'nowarn_deprecated_catch' can be used to suppress988warnings in selected modules.989gen_server2.erl:1112:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.990Compile directive 'nowarn_deprecated_catch' can be used to suppress991warnings in selected modules.992gen_server2.erl:1158:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.993Compile directive 'nowarn_deprecated_catch' can be used to suppress994warnings in selected modules.995gen_server2.erl:1249:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.996Compile directive 'nowarn_deprecated_catch' can be used to suppress997warnings in selected modules.998gen_server2.erl:1329:39: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.999Compile directive 'nowarn_deprecated_catch' can be used to suppress1000warnings in selected modules.1001gen_server2.erl:1339:39: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1002Compile directive 'nowarn_deprecated_catch' can be used to suppress1003warnings in selected modules.1004gen_server2.erl:1377:23: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1005Compile directive 'nowarn_deprecated_catch' can be used to suppress1006warnings in selected modules.10071008rabbit_misc.erl:1520:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1009Compile directive 'nowarn_deprecated_catch' can be used to suppress1010warnings in selected modules.10111012rabbit_env.erl:1354:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1013Compile directive 'nowarn_deprecated_catch' can be used to suppress1014warnings in selected modules.1015rabbit_env.erl:1385:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1016Compile directive 'nowarn_deprecated_catch' can be used to suppress1017warnings in selected modules.1018rabbit_env.erl:1426:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1019Compile directive 'nowarn_deprecated_catch' can be used to suppress1020warnings in selected modules.10211022rabbit_registry.erl:49:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1023Compile directive 'nowarn_deprecated_catch' can be used to suppress1024warnings in selected modules.1025rabbit_registry.erl:167:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1026Compile directive 'nowarn_deprecated_catch' can be used to suppress1027warnings in selected modules.10281029supervisor2.erl:441:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1030Compile directive 'nowarn_deprecated_catch' can be used to suppress1031warnings in selected modules.1032supervisor2.erl:1453:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1033Compile directive 'nowarn_deprecated_catch' can be used to suppress1034warnings in selected modules.10351036rabbit_nodes_common.erl:57:8: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1037Compile directive 'nowarn_deprecated_catch' can be used to suppress1038warnings in selected modules.10391040rabbit_net.erl:183:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1041Compile directive 'nowarn_deprecated_catch' can be used to suppress1042warnings in selected modules.10431044rabbit_routing_parser.erl:54:27: Warning: a pattern `P1=P2` where both sides are constructors1045may yield an error in a future version of Erlang/OTP.1046Note that a pattern such as `{a,B}={Y,Z} -> ...` can always be1047written in a unified form `{a=Y,B=Z} -> ...`.1048Compile directive 'nowarn_match_alias_pats' can be used to suppress1049warnings in selected modules.10501051===> Analyzing applications...1052===> Compiling amqp_client1053uri_parser.erl:51:19: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1054Compile directive 'nowarn_deprecated_catch' can be used to suppress1055warnings in selected modules.10561057amqp_channel.erl:868:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1058Compile directive 'nowarn_deprecated_catch' can be used to suppress1059warnings in selected modules.1060amqp_channel.erl:876:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1061Compile directive 'nowarn_deprecated_catch' can be used to suppress1062warnings in selected modules.1063amqp_channel.erl:884:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1064Compile directive 'nowarn_deprecated_catch' can be used to suppress1065warnings in selected modules.10661067amqp_network_connection.erl:49:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1068Compile directive 'nowarn_deprecated_catch' can be used to suppress1069warnings in selected modules.1070amqp_network_connection.erl:270:25: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1071Compile directive 'nowarn_deprecated_catch' can be used to suppress1072warnings in selected modules.10731074==> amqp1075Compiling 16 files (.ex)1076Generated amqp app1077==> json_xema1078Compiling 4 files (.ex)1079Generated json_xema app1080==> phoenix_view1081Compiling 1 file (.ex)1082 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 operator1083 │1084 655 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix1085 │ ~1086 │1087 └─ lib/phoenix_view.ex:655:29: Phoenix.View.unsuffix/210881089Generated phoenix_view app1090==> nerves_compatibility_test1091===> Analyzing applications...1092===> Compiling prometheus1093==> prometheus_ex1094Compiling 19 files (.ex)1095 warning: unused require Prometheus.Metric1096 │1097 4 │ require Prometheus.Metric1098 │ ~1099 │1100 └─ lib/prometheus/erlang.ex:4:311011102Generated prometheus_ex app1103==> nerves_compatibility_test1104===> Analyzing applications...1105===> Compiling certifi1106==> plug1107Compiling 1 file (.erl)1108warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1109 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21110 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11111 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51112 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21113 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41114 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/211151116Compiling 40 files (.ex)1117 warning: unused require Bitwise1118 │1119 105 │ require Bitwise1120 │ ~1121 │1122 └─ lib/plug/csrf_protection.ex:105:311231124 warning: unused require Logger1125 │1126 52 │ require Logger1127 │ ~1128 │1129 └─ lib/plug/request_id.ex:52:311301131 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 operator1132 │1133 160 │ <<prefix::binary-size(prefix_size), char, suffix::binary-size(suffix_size)>> = segment1134 │ ~1135 │1136 └─ lib/plug/router/utils.ex:160:31: Plug.Router.Utils.build_path_clause/711371138 warning: the variable "suffix_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1139 │1140 160 │ <<prefix::binary-size(prefix_size), char, suffix::binary-size(suffix_size)>> = segment1141 │ ~1142 │1143 └─ lib/plug/router/utils.ex:160:71: Plug.Router.Utils.build_path_clause/711441145 warning: the following clause will never match:11461147 {:error, reason} ->11481149 because it attempts to match on the result of:11501151 IO.binwrite(device, contents)11521153 which has type:11541155 dynamic(not {:error, term()})11561157 type warning found at:1158 │1159 275 │ {:error, reason} ->1160 │ ~~~~~~~~~~~~~~~~~~~1161 │1162 └─ lib/plug/parsers/multipart.ex:275: Plug.Parsers.MULTIPART.binwrite!/211631164 warning: a struct for Plug.Conn is expected on struct update:11651166 %Plug.Conn{conn | method: method}11671168 but got type:11691170 dynamic()11711172 where "conn" was given the type:11731174 # type: dynamic()1175 # from: lib/plug/method_override.ex:60:241176 conn11771178 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"11791180 type warning found at:1181 │1182 64 │ %Plug.Conn{conn | method: method}1183 │ ~1184 │1185 └─ lib/plug/method_override.ex:64:7: Plug.MethodOverride.override_method/211861187 warning: a struct for Plug.Conn is expected on struct update:11881189 %Plug.Conn{1190 conn1191 | adapter: {Plug.Adapters.Test.Conn, state},1192 host: uri.host || conn.host || "www.example.com",1193 method: method,1194 owner: owner,1195 path_info: split_path(uri.path),1196 port: uri.port || conn_port,1197 remote_ip: conn.remote_ip || {127, 0, 0, 1},1198 req_headers: req_headers,1199 request_path: uri.path,1200 query_string: query,1201 query_params: query_params || %Plug.Conn.Unfetched{aspect: :query_params},1202 body_params: body_params || %Plug.Conn.Unfetched{aspect: :body_params},1203 params: params || %Plug.Conn.Unfetched{aspect: :params},1204 scheme: String.to_atom(String.downcase(uri.scheme || "http"))1205 }12061207 but got type:12081209 dynamic(%{..., adapter: {atom(), term()}, port: term(), req_headers: term()})12101211 where "conn" was given the types:12121213 # type: dynamic(%{..., req_headers: term()})1214 # from: lib/plug/adapters/test/conn.ex:21:71215 body_or_params(body_or_params, query, conn.req_headers, method)12161217 # type: dynamic(%{..., adapter: {atom(), term()}, req_headers: term()})1218 # from: lib/plug/adapters/test/conn.ex:30:221219 get_from_adapter(conn, :get_http_protocol, :"HTTP/1.1")12201221 # type: dynamic(%{..., adapter: {atom(), term()}, port: term(), req_headers: term()})1222 # from: lib/plug/adapters/test/conn.ex:39:301223 conn.port != 012241225 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"12261227 type warning found at:1228 │1229 41 │ %Plug.Conn{1230 │ ~1231 │1232 └─ lib/plug/adapters/test/conn.ex:41:5: Plug.Adapters.Test.Conn.conn/412331234Generated plug app1235==> open_api_spex1236Compiling 80 files (.ex)1237 warning: unused require Mix.Generator1238 │1239 26 │ require Mix.Generator1240 │ ~1241 │1242 └─ lib/mix/tasks/openapi.spec.yaml.ex:26:312431244 warning: unused require Mix.Generator1245 │1246 29 │ require Mix.Generator1247 │ ~1248 │1249 └─ lib/mix/tasks/openapi.spec.json.ex:29:312501251 warning: unused require Mix.Generator1252 │1253 5 │ require Mix.Generator1254 │ ~1255 │1256 └─ lib/open_api_spex/export_spec.ex:5:312571258 warning: the following clause is redundant:12591260 defp resolve_schema_modules_from_media_type(media = %OpenApiSpex.MediaType{}, schemas)12611262 it has type:12631264 dynamic(%OpenApiSpex.MediaType{}), dynamic()12651266 previous clauses have already matched on the following types:12671268 %OpenApiSpex.MediaType{}, term()12691270 │1271 141 │ defp resolve_schema_modules_from_media_type(media = %MediaType{}, schemas) do1272 │ ~1273 │1274 └─ lib/open_api_spex/schema_resolver.ex:141:8: OpenApiSpex.SchemaResolver.resolve_schema_modules_from_media_type/212751276 warning: a struct for OpenApiSpex.Cast is expected on struct update:12771278 %OpenApiSpex.Cast{ctx | errors: ctx.errors ++ errors}12791280 but got type:12811282 dynamic(1283 %OpenApiSpex.Cast{1284 schema: %{..., allOf: non_empty_list(term(), term()), "x-validate": atom() and not nil}1285 } or1286 (%OpenApiSpex.Cast{1287 schema:1288 %{1289 ...,1290 allOf: non_empty_list(term(), term()),1291 anyOf: empty_list() or non_empty_list(term(), term()),1292 type: term()1293 } and1294 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1295 %{..., enum: empty_list() or non_empty_list(term(), term())})1296 } and1297 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1298 %OpenApiSpex.Cast{1299 value: nil,1300 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1301 } or1302 %OpenApiSpex.Cast{1303 value: nil,1304 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1305 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1306 %OpenApiSpex.Cast{1307 value: nil,1308 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1309 } or %OpenApiSpex.Cast{value: nil})) or1310 (%OpenApiSpex.Cast{1311 schema:1312 %{..., allOf: non_empty_list(term(), term()), discriminator: map(), type: :object} and1313 not (%{..., "x-validate": not nil} or1314 %{..., enum: empty_list() or non_empty_list(term(), term())})1315 } and1316 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1317 %OpenApiSpex.Cast{1318 value: nil,1319 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1320 } or1321 %OpenApiSpex.Cast{1322 value: nil,1323 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1324 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1325 %OpenApiSpex.Cast{1326 value: nil,1327 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1328 } or %OpenApiSpex.Cast{value: nil})) or1329 (%OpenApiSpex.Cast{1330 schema:1331 %{..., allOf: non_empty_list(term(), term()), enum: empty_list()} and1332 not %{..., "x-validate": not nil}1333 } and1334 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1335 %OpenApiSpex.Cast{1336 value: nil,1337 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1338 } or1339 %OpenApiSpex.Cast{1340 value: nil,1341 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1342 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1343 %OpenApiSpex.Cast{1344 value: nil,1345 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1346 } or %OpenApiSpex.Cast{value: nil})) or1347 (%OpenApiSpex.Cast{1348 schema:1349 %{..., allOf: non_empty_list(term(), term()), enum: non_empty_list(term(), term())} and1350 not %{..., "x-validate": not nil}1351 } and1352 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1353 %OpenApiSpex.Cast{1354 value: nil,1355 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1356 } or1357 %OpenApiSpex.Cast{1358 value: nil,1359 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1360 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1361 %OpenApiSpex.Cast{1362 value: nil,1363 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1364 } or %OpenApiSpex.Cast{value: nil})) or1365 (%OpenApiSpex.Cast{1366 schema:1367 %{..., allOf: non_empty_list(term(), term()), type: term()} and1368 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1369 %{..., anyOf: empty_list() or non_empty_list(term(), term()), type: term()} or1370 %{..., enum: empty_list() or non_empty_list(term(), term())})1371 } and1372 not (%OpenApiSpex.Cast{value: nil} or1373 %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1374 %OpenApiSpex.Cast{1375 value: nil,1376 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1377 } or1378 %OpenApiSpex.Cast{1379 value: nil,1380 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1381 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}})) or1382 (%OpenApiSpex.Cast{1383 value: nil,1384 schema: %{..., allOf: non_empty_list(term(), term()), nullable: false}1385 } and1386 not %OpenApiSpex.Cast{1387 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1388 }) or1389 (%OpenApiSpex.Cast{1390 value: nil,1391 schema:1392 %{..., allOf: non_empty_list(term(), term())} and1393 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1394 %{..., nullable: true} or1395 %{..., anyOf: empty_list() or non_empty_list(term(), term())} or1396 %{..., nullable: false})1397 } and1398 not %OpenApiSpex.Cast{1399 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1400 }) or1401 (%OpenApiSpex.Cast{1402 value: nil,1403 schema:1404 %{1405 ...,1406 allOf: non_empty_list(term(), term()),1407 anyOf: empty_list() or non_empty_list(term(), term())1408 } and1409 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1410 %{..., nullable: true} or %{..., nullable: false})1411 } and1412 not %OpenApiSpex.Cast{1413 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1414 }) or1415 (%OpenApiSpex.Cast{1416 value: nil,1417 schema:1418 %{1419 ...,1420 allOf: non_empty_list(term(), term()),1421 oneOf: empty_list() or non_empty_list(term(), term())1422 } and not (%{..., nullable: true} or %{..., nullable: false})1423 } and1424 not %OpenApiSpex.Cast{1425 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1426 }) or1427 (%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}} and1428 not (%OpenApiSpex.Cast{value: nil} or %OpenApiSpex.Cast{schema: %{..., type: :integer}} or1429 %OpenApiSpex.Cast{1430 schema: %{1431 ...,1432 anyOf: empty_list() or non_empty_list(term(), term()),1433 type: term()1434 }1435 } or %OpenApiSpex.Cast{schema: %{..., enum: empty_list()}} or1436 %OpenApiSpex.Cast{schema: %{..., type: :array}} or1437 %OpenApiSpex.Cast{1438 value: nil,1439 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1440 } or %OpenApiSpex.Cast{schema: %{..., type: :boolean}} or1441 %OpenApiSpex.Cast{schema: %{..., type: :string}} or1442 %OpenApiSpex.Cast{schema: %{..., type: term()}} or1443 %OpenApiSpex.Cast{1444 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1445 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1446 %OpenApiSpex.Cast{1447 value: nil,1448 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1449 } or %OpenApiSpex.Cast{schema: %{..., type: :object}} or1450 %OpenApiSpex.Cast{schema: %{..., discriminator: map(), type: :object}} or1451 %OpenApiSpex.Cast{1452 schema: %{..., enum: empty_list() or non_empty_list(term(), term())}1453 } or1454 %OpenApiSpex.Cast{1455 schema: %{1456 ...,1457 allOf: empty_list() or non_empty_list(term(), term()),1458 type: term()1459 }1460 } or %OpenApiSpex.Cast{schema: %{..., type: nil}} or1461 %OpenApiSpex.Cast{1462 value: nil,1463 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1464 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1465 %OpenApiSpex.Cast{1466 schema: %{1467 ...,1468 oneOf: empty_list() or non_empty_list(term(), term()),1469 type: term()1470 }1471 } or %OpenApiSpex.Cast{schema: %{..., type: :number}}))1472 )14731474 where "ctx" was given the types:14751476 # type: dynamic(%{..., schema: %{..., allOf: non_empty_list(term(), term())}})1477 # from: lib/open_api_spex/cast/all_of.ex:9:741478 %{schema: %{allOf: [%OpenApiSpex.Schema{} = schema | remaining]}} = ctx14791480 # type: dynamic(%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}})1481 # from: lib/open_api_spex/cast/all_of.ex:13:151482 OpenApiSpex.Cast.cast(%{ctx | errors: [], schema: relaxed_schema})14831484 # type: dynamic(1485 %OpenApiSpex.Cast{1486 schema: %{..., allOf: non_empty_list(term(), term()), "x-validate": atom() and not nil}1487 } or1488 (%OpenApiSpex.Cast{1489 schema:1490 %{1491 ...,1492 allOf: non_empty_list(term(), term()),1493 anyOf: empty_list() or non_empty_list(term(), term()),1494 type: term()1495 } and1496 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1497 %{..., enum: empty_list() or non_empty_list(term(), term())})1498 } and1499 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1500 %OpenApiSpex.Cast{1501 value: nil,1502 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1503 } or1504 %OpenApiSpex.Cast{1505 value: nil,1506 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1507 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1508 %OpenApiSpex.Cast{1509 value: nil,1510 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1511 } or %OpenApiSpex.Cast{value: nil})) or1512 (%OpenApiSpex.Cast{1513 schema:1514 %{..., allOf: non_empty_list(term(), term()), discriminator: map(), type: :object} and1515 not (%{..., "x-validate": not nil} or1516 %{..., enum: empty_list() or non_empty_list(term(), term())})1517 } and1518 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1519 %OpenApiSpex.Cast{1520 value: nil,1521 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1522 } or1523 %OpenApiSpex.Cast{1524 value: nil,1525 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1526 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1527 %OpenApiSpex.Cast{1528 value: nil,1529 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1530 } or %OpenApiSpex.Cast{value: nil})) or1531 (%OpenApiSpex.Cast{1532 schema:1533 %{..., allOf: non_empty_list(term(), term()), enum: empty_list()} and1534 not %{..., "x-validate": not nil}1535 } and1536 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1537 %OpenApiSpex.Cast{1538 value: nil,1539 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1540 } or1541 %OpenApiSpex.Cast{1542 value: nil,1543 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1544 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1545 %OpenApiSpex.Cast{1546 value: nil,1547 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1548 } or %OpenApiSpex.Cast{value: nil})) or1549 (%OpenApiSpex.Cast{1550 schema:1551 %{..., allOf: non_empty_list(term(), term()), enum: non_empty_list(term(), term())} and1552 not %{..., "x-validate": not nil}1553 } and1554 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1555 %OpenApiSpex.Cast{1556 value: nil,1557 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1558 } or1559 %OpenApiSpex.Cast{1560 value: nil,1561 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1562 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1563 %OpenApiSpex.Cast{1564 value: nil,1565 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1566 } or %OpenApiSpex.Cast{value: nil})) or1567 (%OpenApiSpex.Cast{1568 schema:1569 %{..., allOf: non_empty_list(term(), term()), type: term()} and1570 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1571 %{..., anyOf: empty_list() or non_empty_list(term(), term()), type: term()} or1572 %{..., enum: empty_list() or non_empty_list(term(), term())})1573 } and1574 not (%OpenApiSpex.Cast{value: nil} or1575 %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1576 %OpenApiSpex.Cast{1577 value: nil,1578 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1579 } or1580 %OpenApiSpex.Cast{1581 value: nil,1582 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1583 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}})) or1584 (%OpenApiSpex.Cast{1585 value: nil,1586 schema: %{..., allOf: non_empty_list(term(), term()), nullable: false}1587 } and1588 not %OpenApiSpex.Cast{1589 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1590 }) or1591 (%OpenApiSpex.Cast{1592 value: nil,1593 schema:1594 %{..., allOf: non_empty_list(term(), term())} and1595 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1596 %{..., nullable: true} or1597 %{..., anyOf: empty_list() or non_empty_list(term(), term())} or1598 %{..., nullable: false})1599 } and1600 not %OpenApiSpex.Cast{1601 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1602 }) or1603 (%OpenApiSpex.Cast{1604 value: nil,1605 schema:1606 %{1607 ...,1608 allOf: non_empty_list(term(), term()),1609 anyOf: empty_list() or non_empty_list(term(), term())1610 } and1611 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1612 %{..., nullable: true} or %{..., nullable: false})1613 } and1614 not %OpenApiSpex.Cast{1615 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1616 }) or1617 (%OpenApiSpex.Cast{1618 value: nil,1619 schema:1620 %{1621 ...,1622 allOf: non_empty_list(term(), term()),1623 oneOf: empty_list() or non_empty_list(term(), term())1624 } and not (%{..., nullable: true} or %{..., nullable: false})1625 } and1626 not %OpenApiSpex.Cast{1627 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1628 }) or1629 (%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}} and1630 not (%OpenApiSpex.Cast{value: nil} or %OpenApiSpex.Cast{schema: %{..., type: :integer}} or1631 %OpenApiSpex.Cast{1632 schema: %{1633 ...,1634 anyOf: empty_list() or non_empty_list(term(), term()),1635 type: term()1636 }1637 } or %OpenApiSpex.Cast{schema: %{..., enum: empty_list()}} or1638 %OpenApiSpex.Cast{schema: %{..., type: :array}} or1639 %OpenApiSpex.Cast{1640 value: nil,1641 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1642 } or %OpenApiSpex.Cast{schema: %{..., type: :boolean}} or1643 %OpenApiSpex.Cast{schema: %{..., type: :string}} or1644 %OpenApiSpex.Cast{schema: %{..., type: term()}} or1645 %OpenApiSpex.Cast{1646 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1647 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1648 %OpenApiSpex.Cast{1649 value: nil,1650 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1651 } or %OpenApiSpex.Cast{schema: %{..., type: :object}} or1652 %OpenApiSpex.Cast{schema: %{..., discriminator: map(), type: :object}} or1653 %OpenApiSpex.Cast{1654 schema: %{..., enum: empty_list() or non_empty_list(term(), term())}1655 } or1656 %OpenApiSpex.Cast{1657 schema: %{1658 ...,1659 allOf: empty_list() or non_empty_list(term(), term()),1660 type: term()1661 }1662 } or %OpenApiSpex.Cast{schema: %{..., type: nil}} or1663 %OpenApiSpex.Cast{1664 value: nil,1665 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1666 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1667 %OpenApiSpex.Cast{1668 schema: %{1669 ...,1670 oneOf: empty_list() or non_empty_list(term(), term()),1671 type: term()1672 }1673 } or %OpenApiSpex.Cast{schema: %{..., type: :number}}))1674 )1675 # from: lib/open_api_spex/cast/all_of.ex:13:151676 OpenApiSpex.Cast.cast(%{ctx | errors: [], schema: relaxed_schema})16771678 when defining the variable "ctx", you must also pattern match on "%OpenApiSpex.Cast{}"16791680 type warning found at:1681 │1682 26 │ %Cast{ctx | errors: ctx.errors ++ errors},1683 │ ~1684 │1685 └─ lib/open_api_spex/cast/all_of.ex:26:11: OpenApiSpex.Cast.AllOf.cast_all_of/216861687 warning: the following clause is redundant:16881689 def cast(schema = %OpenApiSpex.Schema{type: :object, allOf: []}, value = %{}, schemas)16901691 it has type:16921693 dynamic(%OpenApiSpex.Schema{type: :object, allOf: empty_list()}), dynamic(map()), dynamic()16941695 previous clauses have already matched on the following types:16961697 %OpenApiSpex.Schema{type: :boolean}, boolean(), term()1698 %OpenApiSpex.Schema{type: :boolean}, binary(), term()1699 %OpenApiSpex.Schema{type: :integer}, integer(), term()1700 %OpenApiSpex.Schema{type: :integer}, binary(), term()1701 %OpenApiSpex.Schema{type: :number}, float(), term()1702 %OpenApiSpex.Schema{type: :number}, integer(), term()1703 %OpenApiSpex.Schema{type: :number}, binary(), term()1704 %OpenApiSpex.Schema{type: :string, format: :"date-time"}, binary(), term()1705 %OpenApiSpex.Schema{type: :string, format: :date}, binary(), term()1706 %OpenApiSpex.Schema{type: :string, format: :binary}, %Plug.Upload{}, term()1707 %OpenApiSpex.Schema{type: :string}, binary(), term()1708 %OpenApiSpex.Schema{type: :array, items: nil}, empty_list() or non_empty_list(term(), term()), term()1709 %OpenApiSpex.Schema{type: :array}, empty_list(), term()1710 %OpenApiSpex.Schema{type: :array}, non_empty_list(term(), term()), term()1711 %OpenApiSpex.Schema{type: :array}, not empty_list() and not non_empty_list(term(), term()), term()1712 %OpenApiSpex.Schema{type: :object, discriminator: map()}, map(), term()1713 %OpenApiSpex.Schema{type: :object, allOf: empty_list() or non_empty_list(term(), term())}, map(), term()17141715 │1716 107 │ def cast(schema = %Schema{type: :object, allOf: []}, value = %{}, schemas) do1717 │ ~1718 │1719 └─ lib/open_api_spex/deprecated_cast.ex:107:7: OpenApiSpex.DeprecatedCast.cast/317201721 warning: the following clause is redundant:17221723 def cast(%OpenApiSpex.Schema{oneOf: []}, _value, _schemas)17241725 it has type:17261727 %OpenApiSpex.Schema{oneOf: empty_list()}, dynamic(), dynamic()17281729 previous clauses have already matched on the following types:17301731 %OpenApiSpex.Schema{type: :boolean}, boolean(), term()1732 %OpenApiSpex.Schema{type: :boolean}, binary(), term()1733 %OpenApiSpex.Schema{type: :integer}, integer(), term()1734 %OpenApiSpex.Schema{type: :integer}, binary(), term()1735 %OpenApiSpex.Schema{type: :number}, float(), term()1736 %OpenApiSpex.Schema{type: :number}, integer(), term()1737 %OpenApiSpex.Schema{type: :number}, binary(), term()1738 %OpenApiSpex.Schema{type: :string, format: :"date-time"}, binary(), term()1739 %OpenApiSpex.Schema{type: :string, format: :date}, binary(), term()1740 %OpenApiSpex.Schema{type: :string, format: :binary}, %Plug.Upload{}, term()1741 %OpenApiSpex.Schema{type: :string}, binary(), term()1742 %OpenApiSpex.Schema{type: :array, items: nil}, empty_list() or non_empty_list(term(), term()), term()1743 %OpenApiSpex.Schema{type: :array}, empty_list(), term()1744 %OpenApiSpex.Schema{type: :array}, non_empty_list(term(), term()), term()1745 %OpenApiSpex.Schema{type: :array}, not empty_list() and not non_empty_list(term(), term()), term()1746 %OpenApiSpex.Schema{type: :object, discriminator: map()}, map(), term()1747 %OpenApiSpex.Schema{type: :object, allOf: empty_list() or non_empty_list(term(), term())}, map(), term()1748 %OpenApiSpex.Schema{oneOf: empty_list() or non_empty_list(term(), term())}, term(), term()17491750 │1751 115 │ def cast(%Schema{oneOf: []}, _value, _schemas) do1752 │ ~1753 │1754 └─ lib/open_api_spex/deprecated_cast.ex:115:7: OpenApiSpex.DeprecatedCast.cast/317551756 warning: this clause of defp term_type/1 is never used (or it will always fail/warn when invoked)1757 │1758 325 │ defp term_type(v) when is_nil(v), do: nil1759 │ ~1760 │1761 └─ lib/open_api_spex/deprecated_cast.ex:325:8: OpenApiSpex.DeprecatedCast.term_type/117621763 warning: this clause of defp validate_required_properties/3 is never used (or it will always fail/warn when invoked)1764 │1765 466 │ defp validate_required_properties(%Schema{type: :object, required: nil}, _val, _path), do: :ok1766 │ ~1767 │1768 └─ lib/open_api_spex/deprecated_cast.ex:466:8: OpenApiSpex.DeprecatedCast.validate_required_properties/317691770 warning: a struct for OpenApiSpex.Cast is expected on struct update:17711772 %OpenApiSpex.Cast{ctx | errors: ctx.errors ++ errors}17731774 but got type:17751776 dynamic(%{..., schemas: term()})17771778 where "ctx" was given the type:17791780 # type: dynamic(%{..., schemas: term()})1781 # from: lib/open_api_spex/cast/one_of.ex:14:301782 OpenApiSpex.resolve_schema(schema, ctx.schemas)17831784 when defining the variable "ctx", you must also pattern match on "%OpenApiSpex.Cast{}"17851786 type warning found at:1787 │1788 22 │ {%Cast{ctx | errors: ctx.errors ++ errors}, results, [schema | error_schemas]}1789 │ ~1790 │1791 └─ lib/open_api_spex/cast/one_of.ex:22:14: OpenApiSpex.Cast.OneOf.cast/117921793 warning: a struct for OpenApiSpex.Cast is expected on struct update:17941795 %OpenApiSpex.Cast{new_ctx | errors: new_ctx.errors ++ errors}17961797 but got type:17981799 dynamic(%{..., schema: %{..., anyOf: term()}})18001801 where "new_ctx" was given the type:18021803 # type: dynamic(%{..., schema: %{..., anyOf: term()}})1804 # from: lib/open_api_spex/cast/any_of.ex:20:131805 new_ctx = Map.update!(ctx, :schema, fn x -> Map.update!(x, :anyOf, fn _ -> remaining end) end)18061807 when defining the variable "new_ctx", you must also pattern match on "%OpenApiSpex.Cast{}"18081809 type warning found at:1810 │1811 35 │ %Cast{new_ctx | errors: new_ctx.errors ++ errors},1812 │ ~1813 │1814 └─ lib/open_api_spex/cast/any_of.ex:35:11: OpenApiSpex.Cast.AnyOf.cast_any_of/318151816 warning: the right-hand side of || will never be executed:18171818 description || ...18191820 because the left-hand side always evaluates to:18211822 dynamic(not false and not nil)18231824 where "description" was given the type:18251826 # type: dynamic(not false and not nil)1827 # from: lib/open_api_spex/controller.ex1828 {:ok, {mod_meta, summary, description, meta}}18291830 type warning found at:1831 │1832 184 │ description: description || "",1833 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1834 │1835 └─ lib/open_api_spex/controller.ex:184: OpenApiSpex.Controller.__api_operation__/218361837 warning: the right-hand side of || will always execute:18381839 OpenApiSpex.OpenApi.yaml_encoder()18401841 because the left-hand side always evaluates to:18421843 dynamic(nil)18441845 where "x" (context Kernel) was given the type:18461847 # type: dynamic(nil)1848 # from: lib/mix/tasks/openapi.spec.yaml.ex:541849 x18501851 type warning found at:1852 │1853 54 │ OpenApiSpex.OpenApi.yaml_encoder() ||1854 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1855 │1856 └─ lib/mix/tasks/openapi.spec.yaml.ex:54: Mix.Tasks.Openapi.Spec.Yaml.encoder/018571858Generated open_api_spex app1859==> phoenix_html_helpers1860Compiling 6 files (.ex)1861 warning: comparison between distinct types found:18621863 id == nil18641865 given types:18661867 dynamic(not false and not nil and not binary()) == nil18681869 where "id" was given the types:18701871 # type: dynamic(not false and not nil)1872 # from: lib/phoenix_html_helpers/form_data.ex:5:81873 id = Keyword.get(opts, :id) || name18741875 # type: dynamic(not false and not nil and not binary())1876 # from: lib/phoenix_html_helpers/form_data.ex:7:121877 is_binary(id)18781879 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 false18801881 type warning found at:1882 │1883 7 │ unless is_binary(id) or is_nil(id) do1884 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1885 │1886 └─ lib/phoenix_html_helpers/form_data.ex:7: Phoenix.HTML.FormData.Atom.to_form/218871888 warning: incompatible types given to form_for/3:18891890 form_for(form_data, action, [])18911892 given types:18931894 dynamic(), dynamic(), -empty_list()-18951896 but expected one of:18971898 term(), term(), (none() -> term())18991900 where "action" was given the type:19011902 # type: dynamic()1903 # from: lib/phoenix_html_helpers/form.ex:36:271904 action19051906 where "form_data" was given the type:19071908 # type: dynamic()1909 # from: lib/phoenix_html_helpers/form.ex:36:161910 form_data19111912 type warning found at:1913 │1914 37 │ form_for(form_data, action, [])1915 │ ~1916 │1917 └─ lib/phoenix_html_helpers/form.ex:37:5: PhoenixHTMLHelpers.Form.form_for/219181919Generated phoenix_html_helpers app1920==> prometheus_plugs1921Compiling 3 files (.ex)1922 warning: unused require Logger1923 │1924 53 │ require Logger1925 │ ~1926 │1927 └─ lib/prometheus/plug_exporter.ex:53:319281929 warning: unused require Logger1930 │1931 91 │ require Logger1932 │ ~1933 │1934 └─ lib/prometheus/plug_instrumenter.ex:91:319351936 warning: unused require Logger1937 │1938 91 │ require Logger1939 │ ~1940 │1941 └─ lib/prometheus/plug_pipeline_instrumenter.ex:91:319421943 warning: Plug.Builder.compile/3 is undefined (module Plug.Builder is not available or is yet to be defined)1944 │1945 227 │ {conn, body} = Plug.Builder.compile(env, plugs, [])1946 │ ~1947 │1948 └─ lib/prometheus/plug_instrumenter.ex:227:33: Prometheus.PlugInstrumenter.__before_compile__/119491950 warning: Plug.Router.Utils.split/1 is undefined (module Plug.Router.Utils is not available or is yet to be defined)1951 │1952 73 │ path = Plug.Router.Utils.split(Config.path(module_name))1953 │ ~1954 │1955 └─ lib/prometheus/plug_exporter.ex:73:30: Prometheus.PlugExporter.__using__/119561957Generated prometheus_plugs app1958warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1959 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21960 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11961 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51962 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21963 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41964 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/219651966==> postgrex1967Compiling 70 files (.ex)1968Generated postgrex app1969==> ecto_sql1970Compiling 25 files (.ex)1971Generated ecto_sql app1972==> ecto_enum1973Compiling 5 files (.ex)1974Generated ecto_enum app1975==> nerves_compatibility_test1976===> Analyzing applications...1977===> Compiling parse_trans1978==> uboot_env1979Compiling 5 files (.ex)1980Generated uboot_env app1981==> property_table1982Compiling 8 files (.ex)1983Generated property_table app1984==> nerves_uevent1985 CC uevent.o1986 LD uevent1987Compiling 5 files (.ex)1988Generated nerves_uevent app1989==> nerves_runtime1990Compiling 14 files (.ex)1991Generated nerves_runtime app1992==> toolshed1993Compiling 5 files (.ex)1994Generated toolshed app1995==> websock1996Compiling 1 file (.ex)1997Generated websock app1998==> websock_adapter1999Compiling 4 files (.ex)2000Generated websock_adapter app2001warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"2002 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/22003 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/12004 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/52005 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/22006 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/42007 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/220082009==> phoenix2010Compiling 71 files (.ex)2011 warning: unused require Logger2012 │2013 9 │ require Logger2014 │ ~2015 │2016 └─ lib/phoenix/config.ex:9:320172018 warning: unused require Logger2019 │2020 281 │ require Logger2021 │ ~2022 │2023 └─ lib/phoenix/endpoint.ex:281:320242025 warning: unused require Phoenix.Endpoint2026 │2027 6 │ require Phoenix.Endpoint2028 │ ~2029 │2030 └─ lib/phoenix/controller.ex:6:320312032 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 operator2033 │2034 46 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix2035 │ ~2036 │2037 └─ lib/phoenix/naming.ex:46:29: Phoenix.Naming.unsuffix/220382039 warning: unused require Phoenix.Endpoint2040 │2041 17 │ require Phoenix.Endpoint2042 │ ~2043 │2044 └─ lib/phoenix/endpoint/render_errors.ex:17:320452046 warning: unused require Phoenix.Endpoint2047 │2048 6 │ require Phoenix.Endpoint2049 │ ~2050 │2051 └─ lib/phoenix/channel/server.ex:6:320522053 warning: unused require Phoenix.Endpoint2054 │2055 202 │ require Phoenix.Endpoint2056 │ ~2057 │2058 └─ lib/phoenix/socket.ex:202:320592060 warning: unused require Logger2061 │2062 70 │ require Logger2063 │ ~2064 │2065 └─ lib/phoenix/socket/pool_supervisor.ex:70:320662067 warning: unused require Logger2068 │2069 100 │ require Logger2070 │ ~2071 │2072 └─ lib/phoenix/token.ex:100:320732074 warning: comparison between distinct types found:20752076 merge_all != []20772078 given types:20792080 dynamic(non_empty_list({atom(), term()})) != empty_list()20812082 where "merge_all" was given the type:20832084 # type: dynamic(non_empty_list({atom(), term()}))2085 # from: lib/phoenix/router/route.ex:121:152086 merge_all = merge_params ++ merge_private ++ merge_assigns20872088 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 false20892090 type warning found at:2091 │2092 123 │ if merge_all != [] do2093 │ ~2094 │2095 └─ lib/phoenix/router/route.ex:123:18: Phoenix.Router.Route.build_prepare/120962097 warning: a struct for Plug.Conn is expected on struct update:20982099 %Plug.Conn{conn | state: :sent}21002101 but got type:21022103 dynamic()21042105 where "conn" was given the type:21062107 # type: dynamic()2108 # from: lib/phoenix/endpoint/render_errors.ex:55:172109 conn21102111 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"21122113 type warning found at:2114 │2115 60 │ %Plug.Conn{conn | state: :sent}2116 │ ~2117 │2118 └─ lib/phoenix/endpoint/render_errors.ex:60:11: Phoenix.Endpoint.RenderErrors.__catch__/521192120 warning: a struct for Plug.Conn is expected on struct update:21212122 %Plug.Conn{conn | query_params: %{}, params: %{}}21232124 but got type:21252126 dynamic(%{..., params: %Plug.Conn.Unfetched{}})21272128 where "conn" was given the types:21292130 # type: dynamic(%{..., params: term()})2131 # from: lib/phoenix/endpoint/render_errors.ex:133:172132 conn.params21332134 # type: dynamic(%{..., params: %Plug.Conn.Unfetched{}})2135 # from: lib/phoenix/endpoint/render_errors.ex:133:172136 conn.params21372138 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"21392140 type warning found at:2141 │2142 134 │ %Plug.Conn.Unfetched{} -> %Plug.Conn{conn | query_params: %{}, params: %{}}2143 │ ~2144 │2145 └─ lib/phoenix/endpoint/render_errors.ex:134:35: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/121462147 warning: a struct for Plug.Conn is expected on struct update:21482149 %Plug.Conn{conn | query_params: %{}, params: params}21502151 but got type:21522153 dynamic(%{..., params: not %Plug.Conn.Unfetched{}})21542155 where "conn" was given the types:21562157 # type: dynamic(%{..., params: term()})2158 # from: lib/phoenix/endpoint/render_errors.ex:133:172159 conn.params21602161 # type: dynamic(%{..., params: not %Plug.Conn.Unfetched{}})2162 # from: lib/phoenix/endpoint/render_errors.ex:133:172163 conn.params21642165 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"21662167 type warning found at:2168 │2169 135 │ params -> %Plug.Conn{conn | query_params: %{}, params: params}2170 │ ~2171 │2172 └─ lib/phoenix/endpoint/render_errors.ex:135:19: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/121732174 warning: a struct for Plug.Conn is expected on struct update:21752176 %Plug.Conn{conn | params: params}21772178 but got type:21792180 dynamic(%{..., params: map()})21812182 where "conn" was given the type:21832184 # type: dynamic(%{..., params: map()})2185 # from: lib/phoenix/controller.ex:1327:172186 Map.get(conn.params, required_key)21872188 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"21892190 type warning found at:2191 │2192 1334 │ %Plug.Conn{conn | params: params}2193 │ ~2194 │2195 └─ lib/phoenix/controller.ex:1334:5: Phoenix.Controller.scrub_params/221962197Generated phoenix app2198==> nerves_compatibility_test2199===> Analyzing applications...2200===> Compiling quic2201===> Analyzing applications...2202===> Compiling webtransport2203===> Analyzing applications...2204===> Compiling hackney2205==> httpoison2206Compiling 3 files (.ex)2207Generated httpoison app2208==> step_flow2209Compiling 184 files (.ex)2210 warning: unused require Logger2211 │2212 5 │ require Logger2213 │ ~2214 │2215 └─ lib/step_flow/amqp/common_emitter.ex:5:322162217 warning: unused require Logger2218 │2219 11 │ require Logger2220 │ ~2221 │2222 └─ lib/step_flow/application.ex:11:322232224 warning: unused require Logger2225 │2226 6 │ require Logger2227 │ ~2228 │2229 └─ lib/step_flow/controllers/statistics/durations.ex:6:322302231 warning: unused require Logger2232 │2233 5 │ require Logger2234 │ ~2235 │2236 └─ lib/step_flow/controllers/step/launch_params.ex:5:322372238 warning: unused require Logger2239 │2240 7 │ require Logger2241 │ ~2242 │2243 └─ lib/step_flow/metrics/live_workflow_processing_collector.ex:7:322442245 warning: unused require Logger2246 │2247 7 │ require Logger2248 │ ~2249 │2250 └─ lib/step_flow/metrics/pending_job_collector.ex:7:322512252 warning: unused require Logger2253 │2254 8 │ require Logger2255 │ ~2256 │2257 └─ lib/step_flow/metrics/workflow_collector.ex:8:322582259 warning: unused require Logger2260 │2261 6 │ require Logger2262 │ ~2263 │2264 └─ lib/step_flow/models/rights/right.ex:6:322652266 warning: unused require Logger2267 │2268 5 │ require Logger2269 │ ~2270 │2271 └─ lib/step_flow/models/roles/role.ex:5:322722273 warning: unused require Logger2274 │2275 6 │ require Logger2276 │ ~2277 │2278 └─ lib/step_flow/models/roles/roles.ex:6:322792280 warning: unused require Logger2281 │2282 8 │ require Logger2283 │ ~2284 │2285 └─ lib/step_flow/models/workflow_definitions/workflow_definition.ex:8:322862287 warning: unused require Logger2288 │2289 4 │ require Logger2290 │ ~2291 │2292 └─ lib/step_flow/plugs/prometheus.ex:4:322932294 warning: unused require Logger2295 │2296 4 │ require Logger2297 │ ~2298 │2299 └─ lib/step_flow/plugs/step_flow.ex:4:323002301 warning: unused require Logger2302 │2303 4 │ require Logger2304 │ ~2305 │2306 └─ lib/step_flow/view/workflow_view.ex:4:323072308 warning: the following clause is redundant:23092310 def create_worker_status!(%StepFlow.Progressions.Progression{} = message)23112312 it has type:23132314 dynamic(%StepFlow.Progressions.Progression{})23152316 previous clauses have already matched on the following types:23172318 map()23192320 │2321 181 │ def create_worker_status!(%StepFlow.Progressions.Progression{} = message) do2322 │ ~2323 │2324 └─ lib/step_flow/models/workers/worker_statuses.ex:181:7: StepFlow.Workers.WorkerStatuses.create_worker_status!/123252326Generated step_flow app2327==> nerves_compatibility_test2328Compiling 2 files (.ex)2329Generated nerves_compatibility_test app2330** (Mix) Duplicated modules: 2331 'Elixir.JSON.Encoder.Map' specified in elixir and json2332 'Elixir.JSON.Encoder.List' specified in elixir and json2333 'Elixir.JSON.Encoder.Integer' specified in elixir and json2334 'Elixir.JSON.Encoder.Float' specified in elixir and json2335 'Elixir.JSON.Encoder.BitString' specified in elixir and json2336 'Elixir.JSON.Encoder.Atom' specified in elixir and json2337 'Elixir.JSON.Encoder' specified in elixir and json2338 'Elixir.JSON' specified in elixir and json