Build log
host
membrane_element_lame 0.4.1 · fail · run membrane_element_lame-0.4.1-1790990695779
930 of 930 lines
1Resolving Hex dependencies...2Resolution completed in 0.205s3Unchanged:4 bimap 1.3.05 bunch 1.6.46 bunch_native 0.2.17 bundlex 0.2.88 circular_buffer 1.1.09 coerce 1.0.210 elixir_make 0.10.011 interactive_cmd 0.1.412 membrane_caps_audio_mpeg 0.2.013 membrane_caps_audio_raw 0.2.014 membrane_common_c 0.3.015 membrane_core 0.5.316 membrane_element_lame 0.4.1 RETIRED!17 (renamed) Renamed to membrane_mp3_lame_plugin18 nerves 2.0.0-pre.219 nerves_discovery 0.1.520 nerves_logging 0.2.421 nerves_runtime 0.13.1322 nerves_system_bbb 2.30.223 nerves_system_br 1.34.424 nerves_system_mangopi_mq_pro 0.17.225 nerves_system_qemu_aarch64 0.4.226 nerves_system_rpi0 2.1.227 nerves_system_rpi4 2.1.228 nerves_system_rpi5 2.1.229 nerves_system_trellis 0.5.030 nerves_system_x86_64 1.34.231 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.132 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.133 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.134 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.135 nerves_toolchain_x86_64_nerves_linux_musl 15.3.136 nerves_uevent 0.1.737 numbers 5.2.538 property_table 0.3.439 qex 0.5.240 ratio 2.4.241 ring_logger 0.11.742 secure_random 0.5.143 shmex 0.2.144 tablet 0.3.345 toolshed 0.5.046 uboot_env 1.0.247 unifex 0.2.648Found retired packages, see above for details49All dependencies have been fetched50==> membrane_caps_audio_mpeg51Compiling 1 file (.ex)52Generated membrane_caps_audio_mpeg app53==> secure_random54Compiling 1 file (.ex)55 warning: use Bitwise is deprecated. import Bitwise instead56 │57 2 │ use Bitwise58 │ ~~~~~~~~~~~59 │60 └─ lib/secure_random.ex:2: SecureRandom (module)6162Generated secure_random app63==> bundlex64Compiling 26 files (.ex)65 warning: using single-quoted strings to represent charlists is deprecated.66 Use ~c"" if you indeed want a charlist or use "" instead.67 You may run "mix format --migrate" to change all single-quoted68 strings to use the ~c sigil and fix this warning.69 │70 38 │ {port, {:data, {:eol, 'ready'}}},71 │ ~72 │73 └─ lib/bundlex/cnode/server.ex:38:317475 warning: using single-quoted strings to represent charlists is deprecated.76 Use ~c"" if you indeed want a charlist or use "" instead.77 You may run "mix format --migrate" to change all single-quoted78 strings to use the ~c sigil and fix this warning.79 │80 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')81 │ ~82 │83 └─ lib/bundlex/platform.ex:48:418485 warning: using single-quoted strings to represent charlists is deprecated.86 Use ~c"" if you indeed want a charlist or use "" instead.87 You may run "mix format --migrate" to change all single-quoted88 strings to use the ~c sigil and fix this warning.89 │90 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')91 │ ~92 │93 └─ lib/bundlex/platform.ex:49:459495 warning: expected a map or struct when accessing .toolchain_module in expression:9697 Bundlex.Platform.get_module(platform).toolchain_module9899 but got type:100101 dynamic(102 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or103 Bundlex.Platform.Windows64104 )105106 where "platform" was given the type:107108 # type: dynamic(:linux or :macosx or :windows32 or :windows64)109 # from: lib/tasks/compile.bundlex.ex:34:37110 Bundlex.Platform.get_module(platform)111112 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()113114 type warning found at:115 │116 34 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)117 │ ~118 │119 └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/1120121 warning: expected a map or struct when accessing .toolchain_module in expression:122123 Bundlex.Platform.get_module(platform).toolchain_module124125 but got type:126127 dynamic(128 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or129 Bundlex.Platform.Windows64130 )131132 where "platform" was given the type:133134 # type: dynamic(:linux or :macosx or :windows32 or :windows64)135 # from: lib/bundlex/native.ex:86:27136 Bundlex.Platform.get_module(platform)137138 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()139140 type warning found at:141 │142 86 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)143 │ ~144 │145 └─ lib/bundlex/native.ex:86:48: Bundlex.Native.resolve_native/4146147Generated bundlex app148warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()149 (bundlex 0.2.8) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1150 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5151 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2152 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4153 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2154155==> bunch_native156Bundlex: Building natives: bunch, bunch_nif157warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()158 (bundlex 0.2.8) lib/bundlex/native.ex:86: Bundlex.Native.resolve_native/4159 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3160 (bundlex 0.2.8) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1161 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5162 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2163164Generated bunch_native app165==> shmex166Bundlex: Building natives: lib, lib_nif, lib_cnode, shmex167Compiling 2 files (.ex)168 warning: the following pattern will never match:169170 {:ok, trimmed_front} <- trim_leading(shm, bytes)171172 because the right-hand side has type:173174 none()175176 where "bytes" was given the type:177178 # type: dynamic()179 # from: lib/shmex_native.ex:119:17180 bytes181182 where "shm" was given the type:183184 # type: dynamic()185 # from: lib/shmex_native.ex:119:12186 shm187188 type warning found at:189 │190 120 │ with {:ok, trimmed_front} <- trim_leading(shm, bytes),191 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~192 │193 └─ lib/shmex_native.ex:120: Shmex.Native.trim/2194195Generated shmex app196==> unifex197Bundlex: Building natives: unifex198Compiling 18 files (.ex)199 warning: using single-quoted strings to represent charlists is deprecated.200 Use ~c"" if you indeed want a charlist or use "" instead.201 You may run "mix format --migrate" to change all single-quoted202 strings to use the ~c sigil and fix this warning.203 │204 180 │ #{do_generate_arg_parse(elem_name, type, ~g<elem>, ctx) |> gen('i')}205 │ ~206 │207 └─ lib/unifex/base_type.ex:180:70208209 warning: using single-quoted strings to represent charlists is deprecated.210 Use ~c"" if you indeed want a charlist or use "" instead.211 You may run "mix format --migrate" to change all single-quoted212 strings to use the ~c sigil and fix this warning.213 │214 56 │ def sigil_g(content, 'r' ++ flags) do215 │ ~216 │217 └─ lib/unifex/native_code_generator.ex:56:24218219 warning: using single-quoted strings to represent charlists is deprecated.220 Use ~c"" if you indeed want a charlist or use "" instead.221 You may run "mix format --migrate" to change all single-quoted222 strings to use the ~c sigil and fix this warning.223 │224 71 │ def sigil_g(content, 't' ++ flags) do225 │ ~226 │227 └─ lib/unifex/native_code_generator.ex:71:24228229 warning: using single-quoted strings to represent charlists is deprecated.230 Use ~c"" if you indeed want a charlist or use "" instead.231 You may run "mix format --migrate" to change all single-quoted232 strings to use the ~c sigil and fix this warning.233 │234 76 │ def sigil_g(content, 'i' ++ flags) do235 │ ~236 │237 └─ lib/unifex/native_code_generator.ex:76:24238239 warning: using single-quoted strings to represent charlists is deprecated.240 Use ~c"" if you indeed want a charlist or use "" instead.241 You may run "mix format --migrate" to change all single-quoted242 strings to use the ~c sigil and fix this warning.243 │244 82 │ def sigil_g(content, 'I' ++ flags) do245 │ ~246 │247 └─ lib/unifex/native_code_generator.ex:82:24248249 warning: using single-quoted strings to represent charlists is deprecated.250 Use ~c"" if you indeed want a charlist or use "" instead.251 You may run "mix format --migrate" to change all single-quoted252 strings to use the ~c sigil and fix this warning.253 │254 103 │ def gen(content, 'j(' ++ flags) when is_list(content) do255 │ ~256 │257 └─ lib/unifex/native_code_generator.ex:103:20258259 warning: using single-quoted strings to represent charlists is deprecated.260 Use ~c"" if you indeed want a charlist or use "" instead.261 You may run "mix format --migrate" to change all single-quoted262 strings to use the ~c sigil and fix this warning.263 │264 104 │ {joiner, ')' ++ flags} = flags |> Enum.split_while(&([&1] != ')'))265 │ ~266 │267 └─ lib/unifex/native_code_generator.ex:104:14268269 warning: using single-quoted strings to represent charlists is deprecated.270 Use ~c"" if you indeed want a charlist or use "" instead.271 You may run "mix format --migrate" to change all single-quoted272 strings to use the ~c sigil and fix this warning.273 │274 104 │ {joiner, ')' ++ flags} = flags |> Enum.split_while(&([&1] != ')'))275 │ ~276 │277 └─ lib/unifex/native_code_generator.ex:104:66278279 warning: using single-quoted strings to represent charlists is deprecated.280 Use ~c"" if you indeed want a charlist or use "" instead.281 You may run "mix format --migrate" to change all single-quoted282 strings to use the ~c sigil and fix this warning.283 │284 109 │ def gen(content, 'n' ++ flags) when is_list(content) do285 │ ~286 │287 └─ lib/unifex/native_code_generator.ex:109:20288289 warning: using single-quoted strings to represent charlists is deprecated.290 Use ~c"" if you indeed want a charlist or use "" instead.291 You may run "mix format --migrate" to change all single-quoted292 strings to use the ~c sigil and fix this warning.293 │294 110 │ gen(content, 'j(\n)' ++ flags)295 │ ~296 │297 └─ lib/unifex/native_code_generator.ex:110:18298299 warning: using single-quoted strings to represent charlists is deprecated.300 Use ~c"" if you indeed want a charlist or use "" instead.301 You may run "mix format --migrate" to change all single-quoted302 strings to use the ~c sigil and fix this warning.303 │304 210 │ return #{result |> gen('it')};305 │ ~306 │307 └─ lib/unifex/native_code_generator.ex:210:30308309 warning: using single-quoted strings to represent charlists is deprecated.310 Use ~c"" if you indeed want a charlist or use "" instead.311 You may run "mix format --migrate" to change all single-quoted312 strings to use the ~c sigil and fix this warning.313 │314 233 │ ERL_NIF_TERM term = #{result |> gen('it')};315 │ ~316 │317 └─ lib/unifex/native_code_generator.ex:233:43318319 warning: using single-quoted strings to represent charlists is deprecated.320 Use ~c"" if you indeed want a charlist or use "" instead.321 You may run "mix format --migrate" to change all single-quoted322 strings to use the ~c sigil and fix this warning.323 │324 262 │ |> gen('nIt')325 │ ~326 │327 └─ lib/unifex/native_code_generator.ex:262:14328329 warning: using single-quoted strings to represent charlists is deprecated.330 Use ~c"" if you indeed want a charlist or use "" instead.331 You may run "mix format --migrate" to change all single-quoted332 strings to use the ~c sigil and fix this warning.333 │334 267 │ |> gen('nIt')335 │ ~336 │337 └─ lib/unifex/native_code_generator.ex:267:14338339 warning: using single-quoted strings to represent charlists is deprecated.340 Use ~c"" if you indeed want a charlist or use "" instead.341 You may run "mix format --migrate" to change all single-quoted342 strings to use the ~c sigil and fix this warning.343 │344 273 │ |> gen('nIt')345 │ ~346 │347 └─ lib/unifex/native_code_generator.ex:273:14348349 warning: using single-quoted strings to represent charlists is deprecated.350 Use ~c"" if you indeed want a charlist or use "" instead.351 You may run "mix format --migrate" to change all single-quoted352 strings to use the ~c sigil and fix this warning.353 │354 279 │ |> gen('nIt')355 │ ~356 │357 └─ lib/unifex/native_code_generator.ex:279:14358359 warning: using single-quoted strings to represent charlists is deprecated.360 Use ~c"" if you indeed want a charlist or use "" instead.361 You may run "mix format --migrate" to change all single-quoted362 strings to use the ~c sigil and fix this warning.363 │364 465 │ |> gen('j(,\n)i')365 │ ~366 │367 └─ lib/unifex/native_code_generator.ex:465:14368369 warning: using single-quoted strings to represent charlists is deprecated.370 Use ~c"" if you indeed want a charlist or use "" instead.371 You may run "mix format --migrate" to change all single-quoted372 strings to use the ~c sigil and fix this warning.373 │374 533 │ #{content |> gen('j(,\n)iit')}375 │ ~376 │377 └─ lib/unifex/native_code_generator.ex:533:26378379Generated unifex app380==> membrane_core381Compiling 106 files (.ex)382 warning: unused require Record383 │384 35 │ require Record385 │ ~386 │387 └─ lib/membrane/caps/matcher.ex:35:3388389 warning: unused require Membrane.Core.Message390 │391 13 │ require Message392 │ ~393 │394 └─ lib/membrane/core/input_buffer.ex:13:3395396 warning: use Bunch.Typespec is deprecated. `use Bunch.Typespec` only brings to scope the deprecated @/1397 │398 15 │ use Bunch.Typespec399 │ ~~~~~~~~~~~~~~~~~~400 │401 └─ lib/membrane/pad.ex:15: Membrane.Pad (module)402403warning: Bunch.Typespec.@list_type is deprecated. Use Bunch.Typespec.enum_to_alternative/1 instead.404 (bunch 1.6.4) lib/bunch/typespec.ex:33: Bunch.Typespec."MACRO-@"/2405 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7406 (elixir 1.20.3) src/elixir_dispatch.erl:122: :elixir_dispatch.dispatch_import/6407 (elixir 1.20.3) src/elixir_expand.erl:679: :elixir_expand.expand_block/5408 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3409 (elixir 1.20.3) src/elixir_expand.erl:18: :elixir_expand.expand/3410411 warning: unused require Membrane.Pad412 │413 14 │ require Pad414 │ ~415 │416 └─ lib/membrane/core/element/state.ex:14:3417418 warning: unused require Membrane.Core.Child.PadModel419 │420 14 │ require PadModel421 │ ~422 │423 └─ lib/membrane/core/element/event_controller.ex:14:3424425 warning: unused require Membrane.Core.Message426 │427 13 │ require Message428 │ ~429 │430 └─ lib/membrane/core/element/event_controller.ex:13:3431432 warning: unused require Membrane.Core.Child.PadModel433 │434 19 │ require PadModel435 │ ~436 │437 └─ lib/membrane/core/element/demand_handler.ex:19:3438439 warning: unused require Membrane.Core.Message440 │441 18 │ require Message442 │ ~443 │444 └─ lib/membrane/core/element/demand_handler.ex:18:3445446 warning: unused require Membrane.Core.Message447 │448 8 │ require Message449 │ ~450 │451 └─ lib/membrane/core/bin/linking_buffer.ex:8:3452453 warning: unused require Membrane.Core.Child.PadModel454 │455 16 │ require PadModel456 │ ~457 │458 └─ lib/membrane/core/child/pad_controller.ex:16:3459460 warning: unused require Membrane.Core.Message461 │462 14 │ require Message463 │ ~464 │465 └─ lib/membrane/core/child/pad_controller.ex:14:3466467 warning: unused require Membrane.Core.Child.PadModel468 │469 23 │ require PadModel470 │ ~471 │472 └─ lib/membrane/core/element/action_handler.ex:23:3473474 warning: unused require Membrane.Core.Message475 │476 22 │ require Message477 │ ~478 │479 └─ lib/membrane/core/element/action_handler.ex:22:3480481 warning: unused require Membrane.Core.Message482 │483 14 │ require Message484 │ ~485 │486 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:14:3487488 warning: unused require Membrane.Core.Message489 │490 6 │ require Membrane.Core.Message491 │ ~492 │493 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:6:3494495 warning: unused require Membrane.Pad496 │497 9 │ require Pad498 │ ~499 │500 └─ lib/membrane/core/child/pad_spec_handler.ex:9:3501502 warning: unused require Membrane.Core.Message503 │504 10 │ require Message505 │ ~506 │507 └─ lib/membrane/core/bin/action_handler.ex:10:3508509 warning: unused require Membrane.Core.Message510 │511 30 │ require Message512 │ ~513 │514 └─ lib/membrane/pipeline.ex:30:3515516 warning: unused require Membrane.Element517 │518 28 │ require Element519 │ ~520 │521 └─ lib/membrane/pipeline.ex:28:3522523 warning: unused require Membrane.Pad524 │525 31 │ require Pad526 │ ~527 │528 └─ lib/membrane/pipeline.ex:31:3529530 warning: unused require Membrane.PlaybackState531 │532 29 │ require PlaybackState533 │ ~534 │535 └─ lib/membrane/pipeline.ex:29:3536537 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 operator538 │539 100 │ <<part1::binary-size(at_pos), part2::binary>> = payload540 │ ~541 │542 └─ lib/membrane/payload.ex:100:26: Membrane.Payload.BitString.split_at/2543544 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 operator545 │546 113 │ <<_dropped::binary-size(bytes), rest::binary>> = payload547 │ ~548 │549 └─ lib/membrane/payload.ex:113:29: Membrane.Payload.BitString.drop/2550551 warning: unused require Membrane.Core.Child.PadModel552 │553 40 │ require PadModel554 │ ~555 │556 └─ lib/membrane/bin.ex:40:3557558 warning: unused require Membrane.Element559 │560 36 │ require Element561 │ ~562 │563 └─ lib/membrane/bin.ex:36:3564565 warning: unused require Membrane.Pad566 │567 38 │ require Pad568 │ ~569 │570 └─ lib/membrane/bin.ex:38:3571572 warning: unused require Membrane.PlaybackState573 │574 41 │ require Membrane.PlaybackState575 │ ~576 │577 └─ lib/membrane/bin.ex:41:3578579 warning: unused require Membrane.Core.Message580 │581 15 │ require Message582 │ ~583 │584 └─ lib/membrane/core/playback_handler.ex:15:3585586 warning: unused require Membrane.Bin587 │588 6 │ require Membrane.Bin589 │ ~590 │591 └─ lib/membrane/core/parent/child_life_controller.ex:6:3592593 warning: unused require Membrane.Core.Message594 │595 7 │ require Membrane.Core.Message596 │ ~597 │598 └─ lib/membrane/core/parent/child_life_controller.ex:7:3599600 warning: unused require Membrane.Element601 │602 8 │ require Membrane.Element603 │ ~604 │605 └─ lib/membrane/core/parent/child_life_controller.ex:8:3606607 warning: unused require Membrane.PlaybackState608 │609 9 │ require Membrane.PlaybackState610 │ ~611 │612 └─ lib/membrane/core/parent/child_life_controller.ex:9:3613614 warning: unused require Membrane.Core.Child.PadModel615 │616 23 │ require PadModel617 │ ~618 │619 └─ lib/membrane/core/parent/lifecycle_controller.ex:23:3620621 warning: unused require Membrane.Core.Message622 │623 22 │ require Message624 │ ~625 │626 └─ lib/membrane/core/parent/lifecycle_controller.ex:22:3627628 warning: unused require Membrane.PlaybackState629 │630 24 │ require PlaybackState631 │ ~632 │633 └─ lib/membrane/core/parent/lifecycle_controller.ex:24:3634635 warning: unused require Membrane.Core.Child.PadModel636 │637 10 │ require Membrane.Core.Child.PadModel638 │ ~639 │640 └─ lib/membrane/core/element/lifecycle_controller.ex:10:3641642 warning: unused require Membrane.Core.Message643 │644 11 │ require Membrane.Core.Message645 │ ~646 │647 └─ lib/membrane/core/element/lifecycle_controller.ex:11:3648649 warning: unused require Membrane.Core.Playback650 │651 12 │ require Membrane.Core.Playback652 │ ~653 │654 └─ lib/membrane/core/element/lifecycle_controller.ex:12:365565665701:25:34.571 [warning] Passing :require_if option to Bunch.Config.parse/2 is deprecated, pass function returning constraints instead65865901:25:34.653 [warning] Passing :require_if option to Bunch.Config.parse/2 is deprecated, pass function returning constraints instead660 warning: expected a map or struct when accessing .membrane_element_type in expression:661662 &1.module.membrane_element_type663664 but got type:665666 dynamic(atom())667668 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()669670 type warning found at:671 │672 37 │ &(Membrane.Element.element?(&1.module) and &1.module.membrane_element_type == :sink)673 │ ~674 │675 └─ lib/membrane/core/parent/child_life_controller/startup_handler.ex:37:62: Membrane.Core.Parent.ChildLifeController.StartupHandler.setup_syncs/2676677 warning: a struct for Membrane.Core.Parent.Link is expected on struct update:678679 %Membrane.Core.Parent.Link{680 &1681 | from: resolve_endpoint(&1.from, state),682 to: resolve_endpoint(&1.to, state)683 }684685 but got type:686687 dynamic()688689 instead of using &1, you must define an anonymous function, define a variable and pattern match on "%Membrane.Core.Parent.Link{}"690691 type warning found at:692 │693 22 │ &%Link{&1 | from: resolve_endpoint(&1.from, state), to: resolve_endpoint(&1.to, state)}694 │ ~695 │696 └─ lib/membrane/core/parent/child_life_controller/link_handler.ex:22:8: Membrane.Core.Parent.ChildLifeController.LinkHandler.resolve_links/2697698 warning: the following clause will never match:699700 {:error, reason} ->701702 it is expected to match on type:703704 none()705706 type warning found at:707 │708 56 │ {:error, reason} -> raise LinkError, "#{inspect(reason)}"709 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~710 │711 └─ lib/membrane/core/child/pad_controller.ex:56: Membrane.Core.Child.PadController.handle_link/7712713 warning: the following clause will never match:714715 {{:error, reason}, state} ->716717 it is expected to match on type:718719 none()720721 type warning found at:722 │723 56 │ do: {{:error, reason}, state} ->724 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~725 │726 └─ lib/membrane/core/element/event_controller.ex:56: Membrane.Core.Element.EventController.exec_handle_event/4727728 warning: a struct for Membrane.Core.InputBuffer is expected on struct update:729730 %Membrane.Core.InputBuffer{buf | toilet?: true}731732 but got type:733734 dynamic()735736 where "buf" was given the type:737738 # type: dynamic()739 # from: lib/membrane/core/input_buffer.ex:112:21740 buf741742 when defining the variable "buf", you must also pattern match on "%Membrane.Core.InputBuffer{}"743744 type warning found at:745 │746 112 │ def enable_toilet(buf), do: %__MODULE__{buf | toilet?: true}747 │ ~748 │749 └─ lib/membrane/core/input_buffer.ex:112:31: Membrane.Core.InputBuffer.enable_toilet/1750751 warning: expected a map or struct when accessing .input_buf_preferred_size in expression:752753 metric.input_buf_preferred_size754755 where "metric" was given the type:756757 # type: dynamic(Membrane.Buffer.Metric.ByteSize or Membrane.Buffer.Metric.Count)758 # from: lib/membrane/core/input_buffer.ex:91:12759 metric = Membrane.Buffer.Metric.from_unit(demand_unit)760761 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()762763 type warning found at:764 │765 92 │ preferred_size = props[:preferred_size] || metric.input_buf_preferred_size766 │ ~767 │768 └─ lib/membrane/core/input_buffer.ex:92:55: Membrane.Core.InputBuffer.init/5769770 warning: a struct for Membrane.Core.Timer is expected on struct update:771772 %Membrane.Core.Timer{timer | ratio: ratio}773774 but got type:775776 dynamic()777778 where "timer" was given the type:779780 # type: dynamic()781 # from: lib/membrane/core/timer.ex:36:20782 timer783784 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"785786 type warning found at:787 │788 37 │ %__MODULE__{timer | ratio: ratio}789 │ ~790 │791 └─ lib/membrane/core/timer.ex:37:5: Membrane.Core.Timer.update_ratio/2792793 warning: a struct for Membrane.Core.Timer is expected on struct update:794795 %Membrane.Core.Timer{timer | interval: interval}796797 but got type:798799 dynamic(not %Membrane.Core.Timer{interval: :no_interval})800801 where "timer" was given the type:802803 # type: dynamic(not %Membrane.Core.Timer{interval: :no_interval})804 # from: lib/membrane/core/timer.ex:67:20805 timer806807 when defining the variable "timer", you must also pattern match on "%Membrane.Core.Timer{}"808809 type warning found at:810 │811 68 │ %__MODULE__{timer | interval: interval}812 │ ~813 │814 └─ lib/membrane/core/timer.ex:68:5: Membrane.Core.Timer.set_interval/2815816Generated membrane_core app817==> membrane_caps_audio_raw818Compiling 2 files (.ex)819 warning: use Bitwise is deprecated. import Bitwise instead820 │821 2 │ use Bitwise822 │ ~~~~~~~~~~~823 │824 └─ lib/membrane_caps_audio_raw/format.ex:2: Membrane.Caps.Audio.Raw.Format (module)825826 warning: use Bunch.Typespec is deprecated. `use Bunch.Typespec` only brings to scope the deprecated @/1827 │828 3 │ use Bunch.Typespec829 │ ~~~~~~~~~~~~~~~~~~830 │831 └─ lib/membrane_caps_audio_raw/format.ex:3: Membrane.Caps.Audio.Raw.Format (module)832833warning: Bunch.Typespec.@list_type is deprecated. Use Bunch.Typespec.enum_to_alternative/1 instead.834 (bunch 1.6.4) lib/bunch/typespec.ex:33: Bunch.Typespec."MACRO-@"/2835 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7836 (elixir 1.20.3) src/elixir_dispatch.erl:122: :elixir_dispatch.dispatch_import/6837 (elixir 1.20.3) src/elixir_expand.erl:679: :elixir_expand.expand_block/5838 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3839 (elixir 1.20.3) src/elixir_expand.erl:18: :elixir_expand.expand/3840841 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator842 │843 162 │ <<value::integer-size(size)-little-signed>> = sample844 │ ~845 │846 └─ lib/membrane_caps_audio_raw.ex:162:31: Membrane.Caps.Audio.Raw.sample_to_value/2847848 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator849 │850 166 │ <<value::integer-size(size)-little-unsigned>> = sample851 │ ~852 │853 └─ lib/membrane_caps_audio_raw.ex:166:31: Membrane.Caps.Audio.Raw.sample_to_value/2854855 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator856 │857 170 │ <<value::integer-size(size)-big-signed>> = sample858 │ ~859 │860 └─ lib/membrane_caps_audio_raw.ex:170:31: Membrane.Caps.Audio.Raw.sample_to_value/2861862 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator863 │864 174 │ <<value::integer-size(size)-big-unsigned>> = sample865 │ ~866 │867 └─ lib/membrane_caps_audio_raw.ex:174:31: Membrane.Caps.Audio.Raw.sample_to_value/2868869 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator870 │871 178 │ <<value::float-size(size)-little>> = sample872 │ ~873 │874 └─ lib/membrane_caps_audio_raw.ex:178:29: Membrane.Caps.Audio.Raw.sample_to_value/2875876 warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator877 │878 182 │ <<value::float-size(size)-big>> = sample879 │ ~880 │881 └─ lib/membrane_caps_audio_raw.ex:182:29: Membrane.Caps.Audio.Raw.sample_to_value/2882883 warning: use Bitwise is deprecated. import Bitwise instead884 │885 237 │ use Bitwise886 │ ~~~~~~~~~~~887 │888 └─ lib/membrane_caps_audio_raw.ex:237: Membrane.Caps.Audio.Raw.sample_min/1889890 warning: use Bitwise is deprecated. import Bitwise instead891 │892 253 │ use Bitwise893 │ ~~~~~~~~~~~894 │895 └─ lib/membrane_caps_audio_raw.ex:253: Membrane.Caps.Audio.Raw.sample_max/1896897 warning: Membrane.Time.second/1 is deprecated. Use `second/0` or `seconds/1` instead.898 │899 334 │ (time * caps.sample_rate / (1 |> Time.second())) |> round_f.()900 │ ~901 │902 └─ lib/membrane_caps_audio_raw.ex:334:43: Membrane.Caps.Audio.Raw.time_to_frames/3903 └─ lib/membrane_caps_audio_raw.ex:345:26: Membrane.Caps.Audio.Raw.frames_to_time/3904905Generated membrane_caps_audio_raw app906==> membrane_common_c907Bundlex: Building natives: membrane, membrane_ringbuffer908Compiling 1 file (.ex)909Generated membrane_common_c app910==> membrane_element_lame911Bundlex: Building natives: encoder912In file included from /work/proj/deps/membrane_element_lame/c_src/membrane_element_lame/encoder.c:1:913/work/proj/deps/membrane_element_lame/c_src/membrane_element_lame/encoder.h:5:10: fatal error: lame/lame.h: No such file or directory914 5 | #include <lame/lame.h>915 | ^~~~~~~~~~~~~916compilation terminated.917could not compile dependency :membrane_element_lame, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile membrane_element_lame --force", update it with "mix deps.update membrane_element_lame" or clean it with "mix deps.clean membrane_element_lame"918==> nerves_compatibility_test919** (Mix) Bundlex: Build script:920921(mkdir -p "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder_obj") && \922(gcc -fPIC -Wall -Wextra -c -std=c11 -O2 -g -o "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder_obj/encoder.c_3B8FA7945336D72623B1F8D48B4CD70D3B4C2243.o" -I"/usr/local/lib/erlang/usr/include" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/bunch_native/c_src/bunch/nif" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/shmex/c_src/shmex/lib" -I"/work/proj/deps/shmex/c_src/shmex/lib_nif" -I"/work/proj/deps/unifex/c_src" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/bunch_native/c_src/bunch/nif" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/shmex/c_src/shmex/lib" -I"/work/proj/deps/shmex/c_src/shmex/lib_nif" -I"/work/proj/deps/unifex/c_src" -I"/work/proj/deps/membrane_common_c/c_src" -I"/work/proj/deps/membrane_element_lame/c_src" "/work/proj/deps/membrane_element_lame/c_src/membrane_element_lame/encoder.c"923) && \924(gcc -fPIC -Wall -Wextra -c -std=c11 -O2 -g -o "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder_obj/encoder.c_7B8EB7B74F6C0B6B4CECA81457FB85C5398E30FE.o" -I"/usr/local/lib/erlang/usr/include" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/bunch_native/c_src/bunch/nif" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/shmex/c_src/shmex/lib" -I"/work/proj/deps/shmex/c_src/shmex/lib_nif" -I"/work/proj/deps/unifex/c_src" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/bunch_native/c_src/bunch/nif" -I"/work/proj/deps/bunch_native/c_src/bunch" -I"/work/proj/deps/shmex/c_src/shmex/lib" -I"/work/proj/deps/shmex/c_src/shmex/lib_nif" -I"/work/proj/deps/unifex/c_src" -I"/work/proj/deps/membrane_common_c/c_src" -I"/work/proj/deps/membrane_element_lame/c_src" "/work/proj/deps/membrane_element_lame/c_src/membrane_element_lame/_generated/encoder.c"925) && \926(gcc -rdynamic -shared -o "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder.so" -Wl,--whole-archive "/work/proj/_build/host/lib/bunch_native/priv/bundlex/bunch.a" "/work/proj/_build/host/lib/bunch_native/priv/bundlex/bunch_nif.a" "/work/proj/_build/host/lib/shmex/priv/bundlex/lib.a" "/work/proj/_build/host/lib/shmex/priv/bundlex/lib_nif.a" "/work/proj/_build/host/lib/unifex/priv/bundlex/unifex.a" "/work/proj/_build/host/lib/membrane_common_c/priv/bundlex/membrane.a" -Wl,--no-whole-archive "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder_obj/encoder.c_3B8FA7945336D72623B1F8D48B4CD70D3B4C2243.o" "/work/proj/_build/host/lib/membrane_element_lame/priv/bundlex/encoder_obj/encoder.c_7B8EB7B74F6C0B6B4CECA81457FB85C5398E30FE.o" -lrt -lrt -lmp3lame -lm927)928929930returned non-zero code: 1