Build log
nerves_system_bbb
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.439s3Unchanged: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: redefining module JSON.Encoder.Atom (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Atom.beam)246 │247 66 │ defimpl JSON.Encoder, for: Atom do248 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~249 │250 └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)251252 warning: redefining module JSON.Encoder.BitString (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.BitString.beam)253 │254 83 │ defimpl JSON.Encoder, for: BitString do255 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~256 │257 └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)258259 warning: unused require Logger260 │261 14 │ require Logger262 │ ~263 │264 └─ lib/json/logger.ex:14:3265266 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: JSON.Encoder.encode/1 is undefined or private. Did you mean:298299 * encode/2300301 │302 25 │ defdelegate encode(term), to: Encoder303 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~304 │305 └─ (elixir 1.20.3) lib/json.ex:25: JSON.encode/1306307 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Any)308 │309 159 │ defimpl JSON.Encoder, for: Any do310 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311 │312 └─ lib/json/encoder/default_implementations.ex:159: JSON.Encoder.Any (module)313314 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.Record)325 │326 135 │ defimpl JSON.Encoder, for: Record do327 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328 │329 └─ lib/json/encoder/default_implementations.ex:135: JSON.Encoder.Record (module)330331 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Map)332 │333 147 │ defimpl JSON.Encoder, for: Map do334 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~335 │336 └─ lib/json/encoder/default_implementations.ex:147: JSON.Encoder.Map (module)337338 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:339340 * encode/2341342 │343 28 │ case Encoder.encode(item) do344 │ ~345 │346 └─ lib/json/encoder/helpers.ex:28:18: JSON.Encoder.Helpers.encode_item/1347348 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.BitString)349 │350 83 │ defimpl JSON.Encoder, for: BitString do351 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~352 │353 └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)354355 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Atom)356 │357 66 │ defimpl JSON.Encoder, for: Atom do358 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~359 │360 └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)361362 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Float)363 │364 53 │ defimpl JSON.Encoder, for: [Integer, Float] do365 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~366 │367 └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Float (module)368369 warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:370371 * encode/2372373 │374 73 │ def encode(atom) when is_atom(atom), do: atom |> Atom.to_string() |> JSON.Encoder.encode()375 │ ~376 │377 └─ (elixir 1.20.3) lib/json/encoder/default_implementations.ex:73:85: JSON.Encoder.Atom.encode/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.HashDict)394 │395 13 │ defimpl JSON.Encoder, for: HashDict do396 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~397 │398 └─ lib/json/encoder/default_implementations.ex:13: JSON.Encoder.HashDict (module)399400 warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Tuple)401 │402 1 │ defimpl JSON.Encoder, for: Tuple do403 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~404 │405 └─ lib/json/encoder/default_implementations.ex:1: JSON.Encoder.Tuple (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_armv7_nerves_linux_gnueabihf474Compiling 1 file (.ex)475Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app476==> nerves_compatibility_test477===> Analyzing applications...478===> Compiling idna479===> Analyzing applications...480===> Compiling telemetry481==> ecto482Compiling 56 files (.ex)483Generated ecto app484==> db_connection485Compiling 18 files (.ex)486Generated db_connection app487==> nerves_compatibility_test488===> Analyzing applications...489===> Compiling cowboy490==> phoenix_html491Compiling 6 files (.ex)492 warning: the 1st pattern in clause will never match:493494 60495496 because it is expected to receive type:497498 dynamic(empty_list() or non_empty_list(term(), term()))499500 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())501502 type warning found at:503 │504 56 │ def to_iodata(?<), do: "<"505 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~506 │507 └─ lib/phoenix_html/safe.ex:56: Phoenix.HTML.Safe.List.to_iodata/1508509 warning: the 1st pattern in clause will never match:510511 62512513 because it is expected to receive type:514515 dynamic(empty_list() or non_empty_list(term(), term()))516517 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())518519 type warning found at:520 │521 57 │ def to_iodata(?>), do: ">"522 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~523 │524 └─ lib/phoenix_html/safe.ex:57: Phoenix.HTML.Safe.List.to_iodata/1525526 warning: the 1st pattern in clause will never match:527528 38529530 because it is expected to receive type:531532 dynamic(empty_list() or non_empty_list(term(), term()))533534 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())535536 type warning found at:537 │538 58 │ def to_iodata(?&), do: "&"539 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~540 │541 └─ lib/phoenix_html/safe.ex:58: Phoenix.HTML.Safe.List.to_iodata/1542543 warning: the 1st pattern in clause will never match:544545 34546547 because it is expected to receive type:548549 dynamic(empty_list() or non_empty_list(term(), term()))550551 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())552553 type warning found at:554 │555 59 │ def to_iodata(?"), do: """556 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~557 │558 └─ lib/phoenix_html/safe.ex:59: Phoenix.HTML.Safe.List.to_iodata/1559560 warning: the 1st pattern in clause will never match:561562 39563564 because it is expected to receive type:565566 dynamic(empty_list() or non_empty_list(term(), term()))567568 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())569570 type warning found at:571 │572 60 │ def to_iodata(?'), do: "'"573 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~574 │575 └─ lib/phoenix_html/safe.ex:60: Phoenix.HTML.Safe.List.to_iodata/1576577 warning: the 1st pattern in clause will never match:578579 {:safe, data}580581 because it is expected to receive type:582583 dynamic(empty_list() or non_empty_list(term(), term()))584585 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())586587 type warning found at:588 │589 76 │ def to_iodata({:safe, data}) do590 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~591 │592 └─ lib/phoenix_html/safe.ex:76: Phoenix.HTML.Safe.List.to_iodata/1593594 warning: the following clause is redundant:595596 def to_iodata(other)597598 it has type:599600 dynamic(empty_list() or non_empty_list(term(), term()))601602 previous clauses have already matched on the following types:603604 non_empty_list(term(), term())605 empty_list()606607 │608 80 │ def to_iodata(other) do609 │ ~610 │611 └─ lib/phoenix_html/safe.ex:80:7: Phoenix.HTML.Safe.List.to_iodata/1612613 warning: the 1st pattern in clause will never match:614615 h616617 because it is expected to receive type:618619 dynamic(empty_list() or non_empty_list(term(), term()))620621 where "h" was given the type:622623 # type: integer()624 # from: lib/phoenix_html/safe.ex:62:25625 is_integer(h)626627 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())628629 type warning found at:630 │631 62 │ def to_iodata(h) when is_integer(h) and h <= 255 do632 │ ~633 │634 └─ lib/phoenix_html/safe.ex:62:17: Phoenix.HTML.Safe.List.to_iodata/1635636 warning: the 1st pattern in clause will never match:637638 h639640 because it is expected to receive type:641642 dynamic(empty_list() or non_empty_list(term(), term()))643644 where "h" was given the type:645646 # type: integer()647 # from: lib/phoenix_html/safe.ex:66:25648 is_integer(h)649650 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())651652 type warning found at:653 │654 66 │ def to_iodata(h) when is_integer(h) do655 │ ~656 │657 └─ lib/phoenix_html/safe.ex:66:17: Phoenix.HTML.Safe.List.to_iodata/1658659 warning: the 1st pattern in clause will never match:660661 h662663 because it is expected to receive type:664665 dynamic(empty_list() or non_empty_list(term(), term()))666667 where "h" was given the type:668669 # type: binary()670 # from: lib/phoenix_html/safe.ex:72:25671 is_binary(h)672673 hint: defimpl for List requires its callbacks to match exclusively on empty_list() or non_empty_list(term(), term())674675 type warning found at:676 │677 72 │ def to_iodata(h) when is_binary(h) do678 │ ~679 │680 └─ lib/phoenix_html/safe.ex:72:17: Phoenix.HTML.Safe.List.to_iodata/1681682Generated phoenix_html app683==> phoenix_template684Compiling 4 files (.ex)685Generated phoenix_template app686==> expo687Compiling 2 files (.erl)688Compiling 22 files (.ex)689Generated expo app690==> gettext691Compiling 18 files (.ex)692 warning: unused require Gettext.Macros693 │694 594 │ require Gettext.Macros695 │ ~696 │697 └─ lib/gettext.ex:594:3698699 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead700 │701 426 │ Kernel.ParallelCompiler.async(fn ->702 │ ~703 │704 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3705706 warning: the following clause is redundant:707708 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)709710 it has type:711712 dynamic(%Expo.Message.Plural{})713714 previous clauses have already matched on the following types:715716 %Expo.Message.Singular{}717 %Expo.Message.Plural{}718719 │720 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do721 │ ~722 │723 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1724725Generated gettext app726==> phoenix_pubsub727Compiling 11 files (.ex)728 warning: unused require Logger729 │730 74 │ require Logger731 │ ~732 │733 └─ lib/phoenix/tracker.ex:74:3734735 warning: a struct for Phoenix.Tracker.State is expected on struct update:736737 %Phoenix.Tracker.State{state | clouds: pruned_clouds, delta: new_delta}738739 but got type:740741 dynamic(%{742 ...,743 clouds: term(),744 delta: %{..., clouds: term(), mode: :delta, values: map()},745 values: term()746 })747748 where "state" was given the types:749750 # type: dynamic(%{..., values: term()})751 # from: lib/phoenix/tracker/state.ex:94:49752 :ets.lookup(state.values, {topic, pid, key})753754 # type: dynamic(%{..., clouds: term(), values: term()})755 # from: lib/phoenix/tracker/state.ex:95:21756 delete_tag(state.clouds, tag)757758 # type: dynamic(%{759 ...,760 clouds: term(),761 delta: %{..., clouds: term(), mode: :delta, values: map()},762 values: term()763 })764 # from: lib/phoenix/tracker/state.ex:96:17765 remove_delta_tag(state.delta, tag)766767 when defining the variable "state", you must also pattern match on "%Phoenix.Tracker.State{}"768769 type warning found at:770 │771 97 │ state = bump_clock(%State{state | clouds: pruned_clouds, delta: new_delta})772 │ ~773 │774 └─ lib/phoenix/tracker/state.ex:97:24: Phoenix.Tracker.State.leave_join/5775776 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:777778 %Phoenix.Tracker.Replica{replica | status: :permdown}779780 but got type:781782 dynamic()783784 where "replica" was given the type:785786 # type: dynamic()787 # from: lib/phoenix/tracker/replica.ex:72:17788 replica789790 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"791792 type warning found at:793 │794 72 │ defp permdown(replica), do: %Replica{replica | status: :permdown}795 │ ~796 │797 └─ lib/phoenix/tracker/replica.ex:72:31: Phoenix.Tracker.Replica.permdown/1798799 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:800801 %Phoenix.Tracker.Replica{replica | status: :down}802803 but got type:804805 dynamic()806807 where "replica" was given the type:808809 # type: dynamic()810 # from: lib/phoenix/tracker/replica.ex:74:13811 replica812813 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"814815 type warning found at:816 │817 74 │ defp down(replica), do: %Replica{replica | status: :down}818 │ ~819 │820 └─ lib/phoenix/tracker/replica.ex:74:27: Phoenix.Tracker.Replica.down/1821822 warning: a struct for Phoenix.Tracker.Replica is expected on struct update:823824 %Phoenix.Tracker.Replica{replica | last_heartbeat_at: now_ms()}825826 but got type:827828 dynamic()829830 where "replica" was given the type:831832 # type: dynamic()833 # from: lib/phoenix/tracker/replica.ex:76:29834 replica835836 when defining the variable "replica", you must also pattern match on "%Phoenix.Tracker.Replica{}"837838 type warning found at:839 │840 77 │ %Replica{replica | last_heartbeat_at: now_ms()}841 │ ~842 │843 └─ lib/phoenix/tracker/replica.ex:77:5: Phoenix.Tracker.Replica.touch_last_heartbeat/1844845 warning: a struct for Phoenix.Tracker.State is expected on struct update:846847 %Phoenix.Tracker.State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}848849 but got type:850851 dynamic()852853 where "delta" was given the type:854855 # type: dynamic()856 # from: lib/phoenix/tracker/state.ex:506:36857 %Phoenix.Tracker.State{delta: delta} = state858859 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"860861 type warning found at:862 │863 510 │ new_delta = %State{delta | values: Map.put(delta.values, tag, {pid, topic, key, meta})}864 │ ~865 │866 └─ lib/phoenix/tracker/state.ex:510:17: Phoenix.Tracker.State.do_add/5867868 warning: a struct for Phoenix.Tracker.State is expected on struct update:869870 %Phoenix.Tracker.State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}871872 but got type:873874 dynamic()875876 where "delta" was given the type:877878 # type: dynamic()879 # from: lib/phoenix/tracker/state.ex:586:99880 %Phoenix.Tracker.State{mode: :normal, replica: rep, clouds: clouds, context: ctx, delta: delta} =881 state882883 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"884885 type warning found at:886 │887 592 │ delta: %State{delta | clouds: put_tag(delta.clouds, {rep, new_clock})}}888 │ ~889 │890 └─ lib/phoenix/tracker/state.ex:592:19: Phoenix.Tracker.State.bump_clock/1891892 warning: a struct for Phoenix.Tracker.State is expected on struct update:893894 %Phoenix.Tracker.State{delta | range: {start_clock, new_end}}895896 but got type:897898 dynamic(%{..., range: {term(), term()}})899900 where "delta" was given the type:901902 # type: dynamic(%{..., range: {term(), term()}})903 # from: lib/phoenix/tracker/state.ex:596:30904 {start_clock, end_clock} = delta.range905906 when defining the variable "delta", you must also pattern match on "%Phoenix.Tracker.State{}"907908 type warning found at:909 │910 600 │ delta: %State{delta | range: {start_clock, new_end}}}911 │ ~912 │913 └─ lib/phoenix/tracker/state.ex:600:19: Phoenix.Tracker.State.put_context/2914915Generated phoenix_pubsub app916==> nerves_compatibility_test917===> Analyzing applications...918===> Compiling thoas919===> Analyzing applications...920===> Compiling rabbit_common921gen_server2.erl:334:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.922Compile directive 'nowarn_deprecated_catch' can be used to suppress923warnings in selected modules.924gen_server2.erl:342:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.925Compile directive 'nowarn_deprecated_catch' can be used to suppress926warnings in selected modules.927gen_server2.erl:353:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.928Compile directive 'nowarn_deprecated_catch' can be used to suppress929warnings in selected modules.930gen_server2.erl:356:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.931Compile directive 'nowarn_deprecated_catch' can be used to suppress932warnings in selected modules.933gen_server2.erl:359:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.934Compile directive 'nowarn_deprecated_catch' can be used to suppress935warnings in selected modules.936gen_server2.erl:366:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.937Compile directive 'nowarn_deprecated_catch' can be used to suppress938warnings in selected modules.939gen_server2.erl:378:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.940Compile directive 'nowarn_deprecated_catch' can be used to suppress941warnings in selected modules.942gen_server2.erl:439:13: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.943Compile directive 'nowarn_deprecated_catch' can be used to suppress944warnings in selected modules.945gen_server2.erl:448:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.946Compile directive 'nowarn_deprecated_catch' can be used to suppress947warnings in selected modules.948gen_server2.erl:452:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.949Compile directive 'nowarn_deprecated_catch' can be used to suppress950warnings in selected modules.951gen_server2.erl:489:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.952Compile directive 'nowarn_deprecated_catch' can be used to suppress953warnings in selected modules.954gen_server2.erl:565:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.955Compile directive 'nowarn_deprecated_catch' can be used to suppress956warnings in selected modules.957gen_server2.erl:622:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.958Compile directive 'nowarn_deprecated_catch' can be used to suppress959warnings in selected modules.960gen_server2.erl:729:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.961Compile directive 'nowarn_deprecated_catch' can be used to suppress962warnings in selected modules.963gen_server2.erl:744:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.964Compile directive 'nowarn_deprecated_catch' can be used to suppress965warnings in selected modules.966gen_server2.erl:811:17: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.967Compile directive 'nowarn_deprecated_catch' can be used to suppress968warnings in selected modules.969gen_server2.erl:872:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.970Compile directive 'nowarn_deprecated_catch' can be used to suppress971warnings in selected modules.972gen_server2.erl:932:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.973Compile directive 'nowarn_deprecated_catch' can be used to suppress974warnings in selected modules.975gen_server2.erl:985:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.976Compile directive 'nowarn_deprecated_catch' can be used to suppress977warnings in selected modules.978gen_server2.erl:1035:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.979Compile directive 'nowarn_deprecated_catch' can be used to suppress980warnings in selected modules.981gen_server2.erl:1048:18: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.982Compile directive 'nowarn_deprecated_catch' can be used to suppress983warnings in selected modules.984gen_server2.erl:1056:14: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.985Compile directive 'nowarn_deprecated_catch' can be used to suppress986warnings in selected modules.987gen_server2.erl:1112:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.988Compile directive 'nowarn_deprecated_catch' can be used to suppress989warnings in selected modules.990gen_server2.erl:1158:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.991Compile directive 'nowarn_deprecated_catch' can be used to suppress992warnings in selected modules.993gen_server2.erl:1249:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.994Compile directive 'nowarn_deprecated_catch' can be used to suppress995warnings in selected modules.996gen_server2.erl:1329:39: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.997Compile directive 'nowarn_deprecated_catch' can be used to suppress998warnings in selected modules.999gen_server2.erl:1339:39: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1000Compile directive 'nowarn_deprecated_catch' can be used to suppress1001warnings in selected modules.1002gen_server2.erl:1377:23: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1003Compile directive 'nowarn_deprecated_catch' can be used to suppress1004warnings in selected modules.10051006rabbit_nodes_common.erl:57:8: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1007Compile directive 'nowarn_deprecated_catch' can be used to suppress1008warnings in selected modules.10091010rabbit_net.erl:183:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1011Compile directive 'nowarn_deprecated_catch' can be used to suppress1012warnings in selected modules.10131014rabbit_misc.erl:1520:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1015Compile directive 'nowarn_deprecated_catch' can be used to suppress1016warnings in selected modules.10171018rabbit_env.erl:1354:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1019Compile directive 'nowarn_deprecated_catch' can be used to suppress1020warnings in selected modules.1021rabbit_env.erl:1385:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1022Compile directive 'nowarn_deprecated_catch' can be used to suppress1023warnings in selected modules.1024rabbit_env.erl:1426:12: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1025Compile directive 'nowarn_deprecated_catch' can be used to suppress1026warnings in selected modules.10271028rabbit_routing_parser.erl:54:27: Warning: a pattern `P1=P2` where both sides are constructors1029may yield an error in a future version of Erlang/OTP.1030Note that a pattern such as `{a,B}={Y,Z} -> ...` can always be1031written in a unified form `{a=Y,B=Z} -> ...`.1032Compile directive 'nowarn_match_alias_pats' can be used to suppress1033warnings in selected modules.10341035rabbit_registry.erl:49:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1036Compile directive 'nowarn_deprecated_catch' can be used to suppress1037warnings in selected modules.1038rabbit_registry.erl:167:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1039Compile directive 'nowarn_deprecated_catch' can be used to suppress1040warnings in selected modules.10411042supervisor2.erl:441:10: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1043Compile directive 'nowarn_deprecated_catch' can be used to suppress1044warnings in selected modules.1045supervisor2.erl:1453:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1046Compile directive 'nowarn_deprecated_catch' can be used to suppress1047warnings in selected modules.10481049===> Analyzing applications...1050===> Compiling amqp_client1051uri_parser.erl:51:19: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1052Compile directive 'nowarn_deprecated_catch' can be used to suppress1053warnings in selected modules.10541055amqp_network_connection.erl:49:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1056Compile directive 'nowarn_deprecated_catch' can be used to suppress1057warnings in selected modules.1058amqp_network_connection.erl:270:25: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1059Compile directive 'nowarn_deprecated_catch' can be used to suppress1060warnings in selected modules.10611062amqp_channel.erl:868:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1063Compile directive 'nowarn_deprecated_catch' can be used to suppress1064warnings in selected modules.1065amqp_channel.erl:876:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1066Compile directive 'nowarn_deprecated_catch' can be used to suppress1067warnings in selected modules.1068amqp_channel.erl:884:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1069Compile directive 'nowarn_deprecated_catch' can be used to suppress1070warnings in selected modules.10711072==> amqp1073Compiling 16 files (.ex)1074Generated amqp app1075==> json_xema1076Compiling 4 files (.ex)1077Generated json_xema app1078==> phoenix_view1079Compiling 1 file (.ex)1080 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 operator1081 │1082 655 │ <<prefix::binary-size(prefix_size), ^suffix::binary>> -> prefix1083 │ ~1084 │1085 └─ lib/phoenix_view.ex:655:29: Phoenix.View.unsuffix/210861087Generated phoenix_view app1088==> nerves_compatibility_test1089===> Analyzing applications...1090===> Compiling prometheus1091==> prometheus_ex1092Compiling 19 files (.ex)1093 warning: unused require Prometheus.Metric1094 │1095 4 │ require Prometheus.Metric1096 │ ~1097 │1098 └─ lib/prometheus/erlang.ex:4:310991100Generated prometheus_ex app1101==> nerves_compatibility_test1102===> Analyzing applications...1103===> Compiling certifi1104==> plug1105Compiling 1 file (.erl)1106warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1107 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21108 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11109 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51110 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21111 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41112 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/211131114Compiling 40 files (.ex)1115 warning: unused require Bitwise1116 │1117 105 │ require Bitwise1118 │ ~1119 │1120 └─ lib/plug/csrf_protection.ex:105:311211122 warning: unused require Logger1123 │1124 52 │ require Logger1125 │ ~1126 │1127 └─ lib/plug/request_id.ex:52:311281129 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 operator1130 │1131 160 │ <<prefix::binary-size(prefix_size), char, suffix::binary-size(suffix_size)>> = segment1132 │ ~1133 │1134 └─ lib/plug/router/utils.ex:160:31: Plug.Router.Utils.build_path_clause/711351136 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 operator1137 │1138 160 │ <<prefix::binary-size(prefix_size), char, suffix::binary-size(suffix_size)>> = segment1139 │ ~1140 │1141 └─ lib/plug/router/utils.ex:160:71: Plug.Router.Utils.build_path_clause/711421143 warning: the following clause will never match:11441145 {:error, reason} ->11461147 because it attempts to match on the result of:11481149 IO.binwrite(device, contents)11501151 which has type:11521153 dynamic(not {:error, term()})11541155 type warning found at:1156 │1157 275 │ {:error, reason} ->1158 │ ~~~~~~~~~~~~~~~~~~~1159 │1160 └─ lib/plug/parsers/multipart.ex:275: Plug.Parsers.MULTIPART.binwrite!/211611162 warning: a struct for Plug.Conn is expected on struct update:11631164 %Plug.Conn{conn | method: method}11651166 but got type:11671168 dynamic()11691170 where "conn" was given the type:11711172 # type: dynamic()1173 # from: lib/plug/method_override.ex:60:241174 conn11751176 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"11771178 type warning found at:1179 │1180 64 │ %Plug.Conn{conn | method: method}1181 │ ~1182 │1183 └─ lib/plug/method_override.ex:64:7: Plug.MethodOverride.override_method/211841185 warning: a struct for Plug.Conn is expected on struct update:11861187 %Plug.Conn{1188 conn1189 | adapter: {Plug.Adapters.Test.Conn, state},1190 host: uri.host || conn.host || "www.example.com",1191 method: method,1192 owner: owner,1193 path_info: split_path(uri.path),1194 port: uri.port || conn_port,1195 remote_ip: conn.remote_ip || {127, 0, 0, 1},1196 req_headers: req_headers,1197 request_path: uri.path,1198 query_string: query,1199 query_params: query_params || %Plug.Conn.Unfetched{aspect: :query_params},1200 body_params: body_params || %Plug.Conn.Unfetched{aspect: :body_params},1201 params: params || %Plug.Conn.Unfetched{aspect: :params},1202 scheme: String.to_atom(String.downcase(uri.scheme || "http"))1203 }12041205 but got type:12061207 dynamic(%{..., adapter: {atom(), term()}, port: term(), req_headers: term()})12081209 where "conn" was given the types:12101211 # type: dynamic(%{..., req_headers: term()})1212 # from: lib/plug/adapters/test/conn.ex:21:71213 body_or_params(body_or_params, query, conn.req_headers, method)12141215 # type: dynamic(%{..., adapter: {atom(), term()}, req_headers: term()})1216 # from: lib/plug/adapters/test/conn.ex:30:221217 get_from_adapter(conn, :get_http_protocol, :"HTTP/1.1")12181219 # type: dynamic(%{..., adapter: {atom(), term()}, port: term(), req_headers: term()})1220 # from: lib/plug/adapters/test/conn.ex:39:301221 conn.port != 012221223 when defining the variable "conn", you must also pattern match on "%Plug.Conn{}"12241225 type warning found at:1226 │1227 41 │ %Plug.Conn{1228 │ ~1229 │1230 └─ lib/plug/adapters/test/conn.ex:41:5: Plug.Adapters.Test.Conn.conn/412311232Generated plug app1233==> open_api_spex1234Compiling 80 files (.ex)1235 warning: unused require Mix.Generator1236 │1237 26 │ require Mix.Generator1238 │ ~1239 │1240 └─ lib/mix/tasks/openapi.spec.yaml.ex:26:312411242 warning: unused require Mix.Generator1243 │1244 29 │ require Mix.Generator1245 │ ~1246 │1247 └─ lib/mix/tasks/openapi.spec.json.ex:29:312481249 warning: unused require Mix.Generator1250 │1251 5 │ require Mix.Generator1252 │ ~1253 │1254 └─ lib/open_api_spex/export_spec.ex:5:312551256 warning: the following clause is redundant:12571258 defp resolve_schema_modules_from_media_type(media = %OpenApiSpex.MediaType{}, schemas)12591260 it has type:12611262 dynamic(%OpenApiSpex.MediaType{}), dynamic()12631264 previous clauses have already matched on the following types:12651266 %OpenApiSpex.MediaType{}, term()12671268 │1269 141 │ defp resolve_schema_modules_from_media_type(media = %MediaType{}, schemas) do1270 │ ~1271 │1272 └─ lib/open_api_spex/schema_resolver.ex:141:8: OpenApiSpex.SchemaResolver.resolve_schema_modules_from_media_type/212731274 warning: the following clause is redundant:12751276 def cast(schema = %OpenApiSpex.Schema{type: :object, allOf: []}, value = %{}, schemas)12771278 it has type:12791280 dynamic(%OpenApiSpex.Schema{type: :object, allOf: empty_list()}), dynamic(map()), dynamic()12811282 previous clauses have already matched on the following types:12831284 %OpenApiSpex.Schema{type: :boolean}, boolean(), term()1285 %OpenApiSpex.Schema{type: :boolean}, binary(), term()1286 %OpenApiSpex.Schema{type: :integer}, integer(), term()1287 %OpenApiSpex.Schema{type: :integer}, binary(), term()1288 %OpenApiSpex.Schema{type: :number}, float(), term()1289 %OpenApiSpex.Schema{type: :number}, integer(), term()1290 %OpenApiSpex.Schema{type: :number}, binary(), term()1291 %OpenApiSpex.Schema{type: :string, format: :"date-time"}, binary(), term()1292 %OpenApiSpex.Schema{type: :string, format: :date}, binary(), term()1293 %OpenApiSpex.Schema{type: :string, format: :binary}, %Plug.Upload{}, term()1294 %OpenApiSpex.Schema{type: :string}, binary(), term()1295 %OpenApiSpex.Schema{type: :array, items: nil}, empty_list() or non_empty_list(term(), term()), term()1296 %OpenApiSpex.Schema{type: :array}, empty_list(), term()1297 %OpenApiSpex.Schema{type: :array}, non_empty_list(term(), term()), term()1298 %OpenApiSpex.Schema{type: :array}, not empty_list() and not non_empty_list(term(), term()), term()1299 %OpenApiSpex.Schema{type: :object, discriminator: map()}, map(), term()1300 %OpenApiSpex.Schema{type: :object, allOf: empty_list() or non_empty_list(term(), term())}, map(), term()13011302 │1303 107 │ def cast(schema = %Schema{type: :object, allOf: []}, value = %{}, schemas) do1304 │ ~1305 │1306 └─ lib/open_api_spex/deprecated_cast.ex:107:7: OpenApiSpex.DeprecatedCast.cast/313071308 warning: the following clause is redundant:13091310 def cast(%OpenApiSpex.Schema{oneOf: []}, _value, _schemas)13111312 it has type:13131314 %OpenApiSpex.Schema{oneOf: empty_list()}, dynamic(), dynamic()13151316 previous clauses have already matched on the following types:13171318 %OpenApiSpex.Schema{type: :boolean}, boolean(), term()1319 %OpenApiSpex.Schema{type: :boolean}, binary(), term()1320 %OpenApiSpex.Schema{type: :integer}, integer(), term()1321 %OpenApiSpex.Schema{type: :integer}, binary(), term()1322 %OpenApiSpex.Schema{type: :number}, float(), term()1323 %OpenApiSpex.Schema{type: :number}, integer(), term()1324 %OpenApiSpex.Schema{type: :number}, binary(), term()1325 %OpenApiSpex.Schema{type: :string, format: :"date-time"}, binary(), term()1326 %OpenApiSpex.Schema{type: :string, format: :date}, binary(), term()1327 %OpenApiSpex.Schema{type: :string, format: :binary}, %Plug.Upload{}, term()1328 %OpenApiSpex.Schema{type: :string}, binary(), term()1329 %OpenApiSpex.Schema{type: :array, items: nil}, empty_list() or non_empty_list(term(), term()), term()1330 %OpenApiSpex.Schema{type: :array}, empty_list(), term()1331 %OpenApiSpex.Schema{type: :array}, non_empty_list(term(), term()), term()1332 %OpenApiSpex.Schema{type: :array}, not empty_list() and not non_empty_list(term(), term()), term()1333 %OpenApiSpex.Schema{type: :object, discriminator: map()}, map(), term()1334 %OpenApiSpex.Schema{type: :object, allOf: empty_list() or non_empty_list(term(), term())}, map(), term()1335 %OpenApiSpex.Schema{oneOf: empty_list() or non_empty_list(term(), term())}, term(), term()13361337 │1338 115 │ def cast(%Schema{oneOf: []}, _value, _schemas) do1339 │ ~1340 │1341 └─ lib/open_api_spex/deprecated_cast.ex:115:7: OpenApiSpex.DeprecatedCast.cast/313421343 warning: this clause of defp term_type/1 is never used (or it will always fail/warn when invoked)1344 │1345 325 │ defp term_type(v) when is_nil(v), do: nil1346 │ ~1347 │1348 └─ lib/open_api_spex/deprecated_cast.ex:325:8: OpenApiSpex.DeprecatedCast.term_type/113491350 warning: this clause of defp validate_required_properties/3 is never used (or it will always fail/warn when invoked)1351 │1352 466 │ defp validate_required_properties(%Schema{type: :object, required: nil}, _val, _path), do: :ok1353 │ ~1354 │1355 └─ lib/open_api_spex/deprecated_cast.ex:466:8: OpenApiSpex.DeprecatedCast.validate_required_properties/313561357 warning: a struct for OpenApiSpex.Cast is expected on struct update:13581359 %OpenApiSpex.Cast{ctx | errors: ctx.errors ++ errors}13601361 but got type:13621363 dynamic(1364 %OpenApiSpex.Cast{1365 schema: %{..., allOf: non_empty_list(term(), term()), "x-validate": atom() and not nil}1366 } or1367 (%OpenApiSpex.Cast{1368 schema:1369 %{1370 ...,1371 allOf: non_empty_list(term(), term()),1372 anyOf: empty_list() or non_empty_list(term(), term()),1373 type: term()1374 } and1375 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1376 %{..., enum: empty_list() or non_empty_list(term(), term())})1377 } and1378 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1379 %OpenApiSpex.Cast{1380 value: nil,1381 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1382 } or1383 %OpenApiSpex.Cast{1384 value: nil,1385 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1386 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1387 %OpenApiSpex.Cast{1388 value: nil,1389 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1390 } or %OpenApiSpex.Cast{value: nil})) or1391 (%OpenApiSpex.Cast{1392 schema:1393 %{..., allOf: non_empty_list(term(), term()), discriminator: map(), type: :object} and1394 not (%{..., "x-validate": not nil} or1395 %{..., enum: empty_list() or non_empty_list(term(), term())})1396 } and1397 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1398 %OpenApiSpex.Cast{1399 value: nil,1400 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1401 } or1402 %OpenApiSpex.Cast{1403 value: nil,1404 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1405 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1406 %OpenApiSpex.Cast{1407 value: nil,1408 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1409 } or %OpenApiSpex.Cast{value: nil})) or1410 (%OpenApiSpex.Cast{1411 schema:1412 %{..., allOf: non_empty_list(term(), term()), enum: empty_list()} and1413 not %{..., "x-validate": not nil}1414 } and1415 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1416 %OpenApiSpex.Cast{1417 value: nil,1418 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1419 } or1420 %OpenApiSpex.Cast{1421 value: nil,1422 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1423 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1424 %OpenApiSpex.Cast{1425 value: nil,1426 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1427 } or %OpenApiSpex.Cast{value: nil})) or1428 (%OpenApiSpex.Cast{1429 schema:1430 %{..., allOf: non_empty_list(term(), term()), enum: non_empty_list(term(), term())} and1431 not %{..., "x-validate": not nil}1432 } and1433 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1434 %OpenApiSpex.Cast{1435 value: nil,1436 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1437 } or1438 %OpenApiSpex.Cast{1439 value: nil,1440 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1441 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1442 %OpenApiSpex.Cast{1443 value: nil,1444 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1445 } or %OpenApiSpex.Cast{value: nil})) or1446 (%OpenApiSpex.Cast{1447 schema:1448 %{..., allOf: non_empty_list(term(), term()), type: term()} and1449 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1450 %{..., anyOf: empty_list() or non_empty_list(term(), term()), type: term()} or1451 %{..., enum: empty_list() or non_empty_list(term(), term())})1452 } and1453 not (%OpenApiSpex.Cast{value: nil} or1454 %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1455 %OpenApiSpex.Cast{1456 value: nil,1457 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1458 } or1459 %OpenApiSpex.Cast{1460 value: nil,1461 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1462 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}})) or1463 (%OpenApiSpex.Cast{1464 value: nil,1465 schema: %{..., allOf: non_empty_list(term(), term()), nullable: false}1466 } and1467 not %OpenApiSpex.Cast{1468 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1469 }) or1470 (%OpenApiSpex.Cast{1471 value: nil,1472 schema:1473 %{..., allOf: non_empty_list(term(), term())} and1474 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1475 %{..., nullable: true} or1476 %{..., anyOf: empty_list() or non_empty_list(term(), term())} or1477 %{..., nullable: false})1478 } and1479 not %OpenApiSpex.Cast{1480 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1481 }) or1482 (%OpenApiSpex.Cast{1483 value: nil,1484 schema:1485 %{1486 ...,1487 allOf: non_empty_list(term(), term()),1488 anyOf: empty_list() or non_empty_list(term(), term())1489 } and1490 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1491 %{..., nullable: true} or %{..., nullable: false})1492 } and1493 not %OpenApiSpex.Cast{1494 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1495 }) or1496 (%OpenApiSpex.Cast{1497 value: nil,1498 schema:1499 %{1500 ...,1501 allOf: non_empty_list(term(), term()),1502 oneOf: empty_list() or non_empty_list(term(), term())1503 } and not (%{..., nullable: true} or %{..., nullable: false})1504 } and1505 not %OpenApiSpex.Cast{1506 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1507 }) or1508 (%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}} and1509 not (%OpenApiSpex.Cast{value: nil} or %OpenApiSpex.Cast{schema: %{..., type: :integer}} or1510 %OpenApiSpex.Cast{1511 schema: %{1512 ...,1513 anyOf: empty_list() or non_empty_list(term(), term()),1514 type: term()1515 }1516 } or %OpenApiSpex.Cast{schema: %{..., enum: empty_list()}} or1517 %OpenApiSpex.Cast{schema: %{..., type: :array}} or1518 %OpenApiSpex.Cast{1519 value: nil,1520 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1521 } or %OpenApiSpex.Cast{schema: %{..., type: :boolean}} or1522 %OpenApiSpex.Cast{schema: %{..., type: :string}} or1523 %OpenApiSpex.Cast{schema: %{..., type: term()}} or1524 %OpenApiSpex.Cast{1525 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1526 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1527 %OpenApiSpex.Cast{1528 value: nil,1529 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1530 } or %OpenApiSpex.Cast{schema: %{..., type: :object}} or1531 %OpenApiSpex.Cast{schema: %{..., discriminator: map(), type: :object}} or1532 %OpenApiSpex.Cast{1533 schema: %{..., enum: empty_list() or non_empty_list(term(), term())}1534 } or1535 %OpenApiSpex.Cast{1536 schema: %{1537 ...,1538 allOf: empty_list() or non_empty_list(term(), term()),1539 type: term()1540 }1541 } or %OpenApiSpex.Cast{schema: %{..., type: nil}} or1542 %OpenApiSpex.Cast{1543 value: nil,1544 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1545 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1546 %OpenApiSpex.Cast{1547 schema: %{1548 ...,1549 oneOf: empty_list() or non_empty_list(term(), term()),1550 type: term()1551 }1552 } or %OpenApiSpex.Cast{schema: %{..., type: :number}}))1553 )15541555 where "ctx" was given the types:15561557 # type: dynamic(%{..., schema: %{..., allOf: non_empty_list(term(), term())}})1558 # from: lib/open_api_spex/cast/all_of.ex:9:741559 %{schema: %{allOf: [%OpenApiSpex.Schema{} = schema | remaining]}} = ctx15601561 # type: dynamic(%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}})1562 # from: lib/open_api_spex/cast/all_of.ex:13:151563 OpenApiSpex.Cast.cast(%{ctx | errors: [], schema: relaxed_schema})15641565 # type: dynamic(1566 %OpenApiSpex.Cast{1567 schema: %{..., allOf: non_empty_list(term(), term()), "x-validate": atom() and not nil}1568 } or1569 (%OpenApiSpex.Cast{1570 schema:1571 %{1572 ...,1573 allOf: non_empty_list(term(), term()),1574 anyOf: empty_list() or non_empty_list(term(), term()),1575 type: term()1576 } and1577 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1578 %{..., enum: empty_list() or non_empty_list(term(), term())})1579 } and1580 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1581 %OpenApiSpex.Cast{1582 value: nil,1583 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1584 } or1585 %OpenApiSpex.Cast{1586 value: nil,1587 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1588 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1589 %OpenApiSpex.Cast{1590 value: nil,1591 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1592 } or %OpenApiSpex.Cast{value: nil})) or1593 (%OpenApiSpex.Cast{1594 schema:1595 %{..., allOf: non_empty_list(term(), term()), discriminator: map(), type: :object} and1596 not (%{..., "x-validate": not nil} or1597 %{..., enum: empty_list() or non_empty_list(term(), term())})1598 } and1599 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1600 %OpenApiSpex.Cast{1601 value: nil,1602 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1603 } or1604 %OpenApiSpex.Cast{1605 value: nil,1606 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1607 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1608 %OpenApiSpex.Cast{1609 value: nil,1610 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1611 } or %OpenApiSpex.Cast{value: nil})) or1612 (%OpenApiSpex.Cast{1613 schema:1614 %{..., allOf: non_empty_list(term(), term()), enum: empty_list()} and1615 not %{..., "x-validate": not nil}1616 } and1617 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1618 %OpenApiSpex.Cast{1619 value: nil,1620 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1621 } or1622 %OpenApiSpex.Cast{1623 value: nil,1624 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1625 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1626 %OpenApiSpex.Cast{1627 value: nil,1628 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1629 } or %OpenApiSpex.Cast{value: nil})) or1630 (%OpenApiSpex.Cast{1631 schema:1632 %{..., allOf: non_empty_list(term(), term()), enum: non_empty_list(term(), term())} and1633 not %{..., "x-validate": not nil}1634 } and1635 not (%OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1636 %OpenApiSpex.Cast{1637 value: nil,1638 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1639 } or1640 %OpenApiSpex.Cast{1641 value: nil,1642 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1643 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1644 %OpenApiSpex.Cast{1645 value: nil,1646 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1647 } or %OpenApiSpex.Cast{value: nil})) or1648 (%OpenApiSpex.Cast{1649 schema:1650 %{..., allOf: non_empty_list(term(), term()), type: term()} and1651 not (%{..., "x-validate": not nil} or %{..., discriminator: map(), type: :object} or1652 %{..., anyOf: empty_list() or non_empty_list(term(), term()), type: term()} or1653 %{..., enum: empty_list() or non_empty_list(term(), term())})1654 } and1655 not (%OpenApiSpex.Cast{value: nil} or1656 %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1657 %OpenApiSpex.Cast{1658 value: nil,1659 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1660 } or1661 %OpenApiSpex.Cast{1662 value: nil,1663 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1664 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}})) or1665 (%OpenApiSpex.Cast{1666 value: nil,1667 schema: %{..., allOf: non_empty_list(term(), term()), nullable: false}1668 } and1669 not %OpenApiSpex.Cast{1670 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1671 }) or1672 (%OpenApiSpex.Cast{1673 value: nil,1674 schema:1675 %{..., allOf: non_empty_list(term(), term())} and1676 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1677 %{..., nullable: true} or1678 %{..., anyOf: empty_list() or non_empty_list(term(), term())} or1679 %{..., nullable: false})1680 } and1681 not %OpenApiSpex.Cast{1682 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1683 }) or1684 (%OpenApiSpex.Cast{1685 value: nil,1686 schema:1687 %{1688 ...,1689 allOf: non_empty_list(term(), term()),1690 anyOf: empty_list() or non_empty_list(term(), term())1691 } and1692 not (%{..., oneOf: empty_list() or non_empty_list(term(), term())} or1693 %{..., nullable: true} or %{..., nullable: false})1694 } and1695 not %OpenApiSpex.Cast{1696 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1697 }) or1698 (%OpenApiSpex.Cast{1699 value: nil,1700 schema:1701 %{1702 ...,1703 allOf: non_empty_list(term(), term()),1704 oneOf: empty_list() or non_empty_list(term(), term())1705 } and not (%{..., nullable: true} or %{..., nullable: false})1706 } and1707 not %OpenApiSpex.Cast{1708 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1709 }) or1710 (%{..., errors: term(), schema: %{..., allOf: non_empty_list(term(), term())}} and1711 not (%OpenApiSpex.Cast{value: nil} or %OpenApiSpex.Cast{schema: %{..., type: :integer}} or1712 %OpenApiSpex.Cast{1713 schema: %{1714 ...,1715 anyOf: empty_list() or non_empty_list(term(), term()),1716 type: term()1717 }1718 } or %OpenApiSpex.Cast{schema: %{..., enum: empty_list()}} or1719 %OpenApiSpex.Cast{schema: %{..., type: :array}} or1720 %OpenApiSpex.Cast{1721 value: nil,1722 schema: %{..., anyOf: empty_list() or non_empty_list(term(), term())}1723 } or %OpenApiSpex.Cast{schema: %{..., type: :boolean}} or1724 %OpenApiSpex.Cast{schema: %{..., type: :string}} or1725 %OpenApiSpex.Cast{schema: %{..., type: term()}} or1726 %OpenApiSpex.Cast{1727 schema: %OpenApiSpex.Reference{} or %{..., "x-validate": not nil} or nil1728 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: true}} or1729 %OpenApiSpex.Cast{1730 value: nil,1731 schema: %{..., allOf: empty_list() or non_empty_list(term(), term())}1732 } or %OpenApiSpex.Cast{schema: %{..., type: :object}} or1733 %OpenApiSpex.Cast{schema: %{..., discriminator: map(), type: :object}} or1734 %OpenApiSpex.Cast{1735 schema: %{..., enum: empty_list() or non_empty_list(term(), term())}1736 } or1737 %OpenApiSpex.Cast{1738 schema: %{1739 ...,1740 allOf: empty_list() or non_empty_list(term(), term()),1741 type: term()1742 }1743 } or %OpenApiSpex.Cast{schema: %{..., type: nil}} or1744 %OpenApiSpex.Cast{1745 value: nil,1746 schema: %{..., oneOf: empty_list() or non_empty_list(term(), term())}1747 } or %OpenApiSpex.Cast{value: nil, schema: %{..., nullable: false}} or1748 %OpenApiSpex.Cast{1749 schema: %{1750 ...,1751 oneOf: empty_list() or non_empty_list(term(), term()),1752 type: term()1753 }1754 } or %OpenApiSpex.Cast{schema: %{..., type: :number}}))1755 )1756 # from: lib/open_api_spex/cast/all_of.ex:13:151757 OpenApiSpex.Cast.cast(%{ctx | errors: [], schema: relaxed_schema})17581759 when defining the variable "ctx", you must also pattern match on "%OpenApiSpex.Cast{}"17601761 type warning found at:1762 │1763 26 │ %Cast{ctx | errors: ctx.errors ++ errors},1764 │ ~1765 │1766 └─ lib/open_api_spex/cast/all_of.ex:26:11: OpenApiSpex.Cast.AllOf.cast_all_of/217671768 warning: a struct for OpenApiSpex.Cast is expected on struct update:17691770 %OpenApiSpex.Cast{ctx | errors: ctx.errors ++ errors}17711772 but got type:17731774 dynamic(%{..., schemas: term()})17751776 where "ctx" was given the type:17771778 # type: dynamic(%{..., schemas: term()})1779 # from: lib/open_api_spex/cast/one_of.ex:14:301780 OpenApiSpex.resolve_schema(schema, ctx.schemas)17811782 when defining the variable "ctx", you must also pattern match on "%OpenApiSpex.Cast{}"17831784 type warning found at:1785 │1786 22 │ {%Cast{ctx | errors: ctx.errors ++ errors}, results, [schema | error_schemas]}1787 │ ~1788 │1789 └─ lib/open_api_spex/cast/one_of.ex:22:14: OpenApiSpex.Cast.OneOf.cast/117901791 warning: a struct for OpenApiSpex.Cast is expected on struct update:17921793 %OpenApiSpex.Cast{new_ctx | errors: new_ctx.errors ++ errors}17941795 but got type:17961797 dynamic(%{..., schema: %{..., anyOf: term()}})17981799 where "new_ctx" was given the type:18001801 # type: dynamic(%{..., schema: %{..., anyOf: term()}})1802 # from: lib/open_api_spex/cast/any_of.ex:20:131803 new_ctx = Map.update!(ctx, :schema, fn x -> Map.update!(x, :anyOf, fn _ -> remaining end) end)18041805 when defining the variable "new_ctx", you must also pattern match on "%OpenApiSpex.Cast{}"18061807 type warning found at:1808 │1809 35 │ %Cast{new_ctx | errors: new_ctx.errors ++ errors},1810 │ ~1811 │1812 └─ lib/open_api_spex/cast/any_of.ex:35:11: OpenApiSpex.Cast.AnyOf.cast_any_of/318131814 warning: the right-hand side of || will never be executed:18151816 description || ...18171818 because the left-hand side always evaluates to:18191820 dynamic(not false and not nil)18211822 where "description" was given the type:18231824 # type: dynamic(not false and not nil)1825 # from: lib/open_api_spex/controller.ex1826 {:ok, {mod_meta, summary, description, meta}}18271828 type warning found at:1829 │1830 184 │ description: description || "",1831 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1832 │1833 └─ lib/open_api_spex/controller.ex:184: OpenApiSpex.Controller.__api_operation__/218341835 warning: the right-hand side of || will always execute:18361837 OpenApiSpex.OpenApi.yaml_encoder()18381839 because the left-hand side always evaluates to:18401841 dynamic(nil)18421843 where "x" (context Kernel) was given the type:18441845 # type: dynamic(nil)1846 # from: lib/mix/tasks/openapi.spec.yaml.ex:541847 x18481849 type warning found at:1850 │1851 54 │ OpenApiSpex.OpenApi.yaml_encoder() ||1852 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1853 │1854 └─ lib/mix/tasks/openapi.spec.yaml.ex:54: Mix.Tasks.Openapi.Spec.Yaml.encoder/018551856Generated open_api_spex app1857==> phoenix_html_helpers1858Compiling 6 files (.ex)1859 warning: comparison between distinct types found:18601861 id == nil18621863 given types:18641865 dynamic(not false and not nil and not binary()) == nil18661867 where "id" was given the types:18681869 # type: dynamic(not false and not nil)1870 # from: lib/phoenix_html_helpers/form_data.ex:5:81871 id = Keyword.get(opts, :id) || name18721873 # type: dynamic(not false and not nil and not binary())1874 # from: lib/phoenix_html_helpers/form_data.ex:7:121875 is_binary(id)18761877 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 false18781879 type warning found at:1880 │1881 7 │ unless is_binary(id) or is_nil(id) do1882 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1883 │1884 └─ lib/phoenix_html_helpers/form_data.ex:7: Phoenix.HTML.FormData.Atom.to_form/218851886 warning: incompatible types given to form_for/3:18871888 form_for(form_data, action, [])18891890 given types:18911892 dynamic(), dynamic(), -empty_list()-18931894 but expected one of:18951896 term(), term(), (none() -> term())18971898 where "action" was given the type:18991900 # type: dynamic()1901 # from: lib/phoenix_html_helpers/form.ex:36:271902 action19031904 where "form_data" was given the type:19051906 # type: dynamic()1907 # from: lib/phoenix_html_helpers/form.ex:36:161908 form_data19091910 type warning found at:1911 │1912 37 │ form_for(form_data, action, [])1913 │ ~1914 │1915 └─ lib/phoenix_html_helpers/form.ex:37:5: PhoenixHTMLHelpers.Form.form_for/219161917Generated phoenix_html_helpers app1918==> prometheus_plugs1919Compiling 3 files (.ex)1920 warning: unused require Logger1921 │1922 53 │ require Logger1923 │ ~1924 │1925 └─ lib/prometheus/plug_exporter.ex:53:319261927 warning: unused require Logger1928 │1929 91 │ require Logger1930 │ ~1931 │1932 └─ lib/prometheus/plug_instrumenter.ex:91:319331934 warning: unused require Logger1935 │1936 91 │ require Logger1937 │ ~1938 │1939 └─ lib/prometheus/plug_pipeline_instrumenter.ex:91:319401941 warning: Plug.Builder.compile/3 is undefined (module Plug.Builder is not available or is yet to be defined)1942 │1943 227 │ {conn, body} = Plug.Builder.compile(env, plugs, [])1944 │ ~1945 │1946 └─ lib/prometheus/plug_instrumenter.ex:227:33: Prometheus.PlugInstrumenter.__before_compile__/119471948 warning: Plug.Router.Utils.split/1 is undefined (module Plug.Router.Utils is not available or is yet to be defined)1949 │1950 73 │ path = Plug.Router.Utils.split(Config.path(module_name))1951 │ ~1952 │1953 └─ lib/prometheus/plug_exporter.ex:73:30: Prometheus.PlugExporter.__using__/119541955Generated prometheus_plugs app1956warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"1957 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/21958 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/11959 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51960 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21961 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41962 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/219631964==> postgrex1965Compiling 70 files (.ex)1966Generated postgrex app1967==> ecto_sql1968Compiling 25 files (.ex)1969Generated ecto_sql app1970==> ecto_enum1971Compiling 5 files (.ex)1972Generated ecto_enum app1973==> nerves_compatibility_test1974===> Analyzing applications...1975===> Compiling parse_trans1976==> uboot_env1977Compiling 5 files (.ex)1978Generated uboot_env app1979==> nerves_system_bbb1980Generated nerves_system_bbb 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