Build log
nerves_system_x86_64
membrane_element_sdl 0.3.2 · fail · run membrane_element_sdl-0.3.2-1790991206702
877 of 877 lines
1Resolving Hex dependencies...2Resolution completed in 0.141s3Unchanged:4 bunch 1.6.45 bunch_native 0.2.16 bundlex 0.2.87 circular_buffer 1.1.08 coerce 1.0.29 elixir_make 0.10.010 interactive_cmd 0.1.411 membrane_caps_video_raw 0.1.012 membrane_common_c 0.3.013 membrane_core 0.5.314 membrane_element_sdl 0.3.2 RETIRED!15 (renamed) Renamed to membrane_sdl_plugin16 nerves 2.0.0-pre.217 nerves_discovery 0.1.518 nerves_logging 0.2.419 nerves_runtime 0.13.1320 nerves_system_bbb 2.30.221 nerves_system_br 1.34.422 nerves_system_mangopi_mq_pro 0.17.223 nerves_system_qemu_aarch64 0.4.224 nerves_system_rpi0 2.1.225 nerves_system_rpi4 2.1.226 nerves_system_rpi5 2.1.227 nerves_system_trellis 0.5.028 nerves_system_x86_64 1.34.229 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.130 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.131 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.132 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.133 nerves_toolchain_x86_64_nerves_linux_musl 15.3.134 nerves_uevent 0.1.735 numbers 5.2.536 property_table 0.3.437 qex 0.5.238 ratio 2.4.239 ring_logger 0.11.740 secure_random 0.5.141 shmex 0.2.142 tablet 0.3.343 toolshed 0.5.044 uboot_env 1.0.245 unifex 0.2.646* Getting membrane_element_sdl (Hex package)47* Getting nerves (Hex package)48* Getting ring_logger (Hex package)49* Getting toolshed (Hex package)50* Getting nerves_runtime (Hex package)51* Getting nerves_system_bbb (Hex package)52* Getting nerves_system_mangopi_mq_pro (Hex package)53* Getting nerves_system_qemu_aarch64 (Hex package)54* Getting nerves_system_rpi0 (Hex package)55* Getting nerves_system_rpi4 (Hex package)56* Getting nerves_system_rpi5 (Hex package)57* Getting nerves_system_trellis (Hex package)58* Getting nerves_system_x86_64 (Hex package)59* Getting nerves_system_br (Hex package)60* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)61* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)62* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)63* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)64* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)65* Getting nerves_logging (Hex package)66* Getting nerves_uevent (Hex package)67* Getting uboot_env (Hex package)68* Getting elixir_make (Hex package)69* Getting property_table (Hex package)70* Getting circular_buffer (Hex package)71* Getting interactive_cmd (Hex package)72* Getting nerves_discovery (Hex package)73* Getting tablet (Hex package)74* Getting bundlex (Hex package)75* Getting membrane_caps_video_raw (Hex package)76* Getting membrane_common_c (Hex package)77* Getting membrane_core (Hex package)78* Getting shmex (Hex package)79* Getting bunch_native (Hex package)80* Getting bunch (Hex package)81* Getting qex (Hex package)82* Getting ratio (Hex package)83* Getting numbers (Hex package)84* Getting coerce (Hex package)85* Getting unifex (Hex package)86* Getting secure_random (Hex package)87Found retired packages, see above for details88==> membrane_caps_video_raw89Compiling 1 file (.ex)90Generated membrane_caps_video_raw app91==> secure_random92Compiling 1 file (.ex)93 warning: use Bitwise is deprecated. import Bitwise instead94 │95 2 │ use Bitwise96 │ ~~~~~~~~~~~97 │98 └─ lib/secure_random.ex:2: SecureRandom (module)99100Generated secure_random app101==> bundlex102Compiling 26 files (.ex)103 warning: using single-quoted strings to represent charlists is deprecated.104 Use ~c"" if you indeed want a charlist or use "" instead.105 You may run "mix format --migrate" to change all single-quoted106 strings to use the ~c sigil and fix this warning.107 │108 38 │ {port, {:data, {:eol, 'ready'}}},109 │ ~110 │111 └─ lib/bundlex/cnode/server.ex:38:31112113 warning: using single-quoted strings to represent charlists is deprecated.114 Use ~c"" if you indeed want a charlist or use "" instead.115 You may run "mix format --migrate" to change all single-quoted116 strings to use the ~c sigil and fix this warning.117 │118 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')119 │ ~120 │121 └─ lib/bundlex/platform.ex:48:41122123 warning: using single-quoted strings to represent charlists is deprecated.124 Use ~c"" if you indeed want a charlist or use "" instead.125 You may run "mix format --migrate" to change all single-quoted126 strings to use the ~c sigil and fix this warning.127 │128 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')129 │ ~130 │131 └─ lib/bundlex/platform.ex:49:45132133 warning: expected a map or struct when accessing .toolchain_module in expression:134135 Bundlex.Platform.get_module(platform).toolchain_module136137 but got type:138139 dynamic(140 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or141 Bundlex.Platform.Windows64142 )143144 where "platform" was given the type:145146 # type: dynamic(:linux or :macosx or :windows32 or :windows64)147 # from: lib/tasks/compile.bundlex.ex:34:37148 Bundlex.Platform.get_module(platform)149150 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()151152 type warning found at:153 │154 34 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)155 │ ~156 │157 └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/1158159 warning: expected a map or struct when accessing .toolchain_module in expression:160161 Bundlex.Platform.get_module(platform).toolchain_module162163 but got type:164165 dynamic(166 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or167 Bundlex.Platform.Windows64168 )169170 where "platform" was given the type:171172 # type: dynamic(:linux or :macosx or :windows32 or :windows64)173 # from: lib/bundlex/native.ex:86:27174 Bundlex.Platform.get_module(platform)175176 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()177178 type warning found at:179 │180 86 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)181 │ ~182 │183 └─ lib/bundlex/native.ex:86:48: Bundlex.Native.resolve_native/4184185Generated bundlex app186warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()187 (bundlex 0.2.8) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1188 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5189 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2190 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4191 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2192193==> bunch_native194Bundlex: Building natives: bunch, bunch_nif195warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()196 (bundlex 0.2.8) lib/bundlex/native.ex:86: Bundlex.Native.resolve_native/4197 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3198 (bundlex 0.2.8) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1199 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5200 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2201202Generated bunch_native app203==> shmex204Bundlex: Building natives: lib, lib_nif, lib_cnode, shmex205Compiling 2 files (.ex)206 warning: the following pattern will never match:207208 {:ok, trimmed_front} <- trim_leading(shm, bytes)209210 because the right-hand side has type:211212 none()213214 where "bytes" was given the type:215216 # type: dynamic()217 # from: lib/shmex_native.ex:119:17218 bytes219220 where "shm" was given the type:221222 # type: dynamic()223 # from: lib/shmex_native.ex:119:12224 shm225226 type warning found at:227 │228 120 │ with {:ok, trimmed_front} <- trim_leading(shm, bytes),229 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~230 │231 └─ lib/shmex_native.ex:120: Shmex.Native.trim/2232233Generated shmex app234==> unifex235Bundlex: Building natives: unifex236Compiling 18 files (.ex)237 warning: using single-quoted strings to represent charlists is deprecated.238 Use ~c"" if you indeed want a charlist or use "" instead.239 You may run "mix format --migrate" to change all single-quoted240 strings to use the ~c sigil and fix this warning.241 │242 180 │ #{do_generate_arg_parse(elem_name, type, ~g<elem>, ctx) |> gen('i')}243 │ ~244 │245 └─ lib/unifex/base_type.ex:180:70246247 warning: using single-quoted strings to represent charlists is deprecated.248 Use ~c"" if you indeed want a charlist or use "" instead.249 You may run "mix format --migrate" to change all single-quoted250 strings to use the ~c sigil and fix this warning.251 │252 56 │ def sigil_g(content, 'r' ++ flags) do253 │ ~254 │255 └─ lib/unifex/native_code_generator.ex:56:24256257 warning: using single-quoted strings to represent charlists is deprecated.258 Use ~c"" if you indeed want a charlist or use "" instead.259 You may run "mix format --migrate" to change all single-quoted260 strings to use the ~c sigil and fix this warning.261 │262 71 │ def sigil_g(content, 't' ++ flags) do263 │ ~264 │265 └─ lib/unifex/native_code_generator.ex:71:24266267 warning: using single-quoted strings to represent charlists is deprecated.268 Use ~c"" if you indeed want a charlist or use "" instead.269 You may run "mix format --migrate" to change all single-quoted270 strings to use the ~c sigil and fix this warning.271 │272 76 │ def sigil_g(content, 'i' ++ flags) do273 │ ~274 │275 └─ lib/unifex/native_code_generator.ex:76:24276277 warning: using single-quoted strings to represent charlists is deprecated.278 Use ~c"" if you indeed want a charlist or use "" instead.279 You may run "mix format --migrate" to change all single-quoted280 strings to use the ~c sigil and fix this warning.281 │282 82 │ def sigil_g(content, 'I' ++ flags) do283 │ ~284 │285 └─ lib/unifex/native_code_generator.ex:82:24286287 warning: using single-quoted strings to represent charlists is deprecated.288 Use ~c"" if you indeed want a charlist or use "" instead.289 You may run "mix format --migrate" to change all single-quoted290 strings to use the ~c sigil and fix this warning.291 │292 103 │ def gen(content, 'j(' ++ flags) when is_list(content) do293 │ ~294 │295 └─ lib/unifex/native_code_generator.ex:103:20296297 warning: using single-quoted strings to represent charlists is deprecated.298 Use ~c"" if you indeed want a charlist or use "" instead.299 You may run "mix format --migrate" to change all single-quoted300 strings to use the ~c sigil and fix this warning.301 │302 104 │ {joiner, ')' ++ flags} = flags |> Enum.split_while(&([&1] != ')'))303 │ ~304 │305 └─ lib/unifex/native_code_generator.ex:104:14306307 warning: using single-quoted strings to represent charlists is deprecated.308 Use ~c"" if you indeed want a charlist or use "" instead.309 You may run "mix format --migrate" to change all single-quoted310 strings to use the ~c sigil and fix this warning.311 │312 104 │ {joiner, ')' ++ flags} = flags |> Enum.split_while(&([&1] != ')'))313 │ ~314 │315 └─ lib/unifex/native_code_generator.ex:104:66316317 warning: using single-quoted strings to represent charlists is deprecated.318 Use ~c"" if you indeed want a charlist or use "" instead.319 You may run "mix format --migrate" to change all single-quoted320 strings to use the ~c sigil and fix this warning.321 │322 109 │ def gen(content, 'n' ++ flags) when is_list(content) do323 │ ~324 │325 └─ lib/unifex/native_code_generator.ex:109:20326327 warning: using single-quoted strings to represent charlists is deprecated.328 Use ~c"" if you indeed want a charlist or use "" instead.329 You may run "mix format --migrate" to change all single-quoted330 strings to use the ~c sigil and fix this warning.331 │332 110 │ gen(content, 'j(\n)' ++ flags)333 │ ~334 │335 └─ lib/unifex/native_code_generator.ex:110:18336337 warning: using single-quoted strings to represent charlists is deprecated.338 Use ~c"" if you indeed want a charlist or use "" instead.339 You may run "mix format --migrate" to change all single-quoted340 strings to use the ~c sigil and fix this warning.341 │342 210 │ return #{result |> gen('it')};343 │ ~344 │345 └─ lib/unifex/native_code_generator.ex:210:30346347 warning: using single-quoted strings to represent charlists is deprecated.348 Use ~c"" if you indeed want a charlist or use "" instead.349 You may run "mix format --migrate" to change all single-quoted350 strings to use the ~c sigil and fix this warning.351 │352 233 │ ERL_NIF_TERM term = #{result |> gen('it')};353 │ ~354 │355 └─ lib/unifex/native_code_generator.ex:233:43356357 warning: using single-quoted strings to represent charlists is deprecated.358 Use ~c"" if you indeed want a charlist or use "" instead.359 You may run "mix format --migrate" to change all single-quoted360 strings to use the ~c sigil and fix this warning.361 │362 262 │ |> gen('nIt')363 │ ~364 │365 └─ lib/unifex/native_code_generator.ex:262:14366367 warning: using single-quoted strings to represent charlists is deprecated.368 Use ~c"" if you indeed want a charlist or use "" instead.369 You may run "mix format --migrate" to change all single-quoted370 strings to use the ~c sigil and fix this warning.371 │372 267 │ |> gen('nIt')373 │ ~374 │375 └─ lib/unifex/native_code_generator.ex:267:14376377 warning: using single-quoted strings to represent charlists is deprecated.378 Use ~c"" if you indeed want a charlist or use "" instead.379 You may run "mix format --migrate" to change all single-quoted380 strings to use the ~c sigil and fix this warning.381 │382 273 │ |> gen('nIt')383 │ ~384 │385 └─ lib/unifex/native_code_generator.ex:273:14386387 warning: using single-quoted strings to represent charlists is deprecated.388 Use ~c"" if you indeed want a charlist or use "" instead.389 You may run "mix format --migrate" to change all single-quoted390 strings to use the ~c sigil and fix this warning.391 │392 279 │ |> gen('nIt')393 │ ~394 │395 └─ lib/unifex/native_code_generator.ex:279:14396397 warning: using single-quoted strings to represent charlists is deprecated.398 Use ~c"" if you indeed want a charlist or use "" instead.399 You may run "mix format --migrate" to change all single-quoted400 strings to use the ~c sigil and fix this warning.401 │402 465 │ |> gen('j(,\n)i')403 │ ~404 │405 └─ lib/unifex/native_code_generator.ex:465:14406407 warning: using single-quoted strings to represent charlists is deprecated.408 Use ~c"" if you indeed want a charlist or use "" instead.409 You may run "mix format --migrate" to change all single-quoted410 strings to use the ~c sigil and fix this warning.411 │412 533 │ #{content |> gen('j(,\n)iit')}413 │ ~414 │415 └─ lib/unifex/native_code_generator.ex:533:26416417Generated unifex app418==> membrane_core419Compiling 106 files (.ex)420 warning: unused require Record421 │422 35 │ require Record423 │ ~424 │425 └─ lib/membrane/caps/matcher.ex:35:3426427 warning: unused require Membrane.Core.Message428 │429 13 │ require Message430 │ ~431 │432 └─ lib/membrane/core/input_buffer.ex:13:3433434 warning: use Bunch.Typespec is deprecated. `use Bunch.Typespec` only brings to scope the deprecated @/1435 │436 15 │ use Bunch.Typespec437 │ ~~~~~~~~~~~~~~~~~~438 │439 └─ lib/membrane/pad.ex:15: Membrane.Pad (module)440441warning: Bunch.Typespec.@list_type is deprecated. Use Bunch.Typespec.enum_to_alternative/1 instead.442 (bunch 1.6.4) lib/bunch/typespec.ex:33: Bunch.Typespec."MACRO-@"/2443 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7444 (elixir 1.20.3) src/elixir_dispatch.erl:122: :elixir_dispatch.dispatch_import/6445 (elixir 1.20.3) src/elixir_expand.erl:679: :elixir_expand.expand_block/5446 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3447 (elixir 1.20.3) src/elixir_expand.erl:18: :elixir_expand.expand/3448449 warning: unused require Membrane.Pad450 │451 14 │ require Pad452 │ ~453 │454 └─ lib/membrane/core/element/state.ex:14:3455456 warning: unused require Membrane.Core.Message457 │458 8 │ require Message459 │ ~460 │461 └─ lib/membrane/core/bin/linking_buffer.ex:8:3462463 warning: unused require Membrane.Core.Child.PadModel464 │465 16 │ require PadModel466 │ ~467 │468 └─ lib/membrane/core/child/pad_controller.ex:16:3469470 warning: unused require Membrane.Core.Message471 │472 14 │ require Message473 │ ~474 │475 └─ lib/membrane/core/child/pad_controller.ex:14:3476477 warning: unused require Membrane.Core.Message478 │479 6 │ require Membrane.Core.Message480 │ ~481 │482 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:6:3483484 warning: unused require Membrane.Core.Message485 │486 14 │ require Message487 │ ~488 │489 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:14:3490491 warning: unused require Membrane.Core.Child.PadModel492 │493 14 │ require PadModel494 │ ~495 │496 └─ lib/membrane/core/element/event_controller.ex:14:3497498 warning: unused require Membrane.Core.Message499 │500 13 │ require Message501 │ ~502 │503 └─ lib/membrane/core/element/event_controller.ex:13:3504505 warning: unused require Membrane.Core.Child.PadModel506 │507 19 │ require PadModel508 │ ~509 │510 └─ lib/membrane/core/element/demand_handler.ex:19:3511512 warning: unused require Membrane.Core.Message513 │514 18 │ require Message515 │ ~516 │517 └─ lib/membrane/core/element/demand_handler.ex:18:3518519 warning: unused require Membrane.Core.Child.PadModel520 │521 23 │ require PadModel522 │ ~523 │524 └─ lib/membrane/core/element/action_handler.ex:23:3525526 warning: unused require Membrane.Core.Message527 │528 22 │ require Message529 │ ~530 │531 └─ lib/membrane/core/element/action_handler.ex:22:3532533 warning: unused require Membrane.Pad534 │535 9 │ require Pad536 │ ~537 │538 └─ lib/membrane/core/child/pad_spec_handler.ex:9:3539540 warning: unused require Membrane.Core.Message541 │542 10 │ require Message543 │ ~544 │545 └─ lib/membrane/core/bin/action_handler.ex:10:3546547 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 operator548 │549 100 │ <<part1::binary-size(at_pos), part2::binary>> = payload550 │ ~551 │552 └─ lib/membrane/payload.ex:100:26: Membrane.Payload.BitString.split_at/2553554 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 operator555 │556 113 │ <<_dropped::binary-size(bytes), rest::binary>> = payload557 │ ~558 │559 └─ lib/membrane/payload.ex:113:29: Membrane.Payload.BitString.drop/2560561 warning: unused require Membrane.Core.Message562 │563 30 │ require Message564 │ ~565 │566 └─ lib/membrane/pipeline.ex:30:3567568 warning: unused require Membrane.Element569 │570 28 │ require Element571 │ ~572 │573 └─ lib/membrane/pipeline.ex:28:3574575 warning: unused require Membrane.Pad576 │577 31 │ require Pad578 │ ~579 │580 └─ lib/membrane/pipeline.ex:31:3581582 warning: unused require Membrane.PlaybackState583 │584 29 │ require PlaybackState585 │ ~586 │587 └─ lib/membrane/pipeline.ex:29:3588589 warning: unused require Membrane.Core.Child.PadModel590 │591 40 │ require PadModel592 │ ~593 │594 └─ lib/membrane/bin.ex:40:3595596 warning: unused require Membrane.Element597 │598 36 │ require Element599 │ ~600 │601 └─ lib/membrane/bin.ex:36:3602603 warning: unused require Membrane.Pad604 │605 38 │ require Pad606 │ ~607 │608 └─ lib/membrane/bin.ex:38:3609610 warning: unused require Membrane.PlaybackState611 │612 41 │ require Membrane.PlaybackState613 │ ~614 │615 └─ lib/membrane/bin.ex:41:3616617 warning: unused require Membrane.Core.Message618 │619 15 │ require Message620 │ ~621 │622 └─ lib/membrane/core/playback_handler.ex:15:3623624 warning: unused require Membrane.Bin625 │626 6 │ require Membrane.Bin627 │ ~628 │629 └─ lib/membrane/core/parent/child_life_controller.ex:6:3630631 warning: unused require Membrane.Core.Message632 │633 7 │ require Membrane.Core.Message634 │ ~635 │636 └─ lib/membrane/core/parent/child_life_controller.ex:7:3637638 warning: unused require Membrane.Element639 │640 8 │ require Membrane.Element641 │ ~642 │643 └─ lib/membrane/core/parent/child_life_controller.ex:8:3644645 warning: unused require Membrane.PlaybackState646 │647 9 │ require Membrane.PlaybackState648 │ ~649 │650 └─ lib/membrane/core/parent/child_life_controller.ex:9:3651652 warning: unused require Membrane.Core.Child.PadModel653 │654 23 │ require PadModel655 │ ~656 │657 └─ lib/membrane/core/parent/lifecycle_controller.ex:23:3658659 warning: unused require Membrane.Core.Message660 │661 22 │ require Message662 │ ~663 │664 └─ lib/membrane/core/parent/lifecycle_controller.ex:22:3665666 warning: unused require Membrane.PlaybackState667 │668 24 │ require PlaybackState669 │ ~670 │671 └─ lib/membrane/core/parent/lifecycle_controller.ex:24:3672673 warning: unused require Membrane.Core.Child.PadModel674 │675 10 │ require Membrane.Core.Child.PadModel676 │ ~677 │678 └─ lib/membrane/core/element/lifecycle_controller.ex:10:3679680 warning: unused require Membrane.Core.Message681 │682 11 │ require Membrane.Core.Message683 │ ~684 │685 └─ lib/membrane/core/element/lifecycle_controller.ex:11:3686687 warning: unused require Membrane.Core.Playback688 │689 12 │ require Membrane.Core.Playback690 │ ~691 │692 └─ lib/membrane/core/element/lifecycle_controller.ex:12:369369469501:38:01.029 [warning] Passing :require_if option to Bunch.Config.parse/2 is deprecated, pass function returning constraints instead69669701:38:01.298 [warning] Passing :require_if option to Bunch.Config.parse/2 is deprecated, pass function returning constraints instead698 warning: the following clause will never match:699700 {{:error, reason}, state} ->701702 it is expected to match on type:703704 none()705706 type warning found at:707 │708 56 │ do: {{:error, reason}, state} ->709 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~710 │711 └─ lib/membrane/core/element/event_controller.ex:56: Membrane.Core.Element.EventController.exec_handle_event/4712713 warning: expected a map or struct when accessing .membrane_element_type in expression:714715 &1.module.membrane_element_type716717 but got type:718719 dynamic(atom())720721 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()722723 type warning found at:724 │725 37 │ &(Membrane.Element.element?(&1.module) and &1.module.membrane_element_type == :sink)726 │ ~727 │728 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:37:62: Membrane.Core.Parent.ChildLifeController.StartupHandler.setup_syncs/2729730 warning: a struct for Membrane.Core.Parent.Link is expected on struct update:731732 %Membrane.Core.Parent.Link{733 &1734 | from: resolve_endpoint(&1.from, state),735 to: resolve_endpoint(&1.to, state)736 }737738 but got type:739740 dynamic()741742 instead of using &1, you must define an anonymous function, define a variable and pattern match on "%Membrane.Core.Parent.Link{}"743744 type warning found at:745 │746 22 │ &%Link{&1 | from: resolve_endpoint(&1.from, state), to: resolve_endpoint(&1.to, state)}747 │ ~748 │749 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:22:8: Membrane.Core.Parent.ChildLifeController.LinkHandler.resolve_links/2750751 warning: the following clause will never match:752753 {:error, reason} ->754755 it is expected to match on type:756757 none()758759 type warning found at:760 │761 56 │ {:error, reason} -> raise LinkError, "#{inspect(reason)}"762 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~763 │764 └─ lib/membrane/core/child/pad_controller.ex:56: Membrane.Core.Child.PadController.handle_link/7765766 warning: a struct for Membrane.Core.InputBuffer is expected on struct update:767768 %Membrane.Core.InputBuffer{buf | toilet?: true}769770 but got type:771772 dynamic()773774 where "buf" was given the type:775776 # type: dynamic()777 # from: lib/membrane/core/input_buffer.ex:112:21778 buf779780 when defining the variable "buf", you must also pattern match on "%Membrane.Core.InputBuffer{}"781782 type warning found at:783 │784 112 │ def enable_toilet(buf), do: %__MODULE__{buf | toilet?: true}785 │ ~786 │787 └─ lib/membrane/core/input_buffer.ex:112:31: Membrane.Core.InputBuffer.enable_toilet/1788789 warning: expected a map or struct when accessing .input_buf_preferred_size in expression:790791 metric.input_buf_preferred_size792793 where "metric" was given the type:794795 # type: dynamic(Membrane.Buffer.Metric.ByteSize or Membrane.Buffer.Metric.Count)796 # from: lib/membrane/core/input_buffer.ex:91:12797 metric = Membrane.Buffer.Metric.from_unit(demand_unit)798799 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()800801 type warning found at:802 │803 92 │ preferred_size = props[:preferred_size] || metric.input_buf_preferred_size804 │ ~805 │806 └─ lib/membrane/core/input_buffer.ex:92:55: Membrane.Core.InputBuffer.init/5807808 warning: a struct for Membrane.Core.Timer is expected on struct update:809810 %Membrane.Core.Timer{timer | ratio: ratio}811812 but got type:813814 dynamic()815816 where "timer" was given the type:817818 # type: dynamic()819 # from: lib/membrane/core/timer.ex:36:20820 timer821822 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"823824 type warning found at:825 │826 37 │ %__MODULE__{timer | ratio: ratio}827 │ ~828 │829 └─ lib/membrane/core/timer.ex:37:5: Membrane.Core.Timer.update_ratio/2830831 warning: a struct for Membrane.Core.Timer is expected on struct update:832833 %Membrane.Core.Timer{timer | interval: interval}834835 but got type:836837 dynamic(not %Membrane.Core.Timer{interval: :no_interval})838839 where "timer" was given the type:840841 # type: dynamic(not %Membrane.Core.Timer{interval: :no_interval})842 # from: lib/membrane/core/timer.ex:67:20843 timer844845 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"846847 type warning found at:848 │849 68 │ %__MODULE__{timer | interval: interval}850 │ ~851 │852 └─ lib/membrane/core/timer.ex:68:5: Membrane.Core.Timer.set_interval/2853854Generated membrane_core app855==> membrane_common_c856Bundlex: Building natives: membrane, membrane_ringbuffer857Compiling 1 file (.ex)858Generated membrane_common_c app859==> membrane_element_sdl860Bundlex: Building natives: player861Package sdl2 was not found in the pkg-config search path.862Perhaps you should add the directory containing `sdl2.pc'863to the PKG_CONFIG_PATH environment variable864Package 'sdl2', required by 'virtual:world', not found865could not compile dependency :membrane_element_sdl, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile membrane_element_sdl --force", update it with "mix deps.update membrane_element_sdl" or clean it with "mix deps.clean membrane_element_sdl"866** (MatchError) no match of right hand side value:867868 {"", 1}869870 (bundlex 0.2.8) lib/bundlex/toolchain/common/unix.ex:87: Bundlex.Toolchain.Common.Unix.pkg_config/2871 (bundlex 0.2.8) lib/bundlex/toolchain/common/unix.ex:9: Bundlex.Toolchain.Common.Unix.compiler_commands/4872 (bundlex 0.2.8) lib/bundlex/native.ex:86: Bundlex.Native.resolve_native/4873 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3874 (bundlex 0.2.8) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1875 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5876 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2877 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4