Build log
nerves_system_bbb
tuning_fork_drafter 0.1.11 · fail · run tuning_fork_drafter-0.1.11-1791145837646
696 of 696 lines
1Resolving Hex dependencies...2Resolution completed in 0.132s3Unchanged: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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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/bbb/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==> french_curve256Compiling 14 files (.ex)257 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 operator258 │259 214 │ <<part::binary-size(size), rest::binary>> when byte_size(rest) > 0 ->260 │ ~261 │262 └─ lib/french_curve/backend/kitty.ex:214:27: FrenchCurve.Backend.Kitty.chunk/2263264 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 operator265 │266 46 │ for <<row::binary-size(stride) <- rgba>>, do: [0, row]267 │ ~268 │269 └─ lib/french_curve/png.ex:46:28: FrenchCurve.Png.filter_scanlines/2270271Generated french_curve app272==> phoenix_pubsub273Compiling 12 files (.ex)274Generated phoenix_pubsub app275==> drafter276mkdir -p priv277/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=vfpv3 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a8 -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_bbb-2.30.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_bbb-2.30.2/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_bbb-2.30.2/staging -shared -lutil && mv -f priv/termios_nif.so.tmp priv/termios_nif.so278/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_spawn279Compiling 202 files (.ex)280 warning: unused require Logger281 │282 4 │ require Logger283 │ ~284 │285 └─ lib/drafter/diagnostics/logging.ex:4:3286287 warning: this clause of defp since_last_push/1 is never used (or it will always fail/warn when invoked)288 │289 580 │ defp since_last_push(nil), do: :infinity290 │ ~291 │292 └─ lib/drafter/widget_runtime/widget_server.ex:580:8: Drafter.WidgetServer.since_last_push/1293294 warning: the following clause is redundant:295296 def get_unmasked_value(%Drafter.Widget.MaskedInput{value: value, mask: mask})297298 it has type:299300 dynamic(%Drafter.Widget.MaskedInput{})301302 previous clauses have already matched on the following types:303304 %Drafter.Widget.MaskedInput{}305306 │307 375 │ def get_unmasked_value(%__MODULE__{value: value, mask: mask}), do: strip_mask(value, mask)308 │ ~309 │310 └─ lib/drafter/widget/masked_input.ex:375:7: Drafter.Widget.MaskedInput.get_unmasked_value/1311312 warning: the following clause is redundant:313314 def handle_event(_event, state)315316 it has type:317318 dynamic(), dynamic()319320 previous clauses have already matched on the following types:321322 {:key, :escape}, term()323 {:key, :h}, term()324 {:bracketed_paste, term()}, term()325 term(), term()326327 │328 1 │ defmodule Drafter.Widget.FilePicker do329 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~330 │331 └─ lib/drafter/widget/file_picker.ex:1: Drafter.Widget.FilePicker.handle_event/2332333 warning: the following conditional expression:334335 new_index336337 will always evaluate to:338339 dynamic(not false and not nil)340341 where "new_index" was given the type:342343 # type: dynamic(not false and not nil)344 # from: lib/drafter/widget/data_table/selection.ex:75:15345 new_index =346 case find_next_enabled_from(state.data, target_index) do347 ...348 end349350 type warning found at:351 │352 84 │ if new_index do353 │ ~~~~~~~~~~~~~~~354 │355 └─ lib/drafter/widget/data_table/selection.ex:84: Drafter.Widget.DataTable.Selection.action_page_down/2356357 warning: the following clause is redundant:358359 other ->360361 previous clauses have already matched on the following types:362363 {term(), term()}364365 where "other" was given the type:366367 # type: dynamic({term(), term()})368 # from: lib/drafter/terminal/driver.ex:471:7369 other370371 type warning found at:372 │373 471 │ other -> {:error, {:stty_failed, other}}374 │ ~375 │376 └─ lib/drafter/terminal/driver.ex:471:13: Drafter.Terminal.Driver.enter_terminal_mode_with_stty/0377378 warning: the following clause is redundant:379380 defp get_state_value(state, key)381 when is_map(state) and is_map_key(state, :__struct__) and382 is_atom(:erlang.map_get(:__struct__, state))383384 it has type:385386 dynamic(%{..., __struct__: atom()}), dynamic()387388 previous clauses have already matched on the following types:389390 map(), term()391392 │393 159 │ defp get_state_value(state, key) when is_struct(state) do394 │ ~395 │396 └─ lib/drafter/style/computed.ex:159:8: Drafter.Style.Computed.get_state_value/2397398 warning: the following clause is redundant:399400 defp apply_render_result({:error, _reason}, _, _, _, _, _)401402 it has type:403404 dynamic({:error, term()}), dynamic(), dynamic(), dynamic(), dynamic(), dynamic()405406 previous clauses have already matched on the following types:407408 {...}, term(), term(), term(), term(), term()409 empty_list() or non_empty_list(term(), term()), term(), term(), term(), term(), term()410411 │412 211 │ defp apply_render_result({:error, _reason}, _, _, _, _, _), do: {:error, nil}413 │ ~414 │415 └─ lib/drafter/runtime/renderer.ex:211:8: Drafter.Runtime.Renderer.apply_render_result/6416417 warning: this guard will never succeed:418419 false420421 because it returns type:422423 false424425 type warning found at:426 │427 765 │ defp paintable_region(_strips, _rect) when false, do: false428 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~429 │430 └─ lib/drafter/runtime/renderer.ex:765: Drafter.Runtime.Renderer.paintable_region/2431432 warning: the following clause is redundant:433434 def handle_event(_event, state)435436 it has type:437438 dynamic(), dynamic()439440 previous clauses have already matched on the following types:441442 {:key, :enter}, term()443 {:key, :escape}, term()444 term(), term()445446 │447 1 │ defmodule Drafter.Accounts.RegisterApp do448 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~449 │450 └─ lib/drafter/accounts/register_app.ex:1: Drafter.Accounts.RegisterApp.handle_event/2451452 warning: this clause of defp safe_widget_state/1 is never used (or it will always fail/warn when invoked)453 │454 748 │ defp safe_widget_state(nil), do: nil455 │ ~456 │457 └─ lib/drafter.ex:748:8: Drafter.safe_widget_state/1458459Generated drafter app460==> tuning_fork461Compiling 70 files (.ex)462 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 operator463 │464 82 │ <<_block::binary-size(length), after_block::binary>> ->465 │ ~466 │467 └─ lib/tuning_fork/flac.ex:82:29: TuningFork.Flac.metadata/2468469 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 operator470 │471 102 │ <<_pad::size(pad), _crc::16, next::binary>> = rest472 │ ~473 │474 └─ lib/tuning_fork/flac.ex:102:20: TuningFork.Flac.frames/3475476 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 operator477 │478 206 │ <<value::signed-size(bits), rest::bits>> -> {:ok, List.duplicate(value, size), rest}479 │ ~480 │481 └─ lib/tuning_fork/flac.ex:206:28: TuningFork.Flac.subframe_of/4482483 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 operator484 │485 215 │ <<raw::bits-size(total), rest::bits>> ->486 │ ~487 │488 └─ lib/tuning_fork/flac.ex:215:24: TuningFork.Flac.subframe_of/4489490 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 operator491 │492 216 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}493 │ ~494 │495 └─ lib/tuning_fork/flac.ex:216:40: TuningFork.Flac.subframe_of/4496497 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 operator498 │499 248 │ <<raw::bits-size(total), rest::bits>> ->500 │ ~501 │502 └─ lib/tuning_fork/flac.ex:248:24: TuningFork.Flac.warmup/3503504 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 operator505 │506 249 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}507 │ ~508 │509 └─ lib/tuning_fork/flac.ex:249:40: TuningFork.Flac.warmup/3510511 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 operator512 │513 262 │ <<raw::bits-size(total), rest::bits>> ->514 │ ~515 │516 └─ lib/tuning_fork/flac.ex:262:24: TuningFork.Flac.lpc_coefficients/2517518 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 operator519 │520 263 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), shift, rest}521 │ ~522 │523 └─ lib/tuning_fork/flac.ex:263:40: TuningFork.Flac.lpc_coefficients/2524525 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 operator526 │527 292 │ <<^escape::size(param_bits), raw_bits::5, rest::bits>> -> raw(rest, samples, raw_bits)528 │ ~529 │530 └─ lib/tuning_fork/flac.ex:292:25: TuningFork.Flac.partitions/8531532 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 operator533 │534 293 │ <<param::size(param_bits), rest::bits>> -> rice(rest, param, samples, [])535 │ ~536 │537 └─ lib/tuning_fork/flac.ex:293:23: TuningFork.Flac.partitions/8538539 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 operator540 │541 306 │ <<raw::bits-size(total), rest::bits>> ->542 │ ~543 │544 └─ lib/tuning_fork/flac.ex:306:24: TuningFork.Flac.raw/3545546 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 operator547 │548 307 │ {:ok, for(<<value::signed-size(raw_bits) <- raw>>, do: value), rest}549 │ ~550 │551 └─ lib/tuning_fork/flac.ex:307:40: TuningFork.Flac.raw/3552553 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 operator554 │555 318 │ {quotient, <<remainder::size(param), rest::bits>>} ->556 │ ~557 │558 └─ lib/tuning_fork/flac.ex:318:36: TuningFork.Flac.rice/4559560 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 operator561 │562 332 │ <<_::size(zeros + 1), rest::bits>> = bits563 │ ~564 │565 └─ lib/tuning_fork/flac.ex:332:15: TuningFork.Flac.unary/2566567 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 operator568 │569 60 │ <<before::binary-size(at), rest::binary>> = base570 │ ~571 │572 └─ lib/tuning_fork/mixer.ex:60:31: TuningFork.Mixer.mix_at/4573574 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 operator575 │576 64 │ <<fits::binary-size(space), over::binary>> = buffer577 │ ~578 │579 └─ lib/tuning_fork/mixer.ex:64:29: TuningFork.Mixer.mix_at/4580581 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 operator582 │583 65 │ <<before::binary-size(at), rest::binary>> = base584 │ ~585 │586 └─ lib/tuning_fork/mixer.ex:65:31: TuningFork.Mixer.mix_at/4587588 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 operator589 │590 81 │ <<chunk::binary-size(wanted), rest::binary>> ->591 │ ~592 │593 └─ lib/tuning_fork/mixer.ex:81:28: TuningFork.Mixer.take/3594595 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 operator596 │597 103 │ <<head::binary-size(keep), tail::binary>> when tail != <<>> ->598 │ ~599 │600 └─ lib/tuning_fork/mixer.ex:103:27: TuningFork.Mixer.fold/3601602 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 operator603 │604 86 │ <<blob::binary-size(size), left::binary>> = rest605 │ ~606 │607 └─ lib/tuning_fork/osc.ex:86:25: TuningFork.Osc.argument_of/2608609 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 operator610 │611 88 │ <<_padding::binary-size(over), after_padding::binary>> = left612 │ ~613 │614 └─ lib/tuning_fork/osc.ex:88:29: TuningFork.Osc.argument_of/2615616 warning: unused require Logger617 │618 11 │ require Logger619 │ ~620 │621 └─ lib/tuning_fork/osc/client.ex:11:3622623 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 operator624 │625 220 │ <<head::binary-size(room), tail::binary>> when tail != <<>> ->626 │ ~627 │628 └─ lib/tuning_fork/score.ex:220:27: TuningFork.Score.wrap/4629630 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 operator631 │632 417 │ <<data::binary-size(length), rest::binary>> = rest633 │ ~634 │635 └─ lib/tuning_fork/midi.ex:417:25: TuningFork.Midi.event/2636637 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 operator638 │639 427 │ <<_data::binary-size(length), rest::binary>> = rest640 │ ~641 │642 └─ lib/tuning_fork/midi.ex:427:26: TuningFork.Midi.event/2643644 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 operator645 │646 167 │ for <<frame::binary-size(channels * 2) <- pcm>>, reduce: {0, <<>>} do647 │ ~648 │649 └─ lib/tuning_fork/stage/bed.ex:167:30: TuningFork.Stage.Bed.ramp/4650651 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 operator652 │653 734 │ for <<sample::16-signed-little, _rest::binary-size(channels * 2 - 2) <- pcm>>, do: sample654 │ ~655 │656 └─ lib/tuning_fork/stage.ex:734:58: TuningFork.Stage.thinned/3657658 warning: the following conditional expression:659660 File.mkdir_p!(TuningFork.Sample.Fetch.dir())661662 will always evaluate to:663664 dynamic(:ok)665666 type warning found at:667 │668 144 │ unless File.exists?(path), do: File.mkdir_p!(Fetch.dir()) && File.write!(path, bytes)669 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~670 │671 └─ lib/tuning_fork/sample/font.ex:144: TuningFork.Sample.Font.decode/3672673Generated tuning_fork app674==> tuning_fork_composer675Compiling 4 files (.ex)676Generated tuning_fork_composer app677==> tuning_fork_midi678mkdir -p priv679/home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-15.3.1/bin/armv7-nerves-linux-gnueabihf-gcc -mabi=aapcs-linux -mfpu=vfpv3 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a8 -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_bbb-2.30.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_bbb-2.30.2/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_bbb-2.30.2/staging -shared -lpthread -lasound680In file included from c_src/tuning_fork_midi_nif.c:22:681c_src/minimidio.h:474:12: fatal error: alsa/asoundlib.h: No such file or directory682 474 | # include <alsa/asoundlib.h>683 | ^~~~~~~~~~~~~~~~~~684compilation terminated.685make: *** [Makefile:24: priv/tuning_fork_midi_nif.so] Error 1686could 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"687==> nerves_compatibility_test688** (Mix) Could not compile with "make" (exit status: 2).689tuning_fork_midi's MIDI ports did not build.690691This package is only the ports. tuning_fork itself is pure Elixir and needs none of it:692drop this dependency and everything but playing to and reading from a MIDI device still693works, including writing a .mid file with TuningFork.Midi.write!/3.694695Building it needs a C compiler, and on Linux the ALSA headers (libasound2-dev).696