Build log
nerves_system_rpi4
membrane_dtls_plugin 0.7.0 · fail · run membrane_dtls_plugin-0.7.0-1794788645519
1805 of 1805 lines
1Resolving Hex dependencies...2Resolution completed in 0.03s3* Getting membrane_dtls_plugin (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting ex_dtls (Hex package)34* Getting membrane_core (Hex package)35* Getting membrane_ice_plugin (Hex package)36* Getting bunch (Hex package)37* Getting ex_libnice (Hex package)38* Getting fake_turn (Hex package)39* Getting membrane_funnel_plugin (Hex package)40* Getting fast_tls (Hex package)41* Getting p1_utils (Hex package)42* Getting mdns (Hex package)43* Getting unifex (Hex package)44* Getting bundlex (Hex package)45* Getting shmex (Hex package)46* Getting bunch_native (Hex package)47* Getting qex (Hex package)48* Getting secure_random (Hex package)49* Getting dns (Hex package)50* Getting ratio (Hex package)51* Getting telemetry (Hex package)52* Getting numbers (Hex package)53* Getting coerce (Hex package)54==> tablet55Compiling 2 files (.ex)56Generated tablet app57==> nerves_discovery58Compiling 5 files (.ex)59Generated nerves_discovery app60==> interactive_cmd61Compiling 1 file (.ex)62Generated interactive_cmd app63==> nerves64Compiling 65 files (.ex)65Generated nerves app66==> nerves_system_br67Generated nerves_system_br app68==> circular_buffer69Compiling 1 file (.ex)70Generated circular_buffer app71==> logger_backends72Compiling 7 files (.ex)73Generated logger_backends app74==> coerce75Compiling 3 files (.ex)76Generated coerce app77==> bunch78Compiling 19 files (.ex)79 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 operator80 │81 47 │ <<chunk::binary-size(chunk_size)>> <> rest ->82 │ ~83 │84 └─ lib/bunch/binary.ex:47:28: Bunch.Binary.do_chunk_every_rem/38586 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 operator87 │88 90 │ <<b::binary-size(len), r::binary>> = binary89 │ ~90 │91 └─ lib/bunch/binary.ex:90:22: Bunch.Binary.split_int_part/29293Generated bunch app94==> numbers95Compiling 7 files (.ex)96Generated numbers app97==> elixir_make98Compiling 8 files (.ex)99Generated elixir_make app100==> nerves_logging101 CC kmsg_tailer.o102 LD kmsg_tailer103Compiling 5 files (.ex)104Generated nerves_logging app105==> ratio106Compiling 5 files (.ex)107 warning: <|> is deprecated. Use another pipe-like operator108 │109 154 │ def numerator <|> denominator110 │ ~111 │112 └─ lib/ratio.ex:154:17113114 warning: <|> is deprecated. Use another pipe-like operator115 │116 156 │ def _numerator <|> 0 do117 │ ~118 │119 └─ lib/ratio.ex:156:18120121 warning: <|> is deprecated. Use another pipe-like operator122 │123 160 │ def numerator <|> denominator when is_integer(numerator) and is_integer(denominator) do124 │ ~125 │126 └─ lib/ratio.ex:160:17127128 warning: <|> is deprecated. Use another pipe-like operator129 │130 166 │ def numerator <|> denominator when is_float(numerator) do131 │ ~132 │133 └─ lib/ratio.ex:166:17134135 warning: <|> is deprecated. Use another pipe-like operator136 │137 170 │ def numerator <|> denominator when is_float(denominator) do138 │ ~139 │140 └─ lib/ratio.ex:170:17141142 warning: <|> is deprecated. Use another pipe-like operator143 │144 174 │ def (numerator = %Ratio{}) <|> (denominator = %Ratio{}) do145 │ ~146 │147 └─ lib/ratio.ex:174:30148149 warning: <|> is deprecated. Use another pipe-like operator150 │151 179 │ def (numerator = %Decimal{}) <|> (denominator = %Decimal{}) do152 │ ~153 │154 └─ lib/ratio.ex:179:34155156 warning: <|> is deprecated. Use another pipe-like operator157 │158 184 │ def (numerator = %Decimal{}) <|> denominator when is_float(denominator) do159 │ ~160 │161 └─ lib/ratio.ex:184:34162163 warning: <|> is deprecated. Use another pipe-like operator164 │165 189 │ def numerator <|> (denominator = %Decimal{}) when is_float(numerator) do166 │ ~167 │168 └─ lib/ratio.ex:189:19169170 warning: <|> is deprecated. Use another pipe-like operator171 │172 194 │ def (numerator = %Decimal{}) <|> denominator when is_integer(denominator) do173 │ ~174 │175 └─ lib/ratio.ex:194:34176177 warning: <|> is deprecated. Use another pipe-like operator178 │179 199 │ def numerator <|> (denominator = %Decimal{}) when is_integer(numerator) do180 │ ~181 │182 └─ lib/ratio.ex:199:19183184 warning: <|> is deprecated. Use another pipe-like operator185 │186 204 │ def numerator <|> denominator do187 │ ~188 │189 └─ lib/ratio.ex:204:17190191 warning: <|> is deprecated. Use another pipe-like operator192 │193 237 │ Ratio.DecimalConversion.decimal_to_rational(numerator) <|>194 │ ~195 │196 └─ lib/ratio.ex:237:62197198 warning: <|> is deprecated. Use another pipe-like operator199 │200 242 │ numerator <|> Ratio.DecimalConversion.decimal_to_rational(denominator)201 │ ~202 │203 └─ lib/ratio.ex:242:17204205 warning: <|> is deprecated. Use another pipe-like operator206 │207 247 │ numerator <|> denominator208 │ ~209 │210 └─ lib/ratio.ex:247:15211212 warning: <|> is deprecated. Use another pipe-like operator213 │214 261 │ do: Kernel.abs(numerator) <|> denominator215 │ ~216 │217 └─ lib/ratio.ex:261:31218219 warning: <|> is deprecated. Use another pipe-like operator220 │221 310 │ do: Kernel.+(a * lcm, b) <|> lcm222 │ ~223 │224 └─ lib/ratio.ex:310:30225226 warning: <|> is deprecated. Use another pipe-like operator227 │228 313 │ do: Kernel.+(b * lcm, a) <|> lcm229 │ ~230 │231 └─ lib/ratio.ex:313:30232233 warning: <|> is deprecated. Use another pipe-like operator234 │235 316 │ Kernel.+(a, c) <|> lcm236 │ ~237 │238 └─ lib/ratio.ex:316:20239240 warning: <|> is deprecated. Use another pipe-like operator241 │242 320 │ Kernel.+(a * d, c * b) <|> (b * d)243 │ ~244 │245 └─ lib/ratio.ex:320:28246247 warning: <|> is deprecated. Use another pipe-like operator248 │249 423 │ Kernel.*(numerator, number) <|> denominator250 │ ~251 │252 └─ lib/ratio.ex:423:33253254 warning: <|> is deprecated. Use another pipe-like operator255 │256 428 │ Kernel.*(numerator, number) <|> denominator257 │ ~258 │259 └─ lib/ratio.ex:428:33260261 warning: <|> is deprecated. Use another pipe-like operator262 │263 435 │ Kernel.*(numerator1, numerator2) <|> Kernel.*(denominator1, denominator2)264 │ ~265 │266 └─ lib/ratio.ex:435:38267268 warning: <|> is deprecated. Use another pipe-like operator269 │270 467 │ def div(a, b) when is_number(a) and is_integer(b), do: a <|> b271 │ ~272 │273 └─ lib/ratio.ex:467:60274275 warning: <|> is deprecated. Use another pipe-like operator276 │277 474 │ numerator <|> Kernel.*(denominator, number)278 │ ~279 │280 └─ lib/ratio.ex:474:15281282 warning: <|> is deprecated. Use another pipe-like operator283 │284 480 │ mult(number, denominator <|> numerator)285 │ ~286 │287 └─ lib/ratio.ex:480:30288289 warning: <|> is deprecated. Use another pipe-like operator290 │291 487 │ Kernel.*(numerator1, denominator2) <|> Kernel.*(denominator1, numerator2)292 │ ~293 │294 └─ lib/ratio.ex:487:40295296 warning: <|> is deprecated. Use another pipe-like operator297 │298 507 │ def a / b when is_number(a) and is_integer(b), do: a <|> b299 │ ~300 │301 └─ lib/ratio.ex:507:56302303 warning: <|> is deprecated. Use another pipe-like operator304 │305 852 │ if numerator <|> denominator == floor do306 │ ~307 │308 └─ lib/ratio.ex:852:18309310 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead311 │312 133 │ Passed floats are rounded to `#{Application.get_env(:ratio, :max_float_to_rational_digits)}` digits, to make the result match expectations better.313 │ ~314 │315 └─ lib/ratio.ex:133:47: Ratio (module)316317 warning: <|> is deprecated. Use another pipe-like operator318 │319 55 │ (integer * numerator + decimal) <|> numerator320 │ ~321 │322 └─ lib/ratio/float_conversion.ex:55:37323324 warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead325 │326 4 │ @max_decimals Application.get_env(:ratio, :max_float_to_rational_digits)327 │ ~328 │329 └─ lib/ratio/float_conversion.ex:4:29: Ratio.FloatConversion (module)330331 warning: Ratio.DecimalConversion.decimal_to_rational/1 is undefined (module Ratio.DecimalConversion is not available or is yet to be defined)332 │333 17 │ {ratio, Ratio.DecimalConversion.decimal_to_rational(decimal)}334 │ ~335 │336 └─ lib/ratio/coerce.ex:17:37: Coerce.Implementations.Ratio.Decimal.coerce/2337338Generated ratio app339==> nerves_compatibility_test340===> Fetching pc v1.15.0341===> Analyzing applications...342===> Compiling pc343===> Analyzing applications...344===> Compiling p1_utils345 ┌─ src/p1_server.erl:346 │347 198 │ case catch gen:call(Name, '$gen_call', Request) of348 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.349Compile directive 'nowarn_deprecated_catch' can be used to suppress350warnings in selected modules.351352 ┌─ src/p1_server.erl:353 │354 206 │ case catch gen:call(Name, '$gen_call', Request, Timeout) of355 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.356Compile directive 'nowarn_deprecated_catch' can be used to suppress357warnings in selected modules.358359 ┌─ src/p1_server.erl:360 │361 217 │ catch global:send(Name, cast_msg(Request)),362 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.363Compile directive 'nowarn_deprecated_catch' can be used to suppress364warnings in selected modules.365366 ┌─ src/p1_server.erl:367 │368 220 │ catch Mod:send(Name, cast_msg(Request)),369 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.370Compile directive 'nowarn_deprecated_catch' can be used to suppress371warnings in selected modules.372373 ┌─ src/p1_server.erl:374 │375 239 │ catch To ! {Tag, Reply}.376 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.377Compile directive 'nowarn_deprecated_catch' can be used to suppress378warnings in selected modules.379380 ┌─ src/p1_server.erl:381 │382 333 │ case catch Mod:init(Args) of383 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.384Compile directive 'nowarn_deprecated_catch' can be used to suppress385warnings in selected modules.386387 ┌─ src/p1_server.erl:388 │389 372 │ _ = (catch unregister(Name));390 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.391Compile directive 'nowarn_deprecated_catch' can be used to suppress392warnings in selected modules.393394 ┌─ src/p1_server.erl:395 │396 484 │ case catch erlang:send(Dest, Msg, [noconnect]) of397 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.398Compile directive 'nowarn_deprecated_catch' can be used to suppress399warnings in selected modules.400401 ┌─ src/p1_server.erl:402 │403 537 │ catch {Name, Node} ! {'$gen_call', {self(), {Tag, Node}}, Req},404 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.405Compile directive 'nowarn_deprecated_catch' can be used to suppress406warnings in selected modules.407408 ┌─ src/p1_server.erl:409 │410 597 │ case catch erlang:cancel_timer(TimerId) of411 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.412Compile directive 'nowarn_deprecated_catch' can be used to suppress413warnings in selected modules.414415 ┌─ src/p1_server.erl:416 │417 650 │ case catch erlang:monitor(process, {Name, Node}) of418 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.419Compile directive 'nowarn_deprecated_catch' can be used to suppress420warnings in selected modules.421422 ┌─ src/p1_server.erl:423 │424 671 │ case catch Mod:handle_call(Msg, From, State) of425 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.426Compile directive 'nowarn_deprecated_catch' can be used to suppress427warnings in selected modules.428429 ┌─ src/p1_server.erl:430 │431 688 │ (catch terminate(Reason, Name, Msg, Mod, NState, [], Queue)),432 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.433Compile directive 'nowarn_deprecated_catch' can be used to suppress434warnings in selected modules.435436 ┌─ src/p1_server.erl:437 │438 696 │ Reply = (catch dispatch(Msg, Mod, State)),439 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.440Compile directive 'nowarn_deprecated_catch' can be used to suppress441warnings in selected modules.442443 ┌─ src/p1_server.erl:444 │445 702 │ case catch Mod:handle_call(Msg, From, State) of446 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.447Compile directive 'nowarn_deprecated_catch' can be used to suppress448warnings in selected modules.449450 ┌─ src/p1_server.erl:451 │452 723 │ (catch terminate(Reason, Name, Msg, Mod, NState, Debug, Queue)),453 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.454Compile directive 'nowarn_deprecated_catch' can be used to suppress455warnings in selected modules.456457 ┌─ src/p1_server.erl:458 │459 732 │ Reply = (catch dispatch(Msg, Mod, State)),460 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.461Compile directive 'nowarn_deprecated_catch' can be used to suppress462warnings in selected modules.463464 ┌─ src/p1_server.erl:465 │466 798 │ case catch Mod:code_change(OldVsn, State, Extra) of467 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.468Compile directive 'nowarn_deprecated_catch' can be used to suppress469warnings in selected modules.470471 ┌─ src/p1_server.erl:472 │473 847 │ case catch Mod:terminate(Reason, State) of474 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.475Compile directive 'nowarn_deprecated_catch' can be used to suppress476warnings in selected modules.477478 ┌─ src/p1_server.erl:479 │480 870 │ case catch Mod:format_status(terminate, Args) of481 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.482Compile directive 'nowarn_deprecated_catch' can be used to suppress483warnings in selected modules.484485 ┌─ src/p1_server.erl:486 │487 906 │ true -> (catch Mod:print_state(State));488 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.489Compile directive 'nowarn_deprecated_catch' can be used to suppress490warnings in selected modules.491492 ┌─ src/p1_server.erl:493 │494 935 │ case catch sys:debug_options(Opts) of495 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.496Compile directive 'nowarn_deprecated_catch' can be used to suppress497warnings in selected modules.498499 ┌─ src/p1_server.erl:500 │501 1010 │ case catch Mod:format_status(Opt, [PDict, State]) of502 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.503Compile directive 'nowarn_deprecated_catch' can be used to suppress504warnings in selected modules.505506507 ┌─ src/p1_fsm.erl:508 │509 219 │ catch global:send(Name, {'$gen_event', Event}),510 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.511Compile directive 'nowarn_deprecated_catch' can be used to suppress512warnings in selected modules.513514 ┌─ src/p1_fsm.erl:515 │516 226 │ case catch gen:call(Name, '$gen_sync_event', Event) of517 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.518Compile directive 'nowarn_deprecated_catch' can be used to suppress519warnings in selected modules.520521 ┌─ src/p1_fsm.erl:522 │523 234 │ case catch gen:call(Name, '$gen_sync_event', Event, Timeout) of524 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.525Compile directive 'nowarn_deprecated_catch' can be used to suppress526warnings in selected modules.527528 ┌─ src/p1_fsm.erl:529 │530 242 │ catch global:send(Name, {'$gen_all_state_event', Event}),531 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.532Compile directive 'nowarn_deprecated_catch' can be used to suppress533warnings in selected modules.534535 ┌─ src/p1_fsm.erl:536 │537 249 │ case catch gen:call(Name, '$gen_sync_all_state_event', Event) of538 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.539Compile directive 'nowarn_deprecated_catch' can be used to suppress540warnings in selected modules.541542 ┌─ src/p1_fsm.erl:543 │544 257 │ case catch gen:call(Name, '$gen_sync_all_state_event', Event, Timeout) of545 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.546Compile directive 'nowarn_deprecated_catch' can be used to suppress547warnings in selected modules.548549 ┌─ src/p1_fsm.erl:550 │551 377 │ case catch Mod:init(Args) of552 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.553Compile directive 'nowarn_deprecated_catch' can be used to suppress554warnings in selected modules.555556 ┌─ src/p1_fsm.erl:557 │558 520 │ case catch Mod:code_change(OldVsn, StateName, StateData, Extra) of559 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.560Compile directive 'nowarn_deprecated_catch' can be used to suppress561warnings in selected modules.562563 ┌─ src/p1_fsm.erl:564 │565 582 │ case catch dispatch(Msg, Mod, StateName, StateData) of566 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.567Compile directive 'nowarn_deprecated_catch' can be used to suppress568warnings in selected modules.569570 ┌─ src/p1_fsm.erl:571 │572 606 │ Reason = case catch rpc_call(Node, M, F, A, RPCTimeout) of573 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.574Compile directive 'nowarn_deprecated_catch' can be used to suppress575warnings in selected modules.576577 ┌─ src/p1_fsm.erl:578 │579 627 │ {'EXIT', R} = (catch terminate(Reason, Name, Msg, Mod,580 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.581Compile directive 'nowarn_deprecated_catch' can be used to suppress582warnings in selected modules.583584 ┌─ src/p1_fsm.erl:585 │586 641 │ case catch dispatch(Msg, Mod, StateName, StateData) of587 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.588Compile directive 'nowarn_deprecated_catch' can be used to suppress589warnings in selected modules.590591 ┌─ src/p1_fsm.erl:592 │593 669 │ Reason = case catch rpc_call(Node, M, F, A, RPCTimeout) of594 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.595Compile directive 'nowarn_deprecated_catch' can be used to suppress596warnings in selected modules.597598 ┌─ src/p1_fsm.erl:599 │600 691 │ {'EXIT', R} = (catch terminate(Reason, Name, Msg, Mod,601 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.602Compile directive 'nowarn_deprecated_catch' can be used to suppress603warnings in selected modules.604605 ┌─ src/p1_fsm.erl:606 │607 725 │ catch To ! {Tag, Reply}.608 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.609Compile directive 'nowarn_deprecated_catch' can be used to suppress610warnings in selected modules.611612 ┌─ src/p1_fsm.erl:613 │614 740 │ case catch Mod:terminate(Reason, StateName, StateData) of615 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.616Compile directive 'nowarn_deprecated_catch' can be used to suppress617warnings in selected modules.618619 ┌─ src/p1_fsm.erl:620 │621 783 │ true -> (catch Mod:print_state(StateData));622 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.623Compile directive 'nowarn_deprecated_catch' can be used to suppress624warnings in selected modules.625626 ┌─ src/p1_fsm.erl:627 │628 835 │ case catch Mod:format_status(Opt,[PDict,StateData]) of629 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.630Compile directive 'nowarn_deprecated_catch' can be used to suppress631warnings in selected modules.632633 ┌─ src/p1_fsm.erl:634 │635 889 │ case catch apply(Mod, Fun, Args) of636 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.637Compile directive 'nowarn_deprecated_catch' can be used to suppress638warnings in selected modules.639640 ┌─ src/p1_fsm.erl:641 │642 906 │ catch exit(Pid, kill),643 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.644Compile directive 'nowarn_deprecated_catch' can be used to suppress645warnings in selected modules.646647648 ┌─ src/p1_options.erl:649 │650 110 │ catch ets:new(Tab, [named_table, public, {read_concurrency, true}]),651 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.652Compile directive 'nowarn_deprecated_catch' can be used to suppress653warnings in selected modules.654655656 ┌─ src/p1_file_queue.erl:657 │658 227 │ crypto:start(),659 │ ╰── Warning: crypto:start/0 is deprecated; use application:start(crypto) instead660661662 ┌─ src/p1_prof.erl:663 │664 280 │ case catch process_info(665 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.666Compile directive 'nowarn_deprecated_catch' can be used to suppress667warnings in selected modules.668669670==> ring_logger671Compiling 7 files (.ex)672Generated ring_logger app673==> nerves_toolchain_aarch64_nerves_linux_gnu674Compiling 1 file (.ex)675Generated nerves_toolchain_aarch64_nerves_linux_gnu app676==> nerves_system_rpi4677Generated nerves_system_rpi4 app678==> dns679Compiling 7 files (.ex)680Generated dns app681==> mdns682Compiling 6 files (.ex)683 warning: unused require Logger684 │685 3 │ require Logger686 │ ~687 │688 └─ lib/mdns.ex:3:3689690 warning: unused require Logger691 │692 3 │ require Logger693 │ ~694 │695 └─ lib/mdns/server.ex:3:3696697 warning: a struct for Mdns.Server.State is expected on struct update:698699 %Mdns.Server.State{state | udp: udp}700701 but got type:702703 dynamic()704705 where "state" was given the type:706707 # type: dynamic()708 # from: lib/mdns/server.ex:53:42709 state710711 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"712713 type warning found at:714 │715 67 │ {:reply, :ok, %State{state | udp: udp}}716 │ ~717 │718 └─ lib/mdns/server.ex:67:19: Mdns.Server.handle_call/3719720 warning: a struct for Mdns.Server.State is expected on struct update:721722 %Mdns.Server.State{state | ip: ip}723724 but got type:725726 dynamic()727728 where "state" was given the type:729730 # type: dynamic()731 # from: lib/mdns/server.ex:77:37732 state733734 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"735736 type warning found at:737 │738 78 │ {:reply, :ok, %State{state | ip: ip}}739 │ ~740 │741 └─ lib/mdns/server.ex:78:19: Mdns.Server.handle_call/3742743 warning: a struct for Mdns.Server.State is expected on struct update:744745 %Mdns.Server.State{state | services: Enum.uniq([service | state.services])}746747 but got type:748749 dynamic()750751 where "state" was given the type:752753 # type: dynamic()754 # from: lib/mdns/server.ex:81:51755 state756757 when defining the variable "state", you must also pattern match on "%Mdns.Server.State{}"758759 type warning found at:760 │761 82 │ {:reply, :ok, %State{state | :services => Enum.uniq([service | state.services])}}762 │ ~763 │764 └─ lib/mdns/server.ex:82:19: Mdns.Server.handle_call/3765766 warning: a struct for Mdns.Client.State is expected on struct update:767768 %Mdns.Client.State{state | udp: udp}769770 but got type:771772 dynamic()773774 where "state" was given the type:775776 # type: dynamic()777 # from: lib/mdns/client.ex:50:46778 state779780 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"781782 type warning found at:783 │784 71 │ {:reply, :ok, %State{state | udp: udp}}785 │ ~786 │787 └─ lib/mdns/client.ex:71:19: Mdns.Client.handle_call/3788789 warning: a struct for Mdns.Client.State is expected on struct update:790791 %Mdns.Client.State{state | queries: Enum.uniq([namespace | state.queries])}792793 but got type:794795 dynamic(%{..., udp: term()})796797 where "state" was given the type:798799 # type: dynamic(%{..., udp: term()})800 # from: lib/mdns/client.ex:94:14801 :gen_udp.send(802 state.udp,803 Mdns.Utilities.Network.mdns_group(),804 Mdns.Utilities.Network.mdns_port(),805 p806 )807808 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"809810 type warning found at:811 │812 95 │ {:noreply, %State{state | :queries => Enum.uniq([namespace | state.queries])}}813 │ ~814 │815 └─ lib/mdns/client.ex:95:16: Mdns.Client.handle_cast/2816817 warning: a struct for Mdns.Client.State is expected on struct update:818819 %Mdns.Client.State{state | devices: devices}820821 but got type:822823 dynamic(%{..., devices: map(), queries: term()})824825 where "state" was given the types:826827 # type: dynamic(%{..., devices: map()})828 # from: lib/mdns/client.ex:113:14829 get_device(ip, record, state)830831 # type: dynamic(%{..., devices: map(), queries: term()})832 # from: lib/mdns/client.ex:116:12833 Enum.reduce(state.queries, %{other: []}, fn query, acc ->834 cond do835 ...836 end837 end)838839 when defining the variable "state", you must also pattern match on "%Mdns.Client.State{}"840841 type warning found at:842 │843 129 │ %State{state | :devices => devices}844 │ ~845 │846 └─ lib/mdns/client.ex:129:5: Mdns.Client.handle_response/3847848 warning: a struct for Mdns.Client.Device is expected on struct update:849850 %Mdns.Client.Device{851 device852 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)853 }854855 but got type:856857 dynamic()858859 where "device" was given the type:860861 # type: dynamic()862 # from: lib/mdns/client.ex:132:60863 device864865 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"866867 type warning found at:868 │869 133 │ %Device{870 │ ~871 │872 └─ lib/mdns/client.ex:133:5: Mdns.Client.handle_device/2873874 warning: a struct for Mdns.Client.Device is expected on struct update:875876 %Mdns.Client.Device{device | domain: to_string(record.domain)}877878 but got type:879880 dynamic()881882 where "device" was given the type:883884 # type: dynamic()885 # from: lib/mdns/client.ex:140:58886 device887888 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"889890 type warning found at:891 │892 141 │ %Device{device | :domain => to_string(record.domain)}893 │ ~894 │895 └─ lib/mdns/client.ex:141:5: Mdns.Client.handle_device/2896897 warning: a struct for Mdns.Client.Device is expected on struct update:898899 %Mdns.Client.Device{900 device901 | payload:902 Enum.reduce(data, %{}, fn kv, acc ->903 case String.split(to_string(kv), "=", parts: 2) do904 ...905 end906 end)907 }908909 but got type:910911 dynamic()912913 where "device" was given the type:914915 # type: dynamic()916 # from: lib/mdns/client.ex:144:63917 device918919 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"920921 type warning found at:922 │923 145 │ %Device{924 │ ~925 │926 └─ lib/mdns/client.ex:145:5: Mdns.Client.handle_device/2927928 warning: a struct for Mdns.Client.Device is expected on struct update:929930 %Mdns.Client.Device{device | port: port}931932 but got type:933934 dynamic()935936 where "device" was given the type:937938 # type: dynamic()939 # from: lib/mdns/client.ex:157:94940 device941942 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"943944 type warning found at:945 │946 158 │ %Device{947 │ ~948 │949 └─ lib/mdns/client.ex:158:5: Mdns.Client.handle_device/2950951 warning: a struct for Mdns.Client.Device is expected on struct update:952953 %Mdns.Client.Device{954 device955 | services: Enum.uniq([to_string(record.data), to_string(record.domain)] ++ device.services)956 }957958 but got type:959960 dynamic()961962 where "device" was given the type:963964 # type: dynamic()965 # from: lib/mdns/client.ex:164:58966 device967968 when defining the variable "device", you must also pattern match on "%Mdns.Client.Device{}"969970 type warning found at:971 │972 165 │ %Device{973 │ ~974 │975 └─ lib/mdns/client.ex:165:5: Mdns.Client.handle_device/2976977Generated mdns app978==> nerves_compatibility_test979===> Analyzing applications...980===> Compiling telemetry981==> secure_random982Compiling 1 file (.ex)983 warning: use Bitwise is deprecated. import Bitwise instead984 │985 2 │ use Bitwise986 │ ~~~~~~~~~~~987 │988 └─ lib/secure_random.ex:2: SecureRandom (module)989990Generated secure_random app991==> uboot_env992Compiling 5 files (.ex)993Generated uboot_env app994==> qex995Compiling 4 files (.ex)996warning: x..y inside match is deprecated, you must always match on the step: x..y//var or x..y//_ if you want to ignore it997 lib/qex.ex:45: Qex.new/1998999Generated qex app1000==> membrane_core1001Compiling 137 files (.ex)1002 warning: unused require Record1003 │1004 38 │ require Record1005 │ ~1006 │1007 └─ lib/membrane/caps/matcher.ex:38:310081009 warning: unused require Membrane.Core.Child.PadModel1010 │1011 9 │ require PadModel1012 │ ~1013 │1014 └─ lib/membrane/core/child/lifecycle_controller.ex:9:310151016 warning: unused require Membrane.Core.Message1017 │1018 8 │ require Message1019 │ ~1020 │1021 └─ lib/membrane/core/child/lifecycle_controller.ex:8:310221023 warning: unused require Membrane.Pad1024 │1025 6 │ require Membrane.Pad1026 │ ~1027 │1028 └─ lib/membrane/core/telemetry.ex:6:310291030 warning: unused require Membrane.Logger1031 │1032 12 │ require Membrane.Logger1033 │ ~1034 │1035 └─ lib/membrane/core/pipeline.ex:12:310361037 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1038 │1039 197 │ |> Membrane.Logger.warn()1040 │ ~~~~~~~~~~~~~~~~~~~~~~~~~1041 │1042 └─ lib/membrane/core/input_buffer.ex:197: Membrane.Core.InputBuffer.store/310431044 warning: unused require Membrane.Core.Message1045 │1046 16 │ require Membrane.Core.Message1047 │ ~1048 │1049 └─ lib/membrane/core/input_buffer.ex:16:310501051 warning: unused require Membrane.Core.Child.PadModel1052 │1053 14 │ require Membrane.Core.Child.PadModel1054 │ ~1055 │1056 └─ lib/membrane/core/element/event_controller.ex:14:310571058 warning: unused require Membrane.Core.Message1059 │1060 15 │ require Membrane.Core.Message1061 │ ~1062 │1063 └─ lib/membrane/core/element/event_controller.ex:15:310641065 warning: unused require Membrane.Core.Message1066 │1067 9 │ require Message1068 │ ~1069 │1070 └─ lib/membrane/core/bin/linking_buffer.ex:9:310711072 warning: unused require Membrane.Pad1073 │1074 16 │ require Membrane.Pad1075 │ ~1076 │1077 └─ lib/membrane/core/element/state.ex:16:310781079 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1080 │1081 93 │ Membrane.Logger.warn("""1082 │ ~~~~~~~~~~~~~~~~~~~~~~~~1083 │1084 └─ lib/membrane/core/child/pad_controller.ex:93: Membrane.Core.Child.PadController.handle_linking_finished/110851086 warning: unused require Membrane.Core.Message1087 │1088 13 │ require Membrane.Core.Message1089 │ ~1090 │1091 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:13:310921093 warning: unused require Membrane.Core.Child.PadModel1094 │1095 15 │ require Membrane.Core.Child.PadModel1096 │ ~1097 │1098 └─ lib/membrane/core/element/buffer_controller.ex:15:310991100 warning: unused require Membrane.Core.Child.PadModel1101 │1102 16 │ require Membrane.Core.Child.PadModel1103 │ ~1104 │1105 └─ lib/membrane/core/child/pad_controller.ex:16:311061107 warning: unused require Membrane.Core.Message1108 │1109 18 │ require Membrane.Core.Message1110 │ ~1111 │1112 └─ lib/membrane/core/child/pad_controller.ex:18:311131114 warning: unused require Membrane.Pad1115 │1116 12 │ require Membrane.Pad1117 │ ~1118 │1119 └─ lib/membrane/core/child/pad_spec_handler.ex:12:311201121 warning: unused require Membrane.Core.Child.PadModel1122 │1123 15 │ require Membrane.Core.Child.PadModel1124 │ ~1125 │1126 └─ lib/membrane/core/element/demand_controller.ex:15:311271128 warning: unused require Membrane.Core.Message1129 │1130 20 │ require Membrane.Core.Message1131 │ ~1132 │1133 └─ lib/membrane/bin.ex:20:311341135 warning: unused require Membrane.Logger1136 │1137 21 │ require Membrane.Logger1138 │ ~1139 │1140 └─ lib/membrane/bin.ex:21:311411142 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1143 │1144 106 │ Membrane.Logger.warn("""1145 │ ~~~~~~~~~~~~~~~~~~~~~~~~1146 │1147 └─ lib/membrane/core/parent/child_life_controller.ex:106: Membrane.Core.Parent.ChildLifeController.handle_remove_child/211481149 warning: unused require Membrane.Core.Child.PadModel1150 │1151 21 │ require Membrane.Core.Child.PadModel1152 │ ~1153 │1154 └─ lib/membrane/core/element/demand_handler.ex:21:311551156 warning: unused require Membrane.Core.Message1157 │1158 22 │ require Membrane.Core.Message1159 │ ~1160 │1161 └─ lib/membrane/core/element/demand_handler.ex:22:311621163 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1164 │1165 14 │ Membrane.Logger.warn("""1166 │ ~~~~~~~~~~~~~~~~~~~~~~~~1167 │1168 └─ lib/membrane/core/pipeline/action_handler.ex:14: Membrane.Core.Pipeline.ActionHandler.handle_actions/411691170 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1171 │1172 50 │ Membrane.Logger.warn("""1173 │ ~~~~~~~~~~~~~~~~~~~~~~~~1174 │1175 └─ lib/membrane/core/pipeline/action_handler.ex:50: Membrane.Core.Pipeline.ActionHandler.do_handle_action/411761177 warning: unused require Membrane.Core.Message1178 │1179 10 │ require Message1180 │ ~1181 │1182 └─ lib/membrane/core/bin/action_handler.ex:10:311831184 warning: unused require Membrane.Core.Child.PadModel1185 │1186 19 │ require Membrane.Core.Child.PadModel1187 │ ~1188 │1189 └─ lib/membrane/core/element/action_handler.ex:19:311901191 warning: unused require Membrane.Core.Message1192 │1193 20 │ require Membrane.Core.Message1194 │ ~1195 │1196 └─ lib/membrane/core/element/action_handler.ex:20:311971198 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 operator1199 │1200 100 │ <<part1::binary-size(at_pos), part2::binary>> = payload1201 │ ~1202 │1203 └─ lib/membrane/payload.ex:100:26: Membrane.Payload.BitString.split_at/212041205 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 operator1206 │1207 113 │ <<_dropped::binary-size(bytes), rest::binary>> = payload1208 │ ~1209 │1210 └─ lib/membrane/payload.ex:113:29: Membrane.Payload.BitString.drop/212111212 warning: unused require Membrane.Bin1213 │1214 19 │ require Membrane.Bin1215 │ ~1216 │1217 └─ lib/membrane/core/parent/child_life_controller.ex:19:312181219 warning: unused require Membrane.Element1220 │1221 20 │ require Membrane.Element1222 │ ~1223 │1224 └─ lib/membrane/core/parent/child_life_controller.ex:20:312251226 warning: unused require Membrane.Core.Message1227 │1228 10 │ require Membrane.Core.Message1229 │ ~1230 │1231 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:10:312321233 warning: unused require Membrane.Core.Message1234 │1235 16 │ require Message1236 │ ~1237 │1238 └─ lib/membrane/core/playback_handler.ex:16:312391240 warning: Logger.warn/2 is deprecated. Use Logger.warning/2 instead1241 │1242 86 │ Membrane.Logger.warn("""1243 │ ~~~~~~~~~~~~~~~~~~~~~~~~1244 │1245 └─ lib/membrane/core/element/lifecycle_controller.ex:86: Membrane.Core.Element.LifecycleController.handle_shutdown/212461247 warning: unused alias Message1248 │1249 11 │ alias Membrane.Core.{CallbackHandler, Message}1250 │ ~1251 │1252 └─ lib/membrane/core/element/lifecycle_controller.ex:11:312531254 warning: unused require Membrane.Core.Child.PadModel1255 │1256 16 │ require Membrane.Core.Child.PadModel1257 │ ~1258 │1259 └─ lib/membrane/core/element/lifecycle_controller.ex:16:312601261 warning: unused require Membrane.Core.Message1262 │1263 17 │ require Membrane.Core.Message1264 │ ~1265 │1266 └─ lib/membrane/core/element/lifecycle_controller.ex:17:312671268 warning: unused require Membrane.Core.Playback1269 │1270 18 │ require Membrane.Core.Playback1271 │ ~1272 │1273 └─ lib/membrane/core/element/lifecycle_controller.ex:18:312741275 warning: unused require Membrane.Core.Message1276 │1277 13 │ require Membrane.Core.Message1278 │ ~1279 │1280 └─ lib/membrane/core/parent/lifecycle_controller.ex:13:312811282 warning: unused require Membrane.PlaybackState1283 │1284 15 │ require Membrane.PlaybackState1285 │ ~1286 │1287 └─ lib/membrane/core/parent/lifecycle_controller.ex:15:312881289 warning: expected a map or struct when accessing .membrane_element_type in expression:12901291 &1.module.membrane_element_type12921293 but got type:12941295 dynamic(atom())12961297 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()12981299 type warning found at:1300 │1301 37 │ &(Membrane.Element.element?(&1.module) and &1.module.membrane_element_type == :sink)1302 │ ~1303 │1304 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:37:62: Membrane.Core.Parent.ChildLifeController.StartupHandler.setup_syncs/213051306 warning: a struct for Membrane.Core.Element.State is expected on struct update:13071308 %Membrane.Core.Element.State{state | supplying_demand?: true}13091310 but got type:13111312 dynamic()13131314 where "state" was given the type:13151316 # type: dynamic()1317 # from: lib/membrane/core/element/demand_handler.ex:148:341318 state13191320 when defining the variable "state", you must also pattern match on "%Membrane.Core.Element.State{}"13211322 type warning found at:1323 │1324 150 │ state = %State{state | supplying_demand?: true}1325 │ ~1326 │1327 └─ lib/membrane/core/element/demand_handler.ex:150:13: Membrane.Core.Element.DemandHandler.do_supply_demand/213281329 warning: the following clause will never match:13301331 {:error, reason} ->13321333 it is expected to match on type:13341335 none()13361337 type warning found at:1338 │1339 66 │ {:error, reason} -> raise LinkError, "#{inspect(reason)}"1340 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1341 │1342 └─ lib/membrane/core/child/pad_controller.ex:66: Membrane.Core.Child.PadController.handle_link/513431344 warning: a struct for Membrane.Core.Parent.Link is expected on struct update:13451346 %Membrane.Core.Parent.Link{1347 &11348 | from: resolve_endpoint(&1.from, state),1349 to: resolve_endpoint(&1.to, state)1350 }13511352 but got type:13531354 dynamic()13551356 instead of using &1, you must define an anonymous function, define a variable and pattern match on "%Membrane.Core.Parent.Link{}"13571358 type warning found at:1359 │1360 22 │ &%Link{&1 | from: resolve_endpoint(&1.from, state), to: resolve_endpoint(&1.to, state)}1361 │ ~1362 │1363 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:22:8: Membrane.Core.Parent.ChildLifeController.LinkHandler.resolve_links/213641365 warning: the following clause will never match:13661367 {{:error, reason}, state} ->13681369 it is expected to match on type:13701371 none()13721373 type warning found at:1374 │1375 68 │ try: {{:error, reason}, state} ->1376 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1377 │1378 └─ lib/membrane/core/element/event_controller.ex:68: Membrane.Core.Element.EventController.exec_handle_event/413791380 warning: a struct for Membrane.Core.InputBuffer is expected on struct update:13811382 %Membrane.Core.InputBuffer{buf | toilet?: true}13831384 but got type:13851386 dynamic()13871388 where "buf" was given the type:13891390 # type: dynamic()1391 # from: lib/membrane/core/input_buffer.ex:115:211392 buf13931394 when defining the variable "buf", you must also pattern match on "%Membrane.Core.InputBuffer{}"13951396 type warning found at:1397 │1398 115 │ def enable_toilet(buf), do: %__MODULE__{buf | toilet?: true}1399 │ ~1400 │1401 └─ lib/membrane/core/input_buffer.ex:115:31: Membrane.Core.InputBuffer.enable_toilet/114021403 warning: the following conditional expression:14041405 is_function(message, 0)14061407 will always evaluate to:14081409 dynamic(false)14101411 where "message" (context Membrane.Logger) was given the type:14121413 # type: dynamic(non_empty_list(term()))1414 # from: lib/membrane/core/input_buffer.ex:1971415 message =1416 mk_log(1417 <<"Reached buffers of size ", inspect(size)::binary,1418 ", which is above warn level, from output working in push mode. See `Membrane.Core.InputBuffer` for more information.">>,1419 input_buf1420 )14211422 type warning found at:1423 │1424 197 │ |> Membrane.Logger.warn()1425 │ ~~~~~~~~~~~~~~~~~~~~~~~~~1426 │1427 └─ lib/membrane/core/input_buffer.ex:197: Membrane.Core.InputBuffer.store/314281429 warning: expected a map or struct when accessing .input_buf_preferred_size in expression:14301431 metric.input_buf_preferred_size14321433 where "metric" was given the type:14341435 # type: dynamic(Membrane.Buffer.Metric.ByteSize or Membrane.Buffer.Metric.Count)1436 # from: lib/membrane/core/input_buffer.ex:94:121437 metric = Membrane.Buffer.Metric.from_unit(demand_unit)14381439 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()14401441 type warning found at:1442 │1443 95 │ preferred_size = props[:preferred_size] || metric.input_buf_preferred_size1444 │ ~1445 │1446 └─ lib/membrane/core/input_buffer.ex:95:55: Membrane.Core.InputBuffer.init/514471448 warning: a struct for Membrane.Core.Timer is expected on struct update:14491450 %Membrane.Core.Timer{timer | ratio: ratio}14511452 but got type:14531454 dynamic()14551456 where "timer" was given the type:14571458 # type: dynamic()1459 # from: lib/membrane/core/timer.ex:37:201460 timer14611462 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"14631464 type warning found at:1465 │1466 38 │ %__MODULE__{timer | ratio: ratio}1467 │ ~1468 │1469 └─ lib/membrane/core/timer.ex:38:5: Membrane.Core.Timer.update_ratio/214701471 warning: a struct for Membrane.Core.Timer is expected on struct update:14721473 %Membrane.Core.Timer{timer | interval: interval}14741475 but got type:14761477 dynamic(not %Membrane.Core.Timer{interval: :no_interval})14781479 where "timer" was given the type:14801481 # type: dynamic(not %Membrane.Core.Timer{interval: :no_interval})1482 # from: lib/membrane/core/timer.ex:68:201483 timer14841485 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"14861487 type warning found at:1488 │1489 69 │ %__MODULE__{timer | interval: interval}1490 │ ~1491 │1492 └─ lib/membrane/core/timer.ex:69:5: Membrane.Core.Timer.set_interval/214931494Generated membrane_core app1495==> membrane_funnel_plugin1496Compiling 2 files (.ex)1497Generated membrane_funnel_plugin app1498==> bundlex1499Compiling 31 files (.ex)1500 warning: using single-quoted strings to represent charlists is deprecated.1501 Use ~c"" if you indeed want a charlist or use "" instead.1502 You may run "mix format --migrate" to change all single-quoted1503 strings to use the ~c sigil and fix this warning.1504 │1505 22 │ env: [{'BUNDLEX_ERLANG_COOKIE', cookie}]1506 │ ~1507 │1508 └─ lib/bundlex/cnode/server.ex:22:1615091510 warning: using single-quoted strings to represent charlists is deprecated.1511 Use ~c"" if you indeed want a charlist or use "" instead.1512 You may run "mix format --migrate" to change all single-quoted1513 strings to use the ~c sigil and fix this warning.1514 │1515 42 │ {port, {:data, {:eol, 'ready'}}},1516 │ ~1517 │1518 └─ lib/bundlex/cnode/server.ex:42:3115191520 warning: using single-quoted strings to represent charlists is deprecated.1521 Use ~c"" if you indeed want a charlist or use "" instead.1522 You may run "mix format --migrate" to change all single-quoted1523 strings to use the ~c sigil and fix this warning.1524 │1525 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')1526 │ ~1527 │1528 └─ lib/bundlex/platform.ex:48:4115291530 warning: using single-quoted strings to represent charlists is deprecated.1531 Use ~c"" if you indeed want a charlist or use "" instead.1532 You may run "mix format --migrate" to change all single-quoted1533 strings to use the ~c sigil and fix this warning.1534 │1535 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')1536 │ ~1537 │1538 └─ lib/bundlex/platform.ex:49:4515391540 warning: expected a map or struct when accessing .toolchain_module in expression:15411542 Bundlex.Platform.get_module(platform).toolchain_module15431544 but got type:15451546 dynamic(1547 Bundlex.Platform.Freebsd or Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or1548 Bundlex.Platform.Windows32 or Bundlex.Platform.Windows641549 )15501551 where "platform" was given the type:15521553 # type: dynamic(:freebsd or :linux or :macosx or :windows32 or :windows64)1554 # from: lib/tasks/compile.bundlex.ex:35:371555 Bundlex.Platform.get_module(platform)15561557 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()15581559 type warning found at:1560 │1561 35 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)1562 │ ~1563 │1564 └─ lib/tasks/compile.bundlex.ex:35:58: Mix.Tasks.Compile.Bundlex.run/115651566 warning: a struct for Bundlex.Native is expected on struct update:15671568 %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}15691570 but got type:15711572 dynamic(%{..., sources: term()})15731574 where "native" was given the type:15751576 # type: dynamic(%{..., sources: term()})1577 # from: lib/bundlex/native.ex:124:511578 Enum.empty?(native.sources)15791580 when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"15811582 type warning found at:1583 │1584 127 │ %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}1585 │ ~1586 │1587 └─ lib/bundlex/native.ex:127:9: Bundlex.Native.parse_native/215881589 warning: expected a map or struct when accessing .toolchain_module in expression:15901591 Bundlex.Platform.get_module(platform).toolchain_module15921593 but got type:15941595 dynamic(1596 Bundlex.Platform.Freebsd or Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or1597 Bundlex.Platform.Windows32 or Bundlex.Platform.Windows641598 )15991600 where "platform" was given the type:16011602 # type: dynamic(:freebsd or :linux or :macosx or :windows32 or :windows64)1603 # from: lib/bundlex/native.ex:104:271604 Bundlex.Platform.get_module(platform)16051606 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()16071608 type warning found at:1609 │1610 104 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)1611 │ ~1612 │1613 └─ lib/bundlex/native.ex:104:48: Bundlex.Native.resolve_native/416141615Generated bundlex app1616warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()1617 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:35: Mix.Tasks.Compile.Bundlex.run/11618 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51619 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21620 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/41621 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/216221623==> bunch_native1624Bundlex: Building natives: lib, bunch1625warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()1626 (bundlex 0.5.1) lib/bundlex/native.ex:104: Bundlex.Native.resolve_native/41627 (bunch 1.3.2) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/31628 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:39: Mix.Tasks.Compile.Bundlex.run/11629 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51630 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/216311632Generated bunch_native app1633==> shmex1634Bundlex: Building natives: lib, shmex1635Compiling 2 files (.ex)1636Generated shmex app1637==> unifex1638Bundlex: Building natives: unifex1639Compiling 30 files (.ex)1640 warning: unused require Bundlex.CNode1641 │1642 6 │ require Bundlex.CNode1643 │ ~1644 │1645 └─ lib/unifex/cnode.ex:6:316461647Generated unifex app1648==> ex_dtls1649/usr/bin/sh: 1: clang-format: not found1650Bundlex: Building natives: native1651/work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.c: In function ‘gen_key’:1652/work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.c:123:3: warning: ‘RSA_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1653 123 | RSA *rsa = RSA_new();1654 | ^~~1655In file included from /work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.h:4,1656 from /work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.c:1:1657/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/include/openssl/rsa.h:212:28: note: declared here1658 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void);1659 | ^~~~~~~1660/work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.c:140:3: warning: ‘RSA_generate_key_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1661 140 | if (RSA_generate_key_ex(rsa, 2048, exp, NULL) == 0) {1662 | ^~1663/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/include/openssl/rsa.h:270:27: note: declared here1664 270 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e,1665 | ^~~~~~~~~~~~~~~~~~~1666/work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.c:145:3: warning: ‘EVP_PKEY_assign’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]1667 145 | if (EVP_PKEY_assign_RSA(pkey, rsa) == 0) {1668 | ^~1669In file included from /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/include/openssl/x509.h:31,1670 from /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/include/openssl/ssl.h:34,1671 from /work/proj/deps_rpi4/ex_dtls/c_src/ex_dtls/dtls.h:5:1672/work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/include/openssl/evp.h:1387:5: note: declared here1673 1387 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key);1674 | ^~~~~~~~~~~~~~~1675/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libssl.so when searching for -lssl1676/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libssl.a when searching for -lssl1677/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libcrypto.so when searching for -lcrypto1678/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libcrypto.a when searching for -lcrypto1679/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libc.so when searching for -lc1680/usr/bin/ld: skipping incompatible /work/nerves/artifacts/nerves_system_rpi4-2.2.2/staging/usr/lib/libc.a when searching for -lc1681Compiling 1 file (.ex)1682Generated ex_dtls app1683==> property_table1684Compiling 8 files (.ex)1685Generated property_table app1686==> nerves_uevent1687 CC uevent.o1688 LD uevent1689Compiling 5 files (.ex)1690Generated nerves_uevent app1691==> nerves_runtime1692Compiling 14 files (.ex)1693Generated nerves_runtime app1694==> toolshed1695Compiling 5 files (.ex)1696Generated toolshed app1697==> nerves_compatibility_test1698===> Fetching pc v1.15.01699===> Analyzing applications...1700===> Compiling pc1701===> Compiling c_src/fast_tls.c1702===> Compiling c_src/ioqueue.c1703===> Compiling c_src/p1_sha.c1704===> Linking /work/proj/_build/rpi4/lib/fast_tls/priv/lib/fast_tls.so1705===> Linking /work/proj/_build/rpi4/lib/fast_tls/priv/lib/p1_sha.so1706===> Analyzing applications...1707===> Compiling fast_tls1708 ┌─ src/p1_sha.erl:1709 │1710 54 │ case catch erlang:load_nif(SOPath, 0) of1711 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1712Compile directive 'nowarn_deprecated_catch' can be used to suppress1713warnings in selected modules.171417151716 ┌─ src/fast_tls.erl:1717 │1718 295 │ case catch get_peer_certificate_nif(Port) of1719 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1720Compile directive 'nowarn_deprecated_catch' can be used to suppress1721warnings in selected modules.17221723 ┌─ src/fast_tls.erl:1724 │1725 311 │ case catch get_negotiated_cipher_nif(Port) of1726 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1727Compile directive 'nowarn_deprecated_catch' can be used to suppress1728warnings in selected modules.172917301731===> Fetching rebar3_hex v7.5.01732===> Fetching hex_core v0.21.11733===> Fetching verl v1.1.11734===> Analyzing applications...1735===> Compiling verl1736===> Compiling hex_core1737===> Compiling rebar3_hex1738===> Analyzing applications...1739===> Compiling fake_turn1740 ┌─ src/stun_listener.erl:1741 │1742 82 │ catch erlang:demonitor(MRef, [flush]),1743 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1744Compile directive 'nowarn_deprecated_catch' can be used to suppress1745warnings in selected modules.17461747 ┌─ src/stun_listener.erl:1748 │1749 83 │ catch exit(Pid, kill),1750 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1751Compile directive 'nowarn_deprecated_catch' can be used to suppress1752warnings in selected modules.17531754 ┌─ src/stun_listener.erl:1755 │1756 200 │ case catch stun:udp_recv(Socket, Addr, Port, Packet, Opts) of1757 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1758Compile directive 'nowarn_deprecated_catch' can be used to suppress1759warnings in selected modules.176017611762 ┌─ src/stun.erl:1763 │1764 172 │ catch (State#state.sock_mod):close(State#state.sock),1765 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1766Compile directive 'nowarn_deprecated_catch' can be used to suppress1767warnings in selected modules.17681769 ┌─ src/stun.erl:1770 │1771 720 │ case catch iolist_to_binary(proplists:get_value(certfile, Opts)) of1772 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1773Compile directive 'nowarn_deprecated_catch' can be used to suppress1774warnings in selected modules.177517761777 ┌─ src/stun_codec.erl:1778 │1779 37 │ case catch decode(Type, Magic, TrID, Body) of1780 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1781Compile directive 'nowarn_deprecated_catch' can be used to suppress1782warnings in selected modules.178317841785==> ex_libnice1786/usr/bin/sh: 1: clang-format: not found1787/usr/bin/sh: 1: clang-format: not found1788Bundlex: Building natives: native1789Package nice was not found in the pkg-config search path.1790Perhaps you should add the directory containing `nice.pc'1791to the PKG_CONFIG_PATH environment variable1792Package 'nice', required by 'virtual:world', not found1793could 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"1794** (MatchError) no match of right hand side value:17951796 {"", 1}17971798 (bundlex 0.5.1) lib/bundlex/toolchain/common/unix.ex:104: Bundlex.Toolchain.Common.Unix.pkg_config/21799 (bundlex 0.5.1) lib/bundlex/toolchain/common/unix.ex:10: Bundlex.Toolchain.Common.Unix.compiler_commands/51800 (bundlex 0.5.1) lib/bundlex/native.ex:104: Bundlex.Native.resolve_native/41801 (bunch 1.3.2) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/31802 (bundlex 0.5.1) lib/tasks/compile.bundlex.ex:39: Mix.Tasks.Compile.Bundlex.run/11803 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/51804 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/21805 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4