Build log
host
membrane_dtls_plugin 0.7.0 · fail · run membrane_dtls_plugin-0.7.0-1794788645519
1751 of 1751 lines
1Resolving Hex dependencies...2Resolution completed in 0.101s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> circular_buffer17Compiling 1 file (.ex)18Generated circular_buffer app19==> logger_backends20Compiling 7 files (.ex)21Generated logger_backends app22==> coerce23Compiling 3 files (.ex)24Generated coerce app25==> bunch26Compiling 19 files (.ex)27 warning: the variable "chunk_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator28 │29 47 │ <<chunk::binary-size(chunk_size)>> <> rest ->30 │ ~31 │32 └─ lib/bunch/binary.ex:47:28: Bunch.Binary.do_chunk_every_rem/33334 warning: the variable "len" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator35 │36 90 │ <<b::binary-size(len), r::binary>> = binary37 │ ~38 │39 └─ lib/bunch/binary.ex:90:22: Bunch.Binary.split_int_part/24041Generated bunch app42==> numbers43Compiling 7 files (.ex)44Generated numbers app45==> elixir_make46Compiling 8 files (.ex)47Generated elixir_make app48==> nerves_logging49 CC kmsg_tailer.o50 LD kmsg_tailer51Not crosscompiling. To test locally, the port binary needs extra permissions.52Set SUDO=sudo to set permissions. The default is to skip this step.53SUDO_ASKPASS=/usr/bin/ssh-askpass54SUDO=true55Compiling 5 files (.ex)56Generated nerves_logging app57==> ratio58Compiling 5 files (.ex)59 warning: <|> is deprecated. Use another pipe-like operator60 │61 154 │ def numerator <|> denominator62 │ ~63 │64 └─ lib/ratio.ex:154:176566 warning: <|> is deprecated. Use another pipe-like operator67 │68 156 │ def _numerator <|> 0 do69 │ ~70 │71 └─ lib/ratio.ex:156:187273 warning: <|> is deprecated. Use another pipe-like operator74 │75 160 │ def numerator <|> denominator when is_integer(numerator) and is_integer(denominator) do76 │ ~77 │78 └─ lib/ratio.ex:160:177980 warning: <|> is deprecated. Use another pipe-like operator81 │82 166 │ def numerator <|> denominator when is_float(numerator) do83 │ ~84 │85 └─ lib/ratio.ex:166:178687 warning: <|> is deprecated. Use another pipe-like operator88 │89 170 │ def numerator <|> denominator when is_float(denominator) do90 │ ~91 │92 └─ lib/ratio.ex:170:179394 warning: <|> is deprecated. Use another pipe-like operator95 │96 174 │ def (numerator = %Ratio{}) <|> (denominator = %Ratio{}) do97 │ ~98 │99 └─ lib/ratio.ex:174:30100101 warning: <|> is deprecated. Use another pipe-like operator102 │103 179 │ def (numerator = %Decimal{}) <|> (denominator = %Decimal{}) do104 │ ~105 │106 └─ lib/ratio.ex:179:34107108 warning: <|> is deprecated. Use another pipe-like operator109 │110 184 │ def (numerator = %Decimal{}) <|> denominator when is_float(denominator) do111 │ ~112 │113 └─ lib/ratio.ex:184:34114115 warning: <|> is deprecated. Use another pipe-like operator116 │117 189 │ def numerator <|> (denominator = %Decimal{}) when is_float(numerator) do118 │ ~119 │120 └─ lib/ratio.ex:189:19121122 warning: <|> is deprecated. Use another pipe-like operator123 │124 194 │ def (numerator = %Decimal{}) <|> denominator when is_integer(denominator) do125 │ ~126 │127 └─ lib/ratio.ex:194:34128129 warning: <|> is deprecated. Use another pipe-like operator130 │131 199 │ def numerator <|> (denominator = %Decimal{}) when is_integer(numerator) do132 │ ~133 │134 └─ lib/ratio.ex:199:19135136 warning: <|> is deprecated. Use another pipe-like operator137 │138 204 │ def numerator <|> denominator do139 │ ~140 │141 └─ lib/ratio.ex:204:17142143 warning: <|> is deprecated. Use another pipe-like operator144 │145 237 │ Ratio.DecimalConversion.decimal_to_rational(numerator) <|>146 │ ~147 │148 └─ lib/ratio.ex:237:62149150 warning: <|> is deprecated. Use another pipe-like operator151 │152 242 │ numerator <|> Ratio.DecimalConversion.decimal_to_rational(denominator)153 │ ~154 │155 └─ lib/ratio.ex:242:17156157 warning: <|> is deprecated. Use another pipe-like operator158 │159 247 │ numerator <|> denominator160 │ ~161 │162 └─ lib/ratio.ex:247:15163164 warning: <|> is deprecated. Use another pipe-like operator165 │166 261 │ do: Kernel.abs(numerator) <|> denominator167 │ ~168 │169 └─ lib/ratio.ex:261:31170171 warning: <|> is deprecated. Use another pipe-like operator172 │173 310 │ do: Kernel.+(a * lcm, b) <|> lcm174 │ ~175 │176 └─ lib/ratio.ex:310:30177178 warning: <|> is deprecated. Use another pipe-like operator179 │180 313 │ do: Kernel.+(b * lcm, a) <|> lcm181 │ ~182 │183 └─ lib/ratio.ex:313:30184185 warning: <|> is deprecated. Use another pipe-like operator186 │187 316 │ Kernel.+(a, c) <|> lcm188 │ ~189 │190 └─ lib/ratio.ex:316:20191192 warning: <|> is deprecated. Use another pipe-like operator193 │194 320 │ Kernel.+(a * d, c * b) <|> (b * d)195 │ ~196 │197 └─ lib/ratio.ex:320:28198199 warning: <|> is deprecated. Use another pipe-like operator200 │201 423 │ Kernel.*(numerator, number) <|> denominator202 │ ~203 │204 └─ lib/ratio.ex:423:33205206 warning: <|> is deprecated. Use another pipe-like operator207 │208 428 │ Kernel.*(numerator, number) <|> denominator209 │ ~210 │211 └─ lib/ratio.ex:428:33212213 warning: <|> is deprecated. Use another pipe-like operator214 │215 435 │ Kernel.*(numerator1, numerator2) <|> Kernel.*(denominator1, denominator2)216 │ ~217 │218 └─ lib/ratio.ex:435:38219220 warning: <|> is deprecated. Use another pipe-like operator221 │222 467 │ def div(a, b) when is_number(a) and is_integer(b), do: a <|> b223 │ ~224 │225 └─ lib/ratio.ex:467:60226227 warning: <|> is deprecated. Use another pipe-like operator228 │229 474 │ numerator <|> Kernel.*(denominator, number)230 │ ~231 │232 └─ lib/ratio.ex:474:15233234 warning: <|> is deprecated. Use another pipe-like operator235 │236 480 │ mult(number, denominator <|> numerator)237 │ ~238 │239 └─ lib/ratio.ex:480:30240241 warning: <|> is deprecated. Use another pipe-like operator242 │243 487 │ Kernel.*(numerator1, denominator2) <|> Kernel.*(denominator1, numerator2)244 │ ~245 │246 └─ lib/ratio.ex:487:40247248 warning: <|> is deprecated. Use another pipe-like operator249 │250 507 │ def a / b when is_number(a) and is_integer(b), do: a <|> b251 │ ~252 │253 └─ lib/ratio.ex:507:56254255 warning: <|> is deprecated. Use another pipe-like operator256 │257 852 │ if numerator <|> denominator == floor do258 │ ~259 │260 └─ lib/ratio.ex:852:18261262 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead263 │264 133 │ Passed floats are rounded to `#{Application.get_env(:ratio, :max_float_to_rational_digits)}` digits, to make the result match expectations better.265 │ ~266 │267 └─ lib/ratio.ex:133:47: Ratio (module)268269 warning: <|> is deprecated. Use another pipe-like operator270 │271 55 │ (integer * numerator + decimal) <|> numerator272 │ ~273 │274 └─ lib/ratio/float_conversion.ex:55:37275276 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead277 │278 4 │ @max_decimals Application.get_env(:ratio, :max_float_to_rational_digits)279 │ ~280 │281 └─ lib/ratio/float_conversion.ex:4:29: Ratio.FloatConversion (module)282283 warning: Ratio.DecimalConversion.decimal_to_rational/1 is undefined (module Ratio.DecimalConversion is not available or is yet to be defined)284 │285 17 │ {ratio, Ratio.DecimalConversion.decimal_to_rational(decimal)}286 │ ~287 │288 └─ lib/ratio/coerce.ex:17:37: Coerce.Implementations.Ratio.Decimal.coerce/2289290Generated ratio app291==> nerves_compatibility_test292===> Fetching pc v1.15.0293===> Analyzing applications...294===> Compiling pc295===> Analyzing applications...296===> Compiling p1_utils297 ┌─ src/p1_server.erl:298 │299 198 │ case catch gen:call(Name, '$gen_call', Request) of300 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.301Compile directive 'nowarn_deprecated_catch' can be used to suppress302warnings in selected modules.303304 ┌─ src/p1_server.erl:305 │306 206 │ case catch gen:call(Name, '$gen_call', Request, Timeout) of307 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.308Compile directive 'nowarn_deprecated_catch' can be used to suppress309warnings in selected modules.310311 ┌─ src/p1_server.erl:312 │313 217 │ catch global:send(Name, cast_msg(Request)),314 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.315Compile directive 'nowarn_deprecated_catch' can be used to suppress316warnings in selected modules.317318 ┌─ src/p1_server.erl:319 │320 220 │ catch Mod:send(Name, cast_msg(Request)),321 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.322Compile directive 'nowarn_deprecated_catch' can be used to suppress323warnings in selected modules.324325 ┌─ src/p1_server.erl:326 │327 239 │ catch To ! {Tag, Reply}.328 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.329Compile directive 'nowarn_deprecated_catch' can be used to suppress330warnings in selected modules.331332 ┌─ src/p1_server.erl:333 │334 333 │ case catch Mod:init(Args) of335 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.336Compile directive 'nowarn_deprecated_catch' can be used to suppress337warnings in selected modules.338339 ┌─ src/p1_server.erl:340 │341 372 │ _ = (catch unregister(Name));342 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.343Compile directive 'nowarn_deprecated_catch' can be used to suppress344warnings in selected modules.345346 ┌─ src/p1_server.erl:347 │348 484 │ case catch erlang:send(Dest, Msg, [noconnect]) of349 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.350Compile directive 'nowarn_deprecated_catch' can be used to suppress351warnings in selected modules.352353 ┌─ src/p1_server.erl:354 │355 537 │ catch {Name, Node} ! {'$gen_call', {self(), {Tag, Node}}, Req},356 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.357Compile directive 'nowarn_deprecated_catch' can be used to suppress358warnings in selected modules.359360 ┌─ src/p1_server.erl:361 │362 597 │ case catch erlang:cancel_timer(TimerId) of363 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.364Compile directive 'nowarn_deprecated_catch' can be used to suppress365warnings in selected modules.366367 ┌─ src/p1_server.erl:368 │369 650 │ case catch erlang:monitor(process, {Name, Node}) of370 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.371Compile directive 'nowarn_deprecated_catch' can be used to suppress372warnings in selected modules.373374 ┌─ src/p1_server.erl:375 │376 671 │ case catch Mod:handle_call(Msg, From, State) of377 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.378Compile directive 'nowarn_deprecated_catch' can be used to suppress379warnings in selected modules.380381 ┌─ src/p1_server.erl:382 │383 688 │ (catch terminate(Reason, Name, Msg, Mod, NState, [], Queue)),384 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.385Compile directive 'nowarn_deprecated_catch' can be used to suppress386warnings in selected modules.387388 ┌─ src/p1_server.erl:389 │390 696 │ Reply = (catch dispatch(Msg, Mod, State)),391 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.392Compile directive 'nowarn_deprecated_catch' can be used to suppress393warnings in selected modules.394395 ┌─ src/p1_server.erl:396 │397 702 │ case catch Mod:handle_call(Msg, From, State) of398 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.399Compile directive 'nowarn_deprecated_catch' can be used to suppress400warnings in selected modules.401402 ┌─ src/p1_server.erl:403 │404 723 │ (catch terminate(Reason, Name, Msg, Mod, NState, Debug, Queue)),405 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.406Compile directive 'nowarn_deprecated_catch' can be used to suppress407warnings in selected modules.408409 ┌─ src/p1_server.erl:410 │411 732 │ Reply = (catch dispatch(Msg, Mod, State)),412 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.413Compile directive 'nowarn_deprecated_catch' can be used to suppress414warnings in selected modules.415416 ┌─ src/p1_server.erl:417 │418 798 │ case catch Mod:code_change(OldVsn, State, Extra) of419 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.420Compile directive 'nowarn_deprecated_catch' can be used to suppress421warnings in selected modules.422423 ┌─ src/p1_server.erl:424 │425 847 │ case catch Mod:terminate(Reason, State) of426 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.427Compile directive 'nowarn_deprecated_catch' can be used to suppress428warnings in selected modules.429430 ┌─ src/p1_server.erl:431 │432 870 │ case catch Mod:format_status(terminate, Args) of433 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.434Compile directive 'nowarn_deprecated_catch' can be used to suppress435warnings in selected modules.436437 ┌─ src/p1_server.erl:438 │439 906 │ true -> (catch Mod:print_state(State));440 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.441Compile directive 'nowarn_deprecated_catch' can be used to suppress442warnings in selected modules.443444 ┌─ src/p1_server.erl:445 │446 935 │ case catch sys:debug_options(Opts) of447 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.448Compile directive 'nowarn_deprecated_catch' can be used to suppress449warnings in selected modules.450451 ┌─ src/p1_server.erl:452 │453 1010 │ case catch Mod:format_status(Opt, [PDict, State]) of454 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.455Compile directive 'nowarn_deprecated_catch' can be used to suppress456warnings in selected modules.457458459 ┌─ src/p1_options.erl:460 │461 110 │ catch ets:new(Tab, [named_table, public, {read_concurrency, true}]),462 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.463Compile directive 'nowarn_deprecated_catch' can be used to suppress464warnings in selected modules.465466467 ┌─ src/p1_file_queue.erl:468 │469 227 │ crypto:start(),470 │ ╰── Warning: crypto:start/0 is deprecated; use application:start(crypto) instead471472473 ┌─ src/p1_prof.erl:474 │475 280 │ case catch process_info(476 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.477Compile directive 'nowarn_deprecated_catch' can be used to suppress478warnings in selected modules.479480481 ┌─ src/p1_fsm.erl:482 │483 219 │ catch global:send(Name, {'$gen_event', Event}),484 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.485Compile directive 'nowarn_deprecated_catch' can be used to suppress486warnings in selected modules.487488 ┌─ src/p1_fsm.erl:489 │490 226 │ case catch gen:call(Name, '$gen_sync_event', Event) of491 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.492Compile directive 'nowarn_deprecated_catch' can be used to suppress493warnings in selected modules.494495 ┌─ src/p1_fsm.erl:496 │497 234 │ case catch gen:call(Name, '$gen_sync_event', Event, Timeout) of498 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.499Compile directive 'nowarn_deprecated_catch' can be used to suppress500warnings in selected modules.501502 ┌─ src/p1_fsm.erl:503 │504 242 │ catch global:send(Name, {'$gen_all_state_event', Event}),505 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.506Compile directive 'nowarn_deprecated_catch' can be used to suppress507warnings in selected modules.508509 ┌─ src/p1_fsm.erl:510 │511 249 │ case catch gen:call(Name, '$gen_sync_all_state_event', Event) of512 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.513Compile directive 'nowarn_deprecated_catch' can be used to suppress514warnings in selected modules.515516 ┌─ src/p1_fsm.erl:517 │518 257 │ case catch gen:call(Name, '$gen_sync_all_state_event', Event, Timeout) of519 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.520Compile directive 'nowarn_deprecated_catch' can be used to suppress521warnings in selected modules.522523 ┌─ src/p1_fsm.erl:524 │525 377 │ case catch Mod:init(Args) of526 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.527Compile directive 'nowarn_deprecated_catch' can be used to suppress528warnings in selected modules.529530 ┌─ src/p1_fsm.erl:531 │532 520 │ case catch Mod:code_change(OldVsn, StateName, StateData, Extra) of533 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.534Compile directive 'nowarn_deprecated_catch' can be used to suppress535warnings in selected modules.536537 ┌─ src/p1_fsm.erl:538 │539 582 │ case catch dispatch(Msg, Mod, StateName, StateData) of540 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.541Compile directive 'nowarn_deprecated_catch' can be used to suppress542warnings in selected modules.543544 ┌─ src/p1_fsm.erl:545 │546 606 │ Reason = case catch rpc_call(Node, M, F, A, RPCTimeout) of547 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.548Compile directive 'nowarn_deprecated_catch' can be used to suppress549warnings in selected modules.550551 ┌─ src/p1_fsm.erl:552 │553 627 │ {'EXIT', R} = (catch terminate(Reason, Name, Msg, Mod,554 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.555Compile directive 'nowarn_deprecated_catch' can be used to suppress556warnings in selected modules.557558 ┌─ src/p1_fsm.erl:559 │560 641 │ case catch dispatch(Msg, Mod, StateName, StateData) of561 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.562Compile directive 'nowarn_deprecated_catch' can be used to suppress563warnings in selected modules.564565 ┌─ src/p1_fsm.erl:566 │567 669 │ Reason = case catch rpc_call(Node, M, F, A, RPCTimeout) of568 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.569Compile directive 'nowarn_deprecated_catch' can be used to suppress570warnings in selected modules.571572 ┌─ src/p1_fsm.erl:573 │574 691 │ {'EXIT', R} = (catch terminate(Reason, Name, Msg, Mod,575 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.576Compile directive 'nowarn_deprecated_catch' can be used to suppress577warnings in selected modules.578579 ┌─ src/p1_fsm.erl:580 │581 725 │ catch To ! {Tag, Reply}.582 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.583Compile directive 'nowarn_deprecated_catch' can be used to suppress584warnings in selected modules.585586 ┌─ src/p1_fsm.erl:587 │588 740 │ case catch Mod:terminate(Reason, StateName, StateData) of589 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.590Compile directive 'nowarn_deprecated_catch' can be used to suppress591warnings in selected modules.592593 ┌─ src/p1_fsm.erl:594 │595 783 │ true -> (catch Mod:print_state(StateData));596 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.597Compile directive 'nowarn_deprecated_catch' can be used to suppress598warnings in selected modules.599600 ┌─ src/p1_fsm.erl:601 │602 835 │ case catch Mod:format_status(Opt,[PDict,StateData]) of603 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.604Compile directive 'nowarn_deprecated_catch' can be used to suppress605warnings in selected modules.606607 ┌─ src/p1_fsm.erl:608 │609 889 │ case catch apply(Mod, Fun, Args) of610 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.611Compile directive 'nowarn_deprecated_catch' can be used to suppress612warnings in selected modules.613614 ┌─ src/p1_fsm.erl:615 │616 906 │ catch exit(Pid, kill),617 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.618Compile directive 'nowarn_deprecated_catch' can be used to suppress619warnings in selected modules.620621622==> ring_logger623Compiling 7 files (.ex)624Generated ring_logger app625==> dns626Compiling 7 files (.ex)627Generated dns app628==> mdns629Compiling 6 files (.ex)630 warning: unused require Logger631 │632 3 │ require Logger633 │ ~634 │635 └─ lib/mdns.ex:3:3636637 warning: unused require Logger638 │639 3 │ require Logger640 │ ~641 │642 └─ lib/mdns/server.ex:3:3643644 warning: a struct for Mdns.Server.State is expected on struct update:645646 %Mdns.Server.State{state | udp: udp}647648 but got type:649650 dynamic()651652 where "state" was given the type:653654 # type: dynamic()655 # from: lib/mdns/server.ex:53:42656 state657658 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"659660 type warning found at:661 │662 67 │ {:reply, :ok, %State{state | udp: udp}}663 │ ~664 │665 └─ lib/mdns/server.ex:67:19: Mdns.Server.handle_call/3666667 warning: a struct for Mdns.Server.State is expected on struct update:668669 %Mdns.Server.State{state | ip: ip}670671 but got type:672673 dynamic()674675 where "state" was given the type:676677 # type: dynamic()678 # from: lib/mdns/server.ex:77:37679 state680681 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"682683 type warning found at:684 │685 78 │ {:reply, :ok, %State{state | ip: ip}}686 │ ~687 │688 └─ lib/mdns/server.ex:78:19: Mdns.Server.handle_call/3689690 warning: a struct for Mdns.Server.State is expected on struct update:691692 %Mdns.Server.State{state | services: Enum.uniq([service | state.services])}693694 but got type:695696 dynamic()697698 where "state" was given the type:699700 # type: dynamic()701 # from: lib/mdns/server.ex:81:51702 state703704 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"705706 type warning found at:707 │708 82 │ {:reply, :ok, %State{state | :services => Enum.uniq([service | state.services])}}709 │ ~710 │711 └─ lib/mdns/server.ex:82:19: Mdns.Server.handle_call/3712713 warning: a struct for Mdns.Client.State is expected on struct update:714715 %Mdns.Client.State{state | udp: udp}716717 but got type:718719 dynamic()720721 where "state" was given the type:722723 # type: dynamic()724 # from: lib/mdns/client.ex:50:46725 state726727 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"728729 type warning found at:730 │731 71 │ {:reply, :ok, %State{state | udp: udp}}732 │ ~733 │734 └─ lib/mdns/client.ex:71:19: Mdns.Client.handle_call/3735736 warning: a struct for Mdns.Client.State is expected on struct update:737738 %Mdns.Client.State{state | queries: Enum.uniq([namespace | state.queries])}739740 but got type:741742 dynamic(%{..., udp: term()})743744 where "state" was given the type:745746 # type: dynamic(%{..., udp: term()})747 # from: lib/mdns/client.ex:94:14748 :gen_udp.send(749 state.udp,750 Mdns.Utilities.Network.mdns_group(),751 Mdns.Utilities.Network.mdns_port(),752 p753 )754755 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"756757 type warning found at:758 │759 95 │ {:noreply, %State{state | :queries => Enum.uniq([namespace | state.queries])}}760 │ ~761 │762 └─ lib/mdns/client.ex:95:16: Mdns.Client.handle_cast/2763764 warning: a struct for Mdns.Client.State is expected on struct update:765766 %Mdns.Client.State{state | devices: devices}767768 but got type:769770 dynamic(%{..., devices: map(), queries: term()})771772 where "state" was given the types:773774 # type: dynamic(%{..., devices: map()})775 # from: lib/mdns/client.ex:113:14776 get_device(ip, record, state)777778 # type: dynamic(%{..., devices: map(), queries: term()})779 # from: lib/mdns/client.ex:116:12780 Enum.reduce(state.queries, %{other: []}, fn query, acc ->781 cond do782 ...783 end784 end)785786 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"787788 type warning found at:789 │790 129 │ %State{state | :devices => devices}791 │ ~792 │793 └─ lib/mdns/client.ex:129:5: Mdns.Client.handle_response/3794795 warning: a struct for Mdns.Client.Device is expected on struct update:796797 %Mdns.Client.Device{798 device799 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)800 }801802 but got type:803804 dynamic()805806 where "device" was given the type:807808 # type: dynamic()809 # from: lib/mdns/client.ex:132:60810 device811812 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"813814 type warning found at:815 │816 133 │ %Device{817 │ ~818 │819 └─ lib/mdns/client.ex:133:5: Mdns.Client.handle_device/2820821 warning: a struct for Mdns.Client.Device is expected on struct update:822823 %Mdns.Client.Device{device | domain: to_string(record.domain)}824825 but got type:826827 dynamic()828829 where "device" was given the type:830831 # type: dynamic()832 # from: lib/mdns/client.ex:140:58833 device834835 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"836837 type warning found at:838 │839 141 │ %Device{device | :domain => to_string(record.domain)}840 │ ~841 │842 └─ lib/mdns/client.ex:141:5: Mdns.Client.handle_device/2843844 warning: a struct for Mdns.Client.Device is expected on struct update:845846 %Mdns.Client.Device{847 device848 | payload:849 Enum.reduce(data, %{}, fn kv, acc ->850 case String.split(to_string(kv), "=", parts: 2) do851 ...852 end853 end)854 }855856 but got type:857858 dynamic()859860 where "device" was given the type:861862 # type: dynamic()863 # from: lib/mdns/client.ex:144:63864 device865866 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"867868 type warning found at:869 │870 145 │ %Device{871 │ ~872 │873 └─ lib/mdns/client.ex:145:5: Mdns.Client.handle_device/2874875 warning: a struct for Mdns.Client.Device is expected on struct update:876877 %Mdns.Client.Device{device | port: port}878879 but got type:880881 dynamic()882883 where "device" was given the type:884885 # type: dynamic()886 # from: lib/mdns/client.ex:157:94887 device888889 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"890891 type warning found at:892 │893 158 │ %Device{894 │ ~895 │896 └─ lib/mdns/client.ex:158:5: Mdns.Client.handle_device/2897898 warning: a struct for Mdns.Client.Device is expected on struct update:899900 %Mdns.Client.Device{901 device902 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)903 }904905 but got type:906907 dynamic()908909 where "device" was given the type:910911 # type: dynamic()912 # from: lib/mdns/client.ex:164:58913 device914915 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"916917 type warning found at:918 │919 165 │ %Device{920 │ ~921 │922 └─ lib/mdns/client.ex:165:5: Mdns.Client.handle_device/2923924Generated mdns app925==> nerves_compatibility_test926===> Analyzing applications...927===> Compiling telemetry928==> secure_random929Compiling 1 file (.ex)930 warning: use Bitwise is deprecated. import Bitwise instead931 │932 2 │ use Bitwise933 │ ~~~~~~~~~~~934 │935 └─ lib/secure_random.ex:2: SecureRandom (module)936937Generated secure_random app938==> uboot_env939Compiling 5 files (.ex)940Generated uboot_env app941==> qex942Compiling 4 files (.ex)943warning: x..y inside match is deprecated, you must always match on the step: x..y//var or x..y//_ if you want to ignore it944 lib/qex.ex:45: Qex.new/1945946Generated qex app947==> membrane_core948Compiling 137 files (.ex)949 warning: unused require Record950 │951 38 │ require Record952 │ ~953 │954 └─ lib/membrane/caps/matcher.ex:38:3955956 warning: unused require Membrane.Core.Child.PadModel957 │958 9 │ require PadModel959 │ ~960 │961 └─ lib/membrane/core/child/lifecycle_controller.ex:9:3962963 warning: unused require Membrane.Core.Message964 │965 8 │ require Message966 │ ~967 │968 └─ lib/membrane/core/child/lifecycle_controller.ex:8:3969970 warning: unused require Membrane.Pad971 │972 6 │ require Membrane.Pad973 │ ~974 │975 └─ lib/membrane/core/telemetry.ex:6:3976977 warning: unused require Membrane.Logger978 │979 12 │ require Membrane.Logger980 │ ~981 │982 └─ lib/membrane/core/pipeline.ex:12:3983984 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead985 │986 197 │ |> Membrane.Logger.warn()987 │ ~~~~~~~~~~~~~~~~~~~~~~~~~988 │989 └─ lib/membrane/core/input_buffer.ex:197: Membrane.Core.InputBuffer.store/3990991 warning: unused require Membrane.Core.Message992 │993 16 │ require Membrane.Core.Message994 │ ~995 │996 └─ lib/membrane/core/input_buffer.ex:16:3997998 warning: unused require Membrane.Core.Child.PadModel999 │1000 14 │ require Membrane.Core.Child.PadModel1001 │ ~1002 │1003 └─ lib/membrane/core/element/event_controller.ex:14:310041005 warning: unused require Membrane.Core.Message1006 │1007 15 │ require Membrane.Core.Message1008 │ ~1009 │1010 └─ lib/membrane/core/element/event_controller.ex:15:310111012 warning: unused require Membrane.Core.Message1013 │1014 9 │ require Message1015 │ ~1016 │1017 └─ lib/membrane/core/bin/linking_buffer.ex:9:310181019 warning: unused require Membrane.Pad1020 │1021 16 │ require Membrane.Pad1022 │ ~1023 │1024 └─ lib/membrane/core/element/state.ex:16:310251026 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1027 │1028 93 │ Membrane.Logger.warn("""1029 │ ~~~~~~~~~~~~~~~~~~~~~~~~1030 │1031 └─ lib/membrane/core/child/pad_controller.ex:93: Membrane.Core.Child.PadController.handle_linking_finished/110321033 warning: unused require Membrane.Core.Message1034 │1035 13 │ require Membrane.Core.Message1036 │ ~1037 │1038 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:13:310391040 warning: unused require Membrane.Core.Child.PadModel1041 │1042 15 │ require Membrane.Core.Child.PadModel1043 │ ~1044 │1045 └─ lib/membrane/core/element/buffer_controller.ex:15:310461047 warning: unused require Membrane.Core.Child.PadModel1048 │1049 16 │ require Membrane.Core.Child.PadModel1050 │ ~1051 │1052 └─ lib/membrane/core/child/pad_controller.ex:16:310531054 warning: unused require Membrane.Core.Message1055 │1056 18 │ require Membrane.Core.Message1057 │ ~1058 │1059 └─ lib/membrane/core/child/pad_controller.ex:18:310601061 warning: unused require Membrane.Pad1062 │1063 12 │ require Membrane.Pad1064 │ ~1065 │1066 └─ lib/membrane/core/child/pad_spec_handler.ex:12:310671068 warning: unused require Membrane.Core.Child.PadModel1069 │1070 15 │ require Membrane.Core.Child.PadModel1071 │ ~1072 │1073 └─ lib/membrane/core/element/demand_controller.ex:15:310741075 warning: unused require Membrane.Core.Message1076 │1077 20 │ require Membrane.Core.Message1078 │ ~1079 │1080 └─ lib/membrane/bin.ex:20:310811082 warning: unused require Membrane.Logger1083 │1084 21 │ require Membrane.Logger1085 │ ~1086 │1087 └─ lib/membrane/bin.ex:21:310881089 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1090 │1091 106 │ Membrane.Logger.warn("""1092 │ ~~~~~~~~~~~~~~~~~~~~~~~~1093 │1094 └─ lib/membrane/core/parent/child_life_controller.ex:106: Membrane.Core.Parent.ChildLifeController.handle_remove_child/210951096 warning: unused require Membrane.Core.Child.PadModel1097 │1098 21 │ require Membrane.Core.Child.PadModel1099 │ ~1100 │1101 └─ lib/membrane/core/element/demand_handler.ex:21:311021103 warning: unused require Membrane.Core.Message1104 │1105 22 │ require Membrane.Core.Message1106 │ ~1107 │1108 └─ lib/membrane/core/element/demand_handler.ex:22:311091110 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1111 │1112 14 │ Membrane.Logger.warn("""1113 │ ~~~~~~~~~~~~~~~~~~~~~~~~1114 │1115 └─ lib/membrane/core/pipeline/action_handler.ex:14: Membrane.Core.Pipeline.ActionHandler.handle_actions/411161117 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1118 │1119 50 │ Membrane.Logger.warn("""1120 │ ~~~~~~~~~~~~~~~~~~~~~~~~1121 │1122 └─ lib/membrane/core/pipeline/action_handler.ex:50: Membrane.Core.Pipeline.ActionHandler.do_handle_action/411231124 warning: unused require Membrane.Core.Message1125 │1126 10 │ require Message1127 │ ~1128 │1129 └─ lib/membrane/core/bin/action_handler.ex:10:311301131 warning: unused require Membrane.Core.Child.PadModel1132 │1133 19 │ require Membrane.Core.Child.PadModel1134 │ ~1135 │1136 └─ lib/membrane/core/element/action_handler.ex:19:311371138 warning: unused require Membrane.Core.Message1139 │1140 20 │ require Membrane.Core.Message1141 │ ~1142 │1143 └─ lib/membrane/core/element/action_handler.ex:20:311441145 warning: the variable "at_pos" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1146 │1147 100 │ <<part1::binary-size(at_pos), part2::binary>> = payload1148 │ ~1149 │1150 └─ lib/membrane/payload.ex:100:26: Membrane.Payload.BitString.split_at/211511152 warning: the variable "bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator1153 │1154 113 │ <<_dropped::binary-size(bytes), rest::binary>> = payload1155 │ ~1156 │1157 └─ lib/membrane/payload.ex:113:29: Membrane.Payload.BitString.drop/211581159 warning: unused require Membrane.Core.Message1160 │1161 10 │ require Membrane.Core.Message1162 │ ~1163 │1164 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:10:311651166 warning: unused require Membrane.Bin1167 │1168 19 │ require Membrane.Bin1169 │ ~1170 │1171 └─ lib/membrane/core/parent/child_life_controller.ex:19:311721173 warning: unused require Membrane.Element1174 │1175 20 │ require Membrane.Element1176 │ ~1177 │1178 └─ lib/membrane/core/parent/child_life_controller.ex:20:311791180 warning: unused require Membrane.Core.Message1181 │1182 16 │ require Message1183 │ ~1184 │1185 └─ lib/membrane/core/playback_handler.ex:16:311861187 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1188 │1189 86 │ Membrane.Logger.warn("""1190 │ ~~~~~~~~~~~~~~~~~~~~~~~~1191 │1192 └─ lib/membrane/core/element/lifecycle_controller.ex:86: Membrane.Core.Element.LifecycleController.handle_shutdown/211931194 warning: unused alias Message1195 │1196 11 │ alias Membrane.Core.{CallbackHandler, Message}1197 │ ~1198 │1199 └─ lib/membrane/core/element/lifecycle_controller.ex:11:312001201 warning: unused require Membrane.Core.Child.PadModel1202 │1203 16 │ require Membrane.Core.Child.PadModel1204 │ ~1205 │1206 └─ lib/membrane/core/element/lifecycle_controller.ex:16:312071208 warning: unused require Membrane.Core.Message1209 │1210 17 │ require Membrane.Core.Message1211 │ ~1212 │1213 └─ lib/membrane/core/element/lifecycle_controller.ex:17:312141215 warning: unused require Membrane.Core.Playback1216 │1217 18 │ require Membrane.Core.Playback1218 │ ~1219 │1220 └─ lib/membrane/core/element/lifecycle_controller.ex:18:312211222 warning: unused require Membrane.Core.Message1223 │1224 13 │ require Membrane.Core.Message1225 │ ~1226 │1227 └─ lib/membrane/core/parent/lifecycle_controller.ex:13:312281229 warning: unused require Membrane.PlaybackState1230 │1231 15 │ require Membrane.PlaybackState1232 │ ~1233 │1234 └─ lib/membrane/core/parent/lifecycle_controller.ex:15:312351236 warning: expected a map or struct when accessing .membrane_element_type in expression:12371238 &1.module.membrane_element_type12391240 but got type:12411242 dynamic(atom())12431244 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()12451246 type warning found at:1247 │1248 37 │ &(Membrane.Element.element?(&1.module) and &1.module.membrane_element_type == :sink)1249 │ ~1250 │1251 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:37:62: Membrane.Core.Parent.ChildLifeController.StartupHandler.setup_syncs/212521253 warning: a struct for Membrane.Core.Element.State is expected on struct update:12541255 %Membrane.Core.Element.State{state | supplying_demand?: true}12561257 but got type:12581259 dynamic()12601261 where "state" was given the type:12621263 # type: dynamic()1264 # from: lib/membrane/core/element/demand_handler.ex:148:341265 state12661267 when defining the variable "state", you must also pattern match on "%Membrane.Core.Element.State{}"12681269 type warning found at:1270 │1271 150 │ state = %State{state | supplying_demand?: true}1272 │ ~1273 │1274 └─ lib/membrane/core/element/demand_handler.ex:150:13: Membrane.Core.Element.DemandHandler.do_supply_demand/212751276 warning: the following clause will never match:12771278 {:error, reason} ->12791280 it is expected to match on type:12811282 none()12831284 type warning found at:1285 │1286 66 │ {:error, reason} -> raise LinkError, "#{inspect(reason)}"1287 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1288 │1289 └─ lib/membrane/core/child/pad_controller.ex:66: Membrane.Core.Child.PadController.handle_link/512901291 warning: a struct for Membrane.Core.Parent.Link is expected on struct update:12921293 %Membrane.Core.Parent.Link{1294 &11295 | from: resolve_endpoint(&1.from, state),1296 to: resolve_endpoint(&1.to, state)1297 }12981299 but got type:13001301 dynamic()13021303 instead of using &1, you must define an anonymous function, define a variable and pattern match on "%Membrane.Core.Parent.Link{}"13041305 type warning found at:1306 │1307 22 │ &%Link{&1 | from: resolve_endpoint(&1.from, state), to: resolve_endpoint(&1.to, state)}1308 │ ~1309 │1310 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:22:8: Membrane.Core.Parent.ChildLifeController.LinkHandler.resolve_links/213111312 warning: the following clause will never match:13131314 {{:error, reason}, state} ->13151316 it is expected to match on type:13171318 none()13191320 type warning found at:1321 │1322 68 │ try: {{:error, reason}, state} ->1323 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1324 │1325 └─ lib/membrane/core/element/event_controller.ex:68: Membrane.Core.Element.EventController.exec_handle_event/413261327 warning: a struct for Membrane.Core.InputBuffer is expected on struct update:13281329 %Membrane.Core.InputBuffer{buf | toilet?: true}13301331 but got type:13321333 dynamic()13341335 where "buf" was given the type:13361337 # type: dynamic()1338 # from: lib/membrane/core/input_buffer.ex:115:211339 buf13401341 when defining the variable "buf", you must also pattern match on "%Membrane.Core.InputBuffer{}"13421343 type warning found at:1344 │1345 115 │ def enable_toilet(buf), do: %__MODULE__{buf | toilet?: true}1346 │ ~1347 │1348 └─ lib/membrane/core/input_buffer.ex:115:31: Membrane.Core.InputBuffer.enable_toilet/113491350 warning: the following conditional expression:13511352 is_function(message, 0)13531354 will always evaluate to:13551356 dynamic(false)13571358 where "message" (context Membrane.Logger) was given the type:13591360 # type: dynamic(non_empty_list(term()))1361 # from: lib/membrane/core/input_buffer.ex:1971362 message =1363 mk_log(1364 <<"Reached buffers of size ", inspect(size)::binary,1365 ", which is above warn level, from output working in push mode. See `Membrane.Core.InputBuffer` for more information.">>,1366 input_buf1367 )13681369 type warning found at:1370 │1371 197 │ |> Membrane.Logger.warn()1372 │ ~~~~~~~~~~~~~~~~~~~~~~~~~1373 │1374 └─ lib/membrane/core/input_buffer.ex:197: Membrane.Core.InputBuffer.store/313751376 warning: expected a map or struct when accessing .input_buf_preferred_size in expression:13771378 metric.input_buf_preferred_size13791380 where "metric" was given the type:13811382 # type: dynamic(Membrane.Buffer.Metric.ByteSize or Membrane.Buffer.Metric.Count)1383 # from: lib/membrane/core/input_buffer.ex:94:121384 metric = Membrane.Buffer.Metric.from_unit(demand_unit)13851386 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()13871388 type warning found at:1389 │1390 95 │ preferred_size = props[:preferred_size] || metric.input_buf_preferred_size1391 │ ~1392 │1393 └─ lib/membrane/core/input_buffer.ex:95:55: Membrane.Core.InputBuffer.init/513941395 warning: a struct for Membrane.Core.Timer is expected on struct update:13961397 %Membrane.Core.Timer{timer | ratio: ratio}13981399 but got type:14001401 dynamic()14021403 where "timer" was given the type:14041405 # type: dynamic()1406 # from: lib/membrane/core/timer.ex:37:201407 timer14081409 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"14101411 type warning found at:1412 │1413 38 │ %__MODULE__{timer | ratio: ratio}1414 │ ~1415 │1416 └─ lib/membrane/core/timer.ex:38:5: Membrane.Core.Timer.update_ratio/214171418 warning: a struct for Membrane.Core.Timer is expected on struct update:14191420 %Membrane.Core.Timer{timer | interval: interval}14211422 but got type:14231424 dynamic(not %Membrane.Core.Timer{interval: :no_interval})14251426 where "timer" was given the type:14271428 # type: dynamic(not %Membrane.Core.Timer{interval: :no_interval})1429 # from: lib/membrane/core/timer.ex:68:201430 timer14311432 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"14331434 type warning found at:1435 │1436 69 │ %__MODULE__{timer | interval: interval}1437 │ ~1438 │1439 └─ lib/membrane/core/timer.ex:69:5: Membrane.Core.Timer.set_interval/214401441Generated membrane_core app1442==> membrane_funnel_plugin1443Compiling 2 files (.ex)1444Generated membrane_funnel_plugin app1445==> bundlex1446Compiling 31 files (.ex)1447 warning: using single-quoted strings to represent charlists is deprecated.1448 Use ~c"" if you indeed want a charlist or use "" instead.1449 You may run "mix format --migrate" to change all single-quoted1450 strings to use the ~c sigil and fix this warning.1451 │1452 22 │ env: [{'BUNDLEX_ERLANG_COOKIE', cookie}]1453 │ ~1454 │1455 └─ lib/bundlex/cnode/server.ex:22:1614561457 warning: using single-quoted strings to represent charlists is deprecated.1458 Use ~c"" if you indeed want a charlist or use "" instead.1459 You may run "mix format --migrate" to change all single-quoted1460 strings to use the ~c sigil and fix this warning.1461 │1462 42 │ {port, {:data, {:eol, 'ready'}}},1463 │ ~1464 │1465 └─ lib/bundlex/cnode/server.ex:42:3114661467 warning: using single-quoted strings to represent charlists is deprecated.1468 Use ~c"" if you indeed want a charlist or use "" instead.1469 You may run "mix format --migrate" to change all single-quoted1470 strings to use the ~c sigil and fix this warning.1471 │1472 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')1473 │ ~1474 │1475 └─ lib/bundlex/platform.ex:48:4114761477 warning: using single-quoted strings to represent charlists is deprecated.1478 Use ~c"" if you indeed want a charlist or use "" instead.1479 You may run "mix format --migrate" to change all single-quoted1480 strings to use the ~c sigil and fix this warning.1481 │1482 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')1483 │ ~1484 │1485 └─ lib/bundlex/platform.ex:49:4514861487 warning: expected a map or struct when accessing .toolchain_module in expression:14881489 Bundlex.Platform.get_module(platform).toolchain_module14901491 but got type:14921493 dynamic(1494 Bundlex.Platform.Freebsd or Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or1495 Bundlex.Platform.Windows32 or Bundlex.Platform.Windows641496 )14971498 where "platform" was given the type:14991500 # type: dynamic(:freebsd or :linux or :macosx or :windows32 or :windows64)1501 # from: lib/tasks/compile.bundlex.ex:35:371502 Bundlex.Platform.get_module(platform)15031504 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15051506 type warning found at:1507 │1508 35 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)1509 │ ~1510 │1511 └─ lib/tasks/compile.bundlex.ex:35:58: Mix.Tasks.Compile.Bundlex.run/115121513 warning: a struct for Bundlex.Native is expected on struct update:15141515 %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}15161517 but got type:15181519 dynamic(%{..., sources: term()})15201521 where "native" was given the type:15221523 # type: dynamic(%{..., sources: term()})1524 # from: lib/bundlex/native.ex:124:511525 Enum.empty?(native.sources)15261527 when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"15281529 type warning found at:1530 │1531 127 │ %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}1532 │ ~1533 │1534 └─ lib/bundlex/native.ex:127:9: Bundlex.Native.parse_native/215351536 warning: expected a map or struct when accessing .toolchain_module in expression:15371538 Bundlex.Platform.get_module(platform).toolchain_module15391540 but got type:15411542 dynamic(1543 Bundlex.Platform.Freebsd or Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or1544 Bundlex.Platform.Windows32 or Bundlex.Platform.Windows641545 )15461547 where "platform" was given the type:15481549 # type: dynamic(:freebsd or :linux or :macosx or :windows32 or :windows64)1550 # from: lib/bundlex/native.ex:104:271551 Bundlex.Platform.get_module(platform)15521553 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15541555 type warning found at:1556 │1557 104 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)1558 │ ~1559 │1560 └─ lib/bundlex/native.ex:104:48: Bundlex.Native.resolve_native/415611562Generated bundlex app1563warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()1564 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:35: Mix.Tasks.Compile.Bundlex.run/11565 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51566 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21567 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41568 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/215691570==> bunch_native1571Bundlex: Building natives: lib, bunch1572warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()1573 (bundlex 0.5.1) lib/bundlex/native.ex:104: Bundlex.Native.resolve_native/41574 (bunch 1.3.2) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/31575 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:39: Mix.Tasks.Compile.Bundlex.run/11576 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51577 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/215781579Generated bunch_native app1580==> shmex1581Bundlex: Building natives: lib, shmex1582Compiling 2 files (.ex)1583Generated shmex app1584==> unifex1585Bundlex: Building natives: unifex1586Compiling 30 files (.ex)1587 warning: unused require Bundlex.CNode1588 │1589 6 │ require Bundlex.CNode1590 │ ~1591 │1592 └─ lib/unifex/cnode.ex:6:315931594Generated unifex app1595==> ex_dtls1596/usr/bin/sh: 1: clang-format: not found1597Bundlex: Building natives: native1598/work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.c: In function ‘gen_key’:1599/work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.c:123:3: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1600 123 | RSA *rsa = RSA_new();1601 | ^~~1602In file included from /work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.h:4,1603 from /work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.c:1:1604/usr/include/openssl/rsa.h:206:28: note: declared here1605 206 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);1606 | ^~~~~~~1607/work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.c:140:3: warning: ‘RSA_generate_key_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1608 140 | if (RSA_generate_key_ex(rsa, 2048, exp, NULL) == 0) {1609 | ^~1610/usr/include/openssl/rsa.h:265:27: note: declared here1611 265 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,1612 | ^~~~~~~~~~~~~~~~~~~1613/work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.c:145:3: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1614 145 | if (EVP_PKEY_assign_RSA(pkey, rsa) == 0) {1615 | ^~1616In file included from /usr/include/openssl/x509.h:29,1617 from /usr/include/openssl/ssl.h:31,1618 from /work/proj/deps/ex_dtls/c_src/ex_dtls/dtls.h:5:1619/usr/include/openssl/evp.h:1330:5: note: declared here1620 1330 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);1621 | ^~~~~~~~~~~~~~~1622Compiling 1 file (.ex)1623Generated ex_dtls app1624==> property_table1625Compiling 8 files (.ex)1626Generated property_table app1627==> nerves_uevent1628 CC uevent.o1629 LD uevent1630Not crosscompiling. To test locally, the port binary needs extra permissions.1631Set SUDO=sudo to set permissions. The default is to skip this step.1632SUDO_ASKPASS=/usr/bin/ssh-askpass1633SUDO=true1634Compiling 5 files (.ex)1635Generated nerves_uevent app1636==> nerves_runtime1637Compiling 14 files (.ex)1638Generated nerves_runtime app1639==> toolshed1640Compiling 5 files (.ex)1641Generated toolshed app1642==> nerves_compatibility_test1643===> Fetching pc v1.15.01644===> Analyzing applications...1645===> Compiling pc1646===> Compiling c_src/fast_tls.c1647===> Compiling c_src/ioqueue.c1648===> Compiling c_src/p1_sha.c1649===> Linking /work/proj/_build/host/lib/fast_tls/priv/lib/fast_tls.so1650===> Linking /work/proj/_build/host/lib/fast_tls/priv/lib/p1_sha.so1651===> Analyzing applications...1652===> Compiling fast_tls1653 ┌─ src/p1_sha.erl:1654 │1655 54 │ case catch erlang:load_nif(SOPath, 0) of1656 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1657Compile directive 'nowarn_deprecated_catch' can be used to suppress1658warnings in selected modules.165916601661 ┌─ src/fast_tls.erl:1662 │1663 295 │ case catch get_peer_certificate_nif(Port) of1664 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1665Compile directive 'nowarn_deprecated_catch' can be used to suppress1666warnings in selected modules.16671668 ┌─ src/fast_tls.erl:1669 │1670 311 │ case catch get_negotiated_cipher_nif(Port) of1671 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1672Compile directive 'nowarn_deprecated_catch' can be used to suppress1673warnings in selected modules.167416751676===> Fetching rebar3_hex v7.5.01677===> Fetching hex_core v0.21.11678===> Fetching verl v1.1.11679===> Analyzing applications...1680===> Compiling verl1681===> Compiling hex_core1682===> Compiling rebar3_hex1683===> Analyzing applications...1684===> Compiling fake_turn1685 ┌─ src/stun_listener.erl:1686 │1687 82 │ catch erlang:demonitor(MRef, [flush]),1688 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1689Compile directive 'nowarn_deprecated_catch' can be used to suppress1690warnings in selected modules.16911692 ┌─ src/stun_listener.erl:1693 │1694 83 │ catch exit(Pid, kill),1695 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1696Compile directive 'nowarn_deprecated_catch' can be used to suppress1697warnings in selected modules.16981699 ┌─ src/stun_listener.erl:1700 │1701 200 │ case catch stun:udp_recv(Socket, Addr, Port, Packet, Opts) of1702 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1703Compile directive 'nowarn_deprecated_catch' can be used to suppress1704warnings in selected modules.170517061707 ┌─ src/stun_codec.erl:1708 │1709 37 │ case catch decode(Type, Magic, TrID, Body) of1710 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1711Compile directive 'nowarn_deprecated_catch' can be used to suppress1712warnings in selected modules.171317141715 ┌─ src/stun.erl:1716 │1717 172 │ catch (State#state.sock_mod):close(State#state.sock),1718 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1719Compile directive 'nowarn_deprecated_catch' can be used to suppress1720warnings in selected modules.17211722 ┌─ src/stun.erl:1723 │1724 720 │ case catch iolist_to_binary(proplists:get_value(certfile, Opts)) of1725 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1726Compile directive 'nowarn_deprecated_catch' can be used to suppress1727warnings in selected modules.172817291730==> ex_libnice1731/usr/bin/sh: 1: clang-format: not found1732/usr/bin/sh: 1: clang-format: not found1733Bundlex: Building natives: native1734Package nice was not found in the pkg-config search path.1735Perhaps you should add the directory containing `nice.pc'1736to the PKG_CONFIG_PATH environment variable1737Package 'nice', required by 'virtual:world', not found1738could not compile dependency :ex_libnice, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_libnice --force", update it with "mix deps.update ex_libnice" or clean it with "mix deps.clean ex_libnice"1739** (MatchError) no match of right hand side value:17401741 {"", 1}17421743 (bundlex 0.5.1) lib/bundlex/toolchain/common/unix.ex:104: Bundlex.Toolchain.Common.Unix.pkg_config/21744 (bundlex 0.5.1) lib/bundlex/toolchain/common/unix.ex:10: Bundlex.Toolchain.Common.Unix.compiler_commands/51745 (bundlex 0.5.1) lib/bundlex/native.ex:104: Bundlex.Native.resolve_native/41746 (bunch 1.3.2) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/31747 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:39: Mix.Tasks.Compile.Bundlex.run/11748 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51749 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21750 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41751World nerves not published: no_passing_target