Build log
nerves_system_trellis
tuning_fork_drafter 0.1.11 · fail · run tuning_fork_drafter-0.1.11-1791145837646
698 of 698 lines
1Resolving Hex dependencies...2Resolution completed in 0.163s3Unchanged:4 circular_buffer 1.1.05 drafter 0.4.06 elixir_make 0.10.07 french_curve 0.1.48 interactive_cmd 0.1.49 nerves 2.0.0-pre.210 nerves_discovery 0.1.511 nerves_logging 0.2.412 nerves_runtime 0.13.1313 nerves_system_bbb 2.30.214 nerves_system_br 1.34.415 nerves_system_mangopi_mq_pro 0.17.216 nerves_system_qemu_aarch64 0.4.217 nerves_system_rpi0 2.1.218 nerves_system_rpi4 2.1.219 nerves_system_rpi5 2.1.220 nerves_system_trellis 0.5.021 nerves_system_x86_64 1.34.222 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.123 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.124 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.126 nerves_toolchain_x86_64_nerves_linux_musl 15.3.127 nerves_uevent 0.1.728 phoenix_pubsub 2.3.029 property_table 0.3.430 ring_logger 0.11.731 spark 2.7.632 tablet 0.3.333 toolshed 0.5.034 tuning_fork 0.1.1135 tuning_fork_composer 0.1.1136 tuning_fork_drafter 0.1.1137 tuning_fork_midi 0.1.1138 uboot_env 1.0.239* Getting tuning_fork_drafter (Hex package)40* Getting nerves (Hex package)41* Getting ring_logger (Hex package)42* Getting toolshed (Hex package)43* Getting nerves_runtime (Hex package)44* Getting nerves_system_bbb (Hex package)45* Getting nerves_system_mangopi_mq_pro (Hex package)46* Getting nerves_system_qemu_aarch64 (Hex package)47* Getting nerves_system_rpi0 (Hex package)48* Getting nerves_system_rpi4 (Hex package)49* Getting nerves_system_rpi5 (Hex package)50* Getting nerves_system_trellis (Hex package)51* Getting nerves_system_x86_64 (Hex package)52* Getting nerves_system_br (Hex package)53* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)54* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)55* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)56* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)57* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)58* Getting nerves_logging (Hex package)59* Getting nerves_uevent (Hex package)60* Getting uboot_env (Hex package)61* Getting elixir_make (Hex package)62* Getting property_table (Hex package)63* Getting circular_buffer (Hex package)64* Getting interactive_cmd (Hex package)65* Getting nerves_discovery (Hex package)66* Getting tablet (Hex package)67* Getting drafter (Hex package)68* Getting french_curve (Hex package)69* Getting tuning_fork (Hex package)70* Getting tuning_fork_composer (Hex package)71* Getting tuning_fork_midi (Hex package)72* Getting phoenix_pubsub (Hex package)73* Getting spark (Hex package)74==> nerves_system_br75Generated nerves_system_br app76==> circular_buffer77Compiling 1 file (.ex)78Generated circular_buffer app79==> spark80Compiling 46 files (.ex)81Generated spark app82==> tablet83Compiling 2 files (.ex)84Generated tablet app85==> elixir_make86Compiling 8 files (.ex)87Generated elixir_make app88==> nerves_logging89 CC kmsg_tailer.o90 LD kmsg_tailer91Compiling 5 files (.ex)92Generated nerves_logging app93==> nerves_discovery94Compiling 5 files (.ex)95Generated nerves_discovery app96==> ring_logger97Compiling 7 files (.ex)98Generated ring_logger app99==> interactive_cmd100Compiling 1 file (.ex)101Generated interactive_cmd app102==> nerves103Compiling 65 files (.ex)104 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)105 │106 6 │ defmodule Mix.Tasks.Nerves.Init do107 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~108 │109 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)110111 warning: redefining module Nerves (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.beam)112 │113 6 │ defmodule Nerves do114 │ ~~~~~~~~~~~~~~~~~~~115 │116 └─ lib/nerves.ex:6: Nerves (module)117118 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)119 │120 5 │ defmodule Nerves.ArtifactResolver do121 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~122 │123 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)124125 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)126 │127 6 │ defmodule Nerves.BuildAction.AppModes do128 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~129 │130 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)131132 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)133 │134 5 │ defmodule Nerves.BuildAction.CheckExecutables do135 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~136 │137 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)138139 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)140 │141 8 │ defmodule Nerves.BuildAction.Erlinit do142 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~143 │144 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)145146 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)147 │148 5 │ defmodule Nerves.BuildAction.Firmware do149 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~150 │151 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)152153 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)154 │155 7 │ defmodule Nerves.BuildAction.IExStartupCheck do156 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~157 │158 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)159160 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)161 │162 5 │ defmodule Nerves.BuildAction.NervesV1System do163 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~164 │165 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)166167 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)168 │169 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do170 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~171 │172 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)173174 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)175 │176 5 │ defmodule Nerves.BuildAction.Rootfs do177 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~178 │179 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)180181 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)182 │183 6 │ defmodule Nerves.BuildAction.SortApps do184 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~185 │186 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)187188 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)189 │190 5 │ defmodule Nerves.BuildAction.StripAll do191 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~192 │193 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)194195 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)196 │197 5 │ defmodule Nerves.BuildAction.Trimmer do198 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~199 │200 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)201202 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)203 │204 5 │ defmodule Nerves.BuildPlan do205 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~206 │207 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)208209 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)210 │211 5 │ defmodule Nerves.BuildPlan.Checks do212 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~213 │214 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)215216 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Container.beam)217 │218 6 │ defmodule Nerves.Container do219 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~220 │221 └─ lib/nerves/container.ex:6: Nerves.Container (module)222223 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)224 │225 5 │ defmodule Nerves.Fingerprint do226 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~227 │228 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)229230 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)231 │232 5 │ defmodule Nerves.MixPackage do233 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~234 │235 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)236237 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Paths.beam)238 │239 5 │ defmodule Nerves.Paths do240 │ ~~~~~~~~~~~~~~~~~~~~~~~~~241 │242 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)243244 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)245 │246 5 │ defmodule Nerves.TargetTuple do247 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~248 │249 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)250251Generated nerves app252==> nerves_toolchain_armv7_nerves_linux_gnueabihf253Compiling 1 file (.ex)254Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app255==> nerves_system_trellis256Generated nerves_system_trellis app257==> french_curve258Compiling 14 files (.ex)259 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 operator260 │261 214 │ <<part::binary-size(size), rest::binary>> when byte_size(rest) > 0 ->262 │ ~263 │264 └─ lib/french_curve/backend/kitty.ex:214:27: FrenchCurve.Backend.Kitty.chunk/2265266 warning: the variable "stride" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator267 │268 46 │ for <<row::binary-size(stride) <- rgba>>, do: [0, row]269 │ ~270 │271 └─ lib/french_curve/png.ex:46:28: FrenchCurve.Png.filter_scanlines/2272273Generated french_curve app274==> phoenix_pubsub275Compiling 12 files (.ex)276Generated phoenix_pubsub app277==> drafter278mkdir -p priv279/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=neon-vfpv4 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a7 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -I/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -o priv/termios_nif.so.tmp c_src/termios_nif.c --sysroot=/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -shared -lutil && mv -f priv/termios_nif.so.tmp priv/termios_nif.so280/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -O2 -o priv/pty_spawn.tmp c_src/pty_spawn.c && mv -f priv/pty_spawn.tmp priv/pty_spawn281Compiling 202 files (.ex)282 warning: unused require Logger283 │284 4 │ require Logger285 │ ~286 │287 └─ lib/drafter/diagnostics/logging.ex:4:3288289 warning: this clause of defp since_last_push/1 is never used (or it will always fail/warn when invoked)290 │291 580 │ defp since_last_push(nil), do: :infinity292 │ ~293 │294 └─ lib/drafter/widget_runtime/widget_server.ex:580:8: Drafter.WidgetServer.since_last_push/1295296 warning: the following clause is redundant:297298 def get_unmasked_value(%Drafter.Widget.MaskedInput{value: value, mask: mask})299300 it has type:301302 dynamic(%Drafter.Widget.MaskedInput{})303304 previous clauses have already matched on the following types:305306 %Drafter.Widget.MaskedInput{}307308 │309 375 │ def get_unmasked_value(%__MODULE__{value: value, mask: mask}), do: strip_mask(value, mask)310 │ ~311 │312 └─ lib/drafter/widget/masked_input.ex:375:7: Drafter.Widget.MaskedInput.get_unmasked_value/1313314 warning: the following clause is redundant:315316 def handle_event(_event, state)317318 it has type:319320 dynamic(), dynamic()321322 previous clauses have already matched on the following types:323324 {:key, :escape}, term()325 {:key, :h}, term()326 {:bracketed_paste, term()}, term()327 term(), term()328329 │330 1 │ defmodule Drafter.Widget.FilePicker do331 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~332 │333 └─ lib/drafter/widget/file_picker.ex:1: Drafter.Widget.FilePicker.handle_event/2334335 warning: the following conditional expression:336337 new_index338339 will always evaluate to:340341 dynamic(not false and not nil)342343 where "new_index" was given the type:344345 # type: dynamic(not false and not nil)346 # from: lib/drafter/widget/data_table/selection.ex:75:15347 new_index =348 case find_next_enabled_from(state.data, target_index) do349 ...350 end351352 type warning found at:353 │354 84 │ if new_index do355 │ ~~~~~~~~~~~~~~~356 │357 └─ lib/drafter/widget/data_table/selection.ex:84: Drafter.Widget.DataTable.Selection.action_page_down/2358359 warning: the following clause is redundant:360361 other ->362363 previous clauses have already matched on the following types:364365 {term(), term()}366367 where "other" was given the type:368369 # type: dynamic({term(), term()})370 # from: lib/drafter/terminal/driver.ex:471:7371 other372373 type warning found at:374 │375 471 │ other -> {:error, {:stty_failed, other}}376 │ ~377 │378 └─ lib/drafter/terminal/driver.ex:471:13: Drafter.Terminal.Driver.enter_terminal_mode_with_stty/0379380 warning: the following clause is redundant:381382 defp get_state_value(state, key)383 when is_map(state) and is_map_key(state, :__struct__) and384 is_atom(:erlang.map_get(:__struct__, state))385386 it has type:387388 dynamic(%{..., __struct__: atom()}), dynamic()389390 previous clauses have already matched on the following types:391392 map(), term()393394 │395 159 │ defp get_state_value(state, key) when is_struct(state) do396 │ ~397 │398 └─ lib/drafter/style/computed.ex:159:8: Drafter.Style.Computed.get_state_value/2399400 warning: the following clause is redundant:401402 defp apply_render_result({:error, _reason}, _, _, _, _, _)403404 it has type:405406 dynamic({:error, term()}), dynamic(), dynamic(), dynamic(), dynamic(), dynamic()407408 previous clauses have already matched on the following types:409410 {...}, term(), term(), term(), term(), term()411 empty_list() or non_empty_list(term(), term()), term(), term(), term(), term(), term()412413 │414 211 │ defp apply_render_result({:error, _reason}, _, _, _, _, _), do: {:error, nil}415 │ ~416 │417 └─ lib/drafter/runtime/renderer.ex:211:8: Drafter.Runtime.Renderer.apply_render_result/6418419 warning: this guard will never succeed:420421 false422423 because it returns type:424425 false426427 type warning found at:428 │429 765 │ defp paintable_region(_strips, _rect) when false, do: false430 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~431 │432 └─ lib/drafter/runtime/renderer.ex:765: Drafter.Runtime.Renderer.paintable_region/2433434 warning: the following clause is redundant:435436 def handle_event(_event, state)437438 it has type:439440 dynamic(), dynamic()441442 previous clauses have already matched on the following types:443444 {:key, :enter}, term()445 {:key, :escape}, term()446 term(), term()447448 │449 1 │ defmodule Drafter.Accounts.RegisterApp do450 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~451 │452 └─ lib/drafter/accounts/register_app.ex:1: Drafter.Accounts.RegisterApp.handle_event/2453454 warning: this clause of defp safe_widget_state/1 is never used (or it will always fail/warn when invoked)455 │456 748 │ defp safe_widget_state(nil), do: nil457 │ ~458 │459 └─ lib/drafter.ex:748:8: Drafter.safe_widget_state/1460461Generated drafter app462==> tuning_fork463Compiling 70 files (.ex)464 warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator465 │466 82 │ <<_block::binary-size(length), after_block::binary>> ->467 │ ~468 │469 └─ lib/tuning_fork/flac.ex:82:29: TuningFork.Flac.metadata/2470471 warning: the variable "pad" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator472 │473 102 │ <<_pad::size(pad), _crc::16, next::binary>> = rest474 │ ~475 │476 └─ lib/tuning_fork/flac.ex:102:20: TuningFork.Flac.frames/3477478 warning: the variable "bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator479 │480 206 │ <<value::signed-size(bits), rest::bits>> -> {:ok, List.duplicate(value, size), rest}481 │ ~482 │483 └─ lib/tuning_fork/flac.ex:206:28: TuningFork.Flac.subframe_of/4484485 warning: the variable "total" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator486 │487 215 │ <<raw::bits-size(total), rest::bits>> ->488 │ ~489 │490 └─ lib/tuning_fork/flac.ex:215:24: TuningFork.Flac.subframe_of/4491492 warning: the variable "bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator493 │494 216 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}495 │ ~496 │497 └─ lib/tuning_fork/flac.ex:216:40: TuningFork.Flac.subframe_of/4498499 warning: the variable "total" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator500 │501 248 │ <<raw::bits-size(total), rest::bits>> ->502 │ ~503 │504 └─ lib/tuning_fork/flac.ex:248:24: TuningFork.Flac.warmup/3505506 warning: the variable "bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator507 │508 249 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}509 │ ~510 │511 └─ lib/tuning_fork/flac.ex:249:40: TuningFork.Flac.warmup/3512513 warning: the variable "total" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator514 │515 262 │ <<raw::bits-size(total), rest::bits>> ->516 │ ~517 │518 └─ lib/tuning_fork/flac.ex:262:24: TuningFork.Flac.lpc_coefficients/2519520 warning: the variable "bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator521 │522 263 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), shift, rest}523 │ ~524 │525 └─ lib/tuning_fork/flac.ex:263:40: TuningFork.Flac.lpc_coefficients/2526527 warning: the variable "param_bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator528 │529 292 │ <<^escape::size(param_bits), raw_bits::5, rest::bits>> -> raw(rest, samples, raw_bits)530 │ ~531 │532 └─ lib/tuning_fork/flac.ex:292:25: TuningFork.Flac.partitions/8533534 warning: the variable "param_bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator535 │536 293 │ <<param::size(param_bits), rest::bits>> -> rice(rest, param, samples, [])537 │ ~538 │539 └─ lib/tuning_fork/flac.ex:293:23: TuningFork.Flac.partitions/8540541 warning: the variable "total" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator542 │543 306 │ <<raw::bits-size(total), rest::bits>> ->544 │ ~545 │546 └─ lib/tuning_fork/flac.ex:306:24: TuningFork.Flac.raw/3547548 warning: the variable "raw_bits" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator549 │550 307 │ {:ok, for(<<value::signed-size(raw_bits) <- raw>>, do: value), rest}551 │ ~552 │553 └─ lib/tuning_fork/flac.ex:307:40: TuningFork.Flac.raw/3554555 warning: the variable "param" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator556 │557 318 │ {quotient, <<remainder::size(param), rest::bits>>} ->558 │ ~559 │560 └─ lib/tuning_fork/flac.ex:318:36: TuningFork.Flac.rice/4561562 warning: the variable "zeros" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator563 │564 332 │ <<_::size(zeros + 1), rest::bits>> = bits565 │ ~566 │567 └─ lib/tuning_fork/flac.ex:332:15: TuningFork.Flac.unary/2568569 warning: the variable "at" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator570 │571 60 │ <<before::binary-size(at), rest::binary>> = base572 │ ~573 │574 └─ lib/tuning_fork/mixer.ex:60:31: TuningFork.Mixer.mix_at/4575576 warning: the variable "space" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator577 │578 64 │ <<fits::binary-size(space), over::binary>> = buffer579 │ ~580 │581 └─ lib/tuning_fork/mixer.ex:64:29: TuningFork.Mixer.mix_at/4582583 warning: the variable "at" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator584 │585 65 │ <<before::binary-size(at), rest::binary>> = base586 │ ~587 │588 └─ lib/tuning_fork/mixer.ex:65:31: TuningFork.Mixer.mix_at/4589590 warning: the variable "wanted" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator591 │592 81 │ <<chunk::binary-size(wanted), rest::binary>> ->593 │ ~594 │595 └─ lib/tuning_fork/mixer.ex:81:28: TuningFork.Mixer.take/3596597 warning: the variable "keep" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator598 │599 103 │ <<head::binary-size(keep), tail::binary>> when tail != <<>> ->600 │ ~601 │602 └─ lib/tuning_fork/mixer.ex:103:27: TuningFork.Mixer.fold/3603604 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 operator605 │606 86 │ <<blob::binary-size(size), left::binary>> = rest607 │ ~608 │609 └─ lib/tuning_fork/osc.ex:86:25: TuningFork.Osc.argument_of/2610611 warning: the variable "over" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator612 │613 88 │ <<_padding::binary-size(over), after_padding::binary>> = left614 │ ~615 │616 └─ lib/tuning_fork/osc.ex:88:29: TuningFork.Osc.argument_of/2617618 warning: unused require Logger619 │620 11 │ require Logger621 │ ~622 │623 └─ lib/tuning_fork/osc/client.ex:11:3624625 warning: the variable "room" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator626 │627 220 │ <<head::binary-size(room), tail::binary>> when tail != <<>> ->628 │ ~629 │630 └─ lib/tuning_fork/score.ex:220:27: TuningFork.Score.wrap/4631632 warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator633 │634 417 │ <<data::binary-size(length), rest::binary>> = rest635 │ ~636 │637 └─ lib/tuning_fork/midi.ex:417:25: TuningFork.Midi.event/2638639 warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator640 │641 427 │ <<_data::binary-size(length), rest::binary>> = rest642 │ ~643 │644 └─ lib/tuning_fork/midi.ex:427:26: TuningFork.Midi.event/2645646 warning: the variable "channels" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator647 │648 167 │ for <<frame::binary-size(channels * 2) <- pcm>>, reduce: {0, <<>>} do649 │ ~650 │651 └─ lib/tuning_fork/stage/bed.ex:167:30: TuningFork.Stage.Bed.ramp/4652653 warning: the variable "channels" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator654 │655 734 │ for <<sample::16-signed-little, _rest::binary-size(channels * 2 - 2) <- pcm>>, do: sample656 │ ~657 │658 └─ lib/tuning_fork/stage.ex:734:58: TuningFork.Stage.thinned/3659660 warning: the following conditional expression:661662 File.mkdir_p!(TuningFork.Sample.Fetch.dir())663664 will always evaluate to:665666 dynamic(:ok)667668 type warning found at:669 │670 144 │ unless File.exists?(path), do: File.mkdir_p!(Fetch.dir()) && File.write!(path, bytes)671 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~672 │673 └─ lib/tuning_fork/sample/font.ex:144: TuningFork.Sample.Font.decode/3674675Generated tuning_fork app676==> tuning_fork_composer677Compiling 4 files (.ex)678Generated tuning_fork_composer app679==> tuning_fork_midi680mkdir -p priv681/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=neon-vfpv4 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a7 -fPIE -pie -Wl,-z,now -Wl,-z,relro -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -I/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging/usr/lib/erlang/erts-17.0.6/include -Ic_src -o priv/tuning_fork_midi_nif.so c_src/tuning_fork_midi_nif.c --sysroot=/home/nerves/.nerves/artifacts/nerves_system_trellis-0.5.0/staging -shared -lpthread -lasound682In file included from c_src/tuning_fork_midi_nif.c:22:683c_src/minimidio.h:474:12: fatal error: alsa/asoundlib.h: No such file or directory684 474 | # include <alsa/asoundlib.h>685 | ^~~~~~~~~~~~~~~~~~686compilation terminated.687make: *** [Makefile:24: priv/tuning_fork_midi_nif.so] Error 1688could not compile dependency :tuning_fork_midi, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile tuning_fork_midi --force", update it with "mix deps.update tuning_fork_midi" or clean it with "mix deps.clean tuning_fork_midi"689==> nerves_compatibility_test690** (Mix) Could not compile with "make" (exit status: 2).691tuning_fork_midi's MIDI ports did not build.692693This package is only the ports. tuning_fork itself is pure Elixir and needs none of it:694drop this dependency and everything but playing to and reading from a MIDI device still695works, including writing a .mid file with TuningFork.Midi.write!/3.696697Building it needs a C compiler, and on Linux the ALSA headers (libasound2-dev).698