Build log
nerves_system_qemu_aarch64
tuning_fork_drafter 0.1.11 · fail · run tuning_fork_drafter-0.1.11-1791145837646
699 of 699 lines
1Resolving Hex dependencies...2Resolution completed in 0.399s3Unchanged: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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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/qemu_aarch64/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_aarch64_nerves_linux_gnu253Compiling 1 file (.ex)254Generated nerves_toolchain_aarch64_nerves_linux_gnu app255==> nerves_system_qemu_aarch64256Compiling 1 file (.ex)257Generated nerves_system_qemu_aarch64 app258==> french_curve259Compiling 14 files (.ex)260 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 operator261 │262 214 │ <<part::binary-size(size), rest::binary>> when byte_size(rest) > 0 ->263 │ ~264 │265 └─ lib/french_curve/backend/kitty.ex:214:27: FrenchCurve.Backend.Kitty.chunk/2266267 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 operator268 │269 46 │ for <<row::binary-size(stride) <- rgba>>, do: [0, row]270 │ ~271 │272 └─ lib/french_curve/png.ex:46:28: FrenchCurve.Png.filter_scanlines/2273274Generated french_curve app275==> phoenix_pubsub276Compiling 12 files (.ex)277Generated phoenix_pubsub app278==> drafter279mkdir -p priv280/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.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_qemu_aarch64-0.4.2/staging -shared -lutil && mv -f priv/termios_nif.so.tmp priv/termios_nif.so281/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -O2 -o priv/pty_spawn.tmp c_src/pty_spawn.c && mv -f priv/pty_spawn.tmp priv/pty_spawn282Compiling 202 files (.ex)283 warning: unused require Logger284 │285 4 │ require Logger286 │ ~287 │288 └─ lib/drafter/diagnostics/logging.ex:4:3289290 warning: this clause of defp since_last_push/1 is never used (or it will always fail/warn when invoked)291 │292 580 │ defp since_last_push(nil), do: :infinity293 │ ~294 │295 └─ lib/drafter/widget_runtime/widget_server.ex:580:8: Drafter.WidgetServer.since_last_push/1296297 warning: the following clause is redundant:298299 def get_unmasked_value(%Drafter.Widget.MaskedInput{value: value, mask: mask})300301 it has type:302303 dynamic(%Drafter.Widget.MaskedInput{})304305 previous clauses have already matched on the following types:306307 %Drafter.Widget.MaskedInput{}308309 │310 375 │ def get_unmasked_value(%__MODULE__{value: value, mask: mask}), do: strip_mask(value, mask)311 │ ~312 │313 └─ lib/drafter/widget/masked_input.ex:375:7: Drafter.Widget.MaskedInput.get_unmasked_value/1314315 warning: the following clause is redundant:316317 def handle_event(_event, state)318319 it has type:320321 dynamic(), dynamic()322323 previous clauses have already matched on the following types:324325 {:key, :escape}, term()326 {:key, :h}, term()327 {:bracketed_paste, term()}, term()328 term(), term()329330 │331 1 │ defmodule Drafter.Widget.FilePicker do332 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~333 │334 └─ lib/drafter/widget/file_picker.ex:1: Drafter.Widget.FilePicker.handle_event/2335336 warning: the following conditional expression:337338 new_index339340 will always evaluate to:341342 dynamic(not false and not nil)343344 where "new_index" was given the type:345346 # type: dynamic(not false and not nil)347 # from: lib/drafter/widget/data_table/selection.ex:75:15348 new_index =349 case find_next_enabled_from(state.data, target_index) do350 ...351 end352353 type warning found at:354 │355 84 │ if new_index do356 │ ~~~~~~~~~~~~~~~357 │358 └─ lib/drafter/widget/data_table/selection.ex:84: Drafter.Widget.DataTable.Selection.action_page_down/2359360 warning: the following clause is redundant:361362 other ->363364 previous clauses have already matched on the following types:365366 {term(), term()}367368 where "other" was given the type:369370 # type: dynamic({term(), term()})371 # from: lib/drafter/terminal/driver.ex:471:7372 other373374 type warning found at:375 │376 471 │ other -> {:error, {:stty_failed, other}}377 │ ~378 │379 └─ lib/drafter/terminal/driver.ex:471:13: Drafter.Terminal.Driver.enter_terminal_mode_with_stty/0380381 warning: the following clause is redundant:382383 defp get_state_value(state, key)384 when is_map(state) and is_map_key(state, :__struct__) and385 is_atom(:erlang.map_get(:__struct__, state))386387 it has type:388389 dynamic(%{..., __struct__: atom()}), dynamic()390391 previous clauses have already matched on the following types:392393 map(), term()394395 │396 159 │ defp get_state_value(state, key) when is_struct(state) do397 │ ~398 │399 └─ lib/drafter/style/computed.ex:159:8: Drafter.Style.Computed.get_state_value/2400401 warning: the following clause is redundant:402403 defp apply_render_result({:error, _reason}, _, _, _, _, _)404405 it has type:406407 dynamic({:error, term()}), dynamic(), dynamic(), dynamic(), dynamic(), dynamic()408409 previous clauses have already matched on the following types:410411 {...}, term(), term(), term(), term(), term()412 empty_list() or non_empty_list(term(), term()), term(), term(), term(), term(), term()413414 │415 211 │ defp apply_render_result({:error, _reason}, _, _, _, _, _), do: {:error, nil}416 │ ~417 │418 └─ lib/drafter/runtime/renderer.ex:211:8: Drafter.Runtime.Renderer.apply_render_result/6419420 warning: this guard will never succeed:421422 false423424 because it returns type:425426 false427428 type warning found at:429 │430 765 │ defp paintable_region(_strips, _rect) when false, do: false431 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~432 │433 └─ lib/drafter/runtime/renderer.ex:765: Drafter.Runtime.Renderer.paintable_region/2434435 warning: the following clause is redundant:436437 def handle_event(_event, state)438439 it has type:440441 dynamic(), dynamic()442443 previous clauses have already matched on the following types:444445 {:key, :enter}, term()446 {:key, :escape}, term()447 term(), term()448449 │450 1 │ defmodule Drafter.Accounts.RegisterApp do451 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~452 │453 └─ lib/drafter/accounts/register_app.ex:1: Drafter.Accounts.RegisterApp.handle_event/2454455 warning: this clause of defp safe_widget_state/1 is never used (or it will always fail/warn when invoked)456 │457 748 │ defp safe_widget_state(nil), do: nil458 │ ~459 │460 └─ lib/drafter.ex:748:8: Drafter.safe_widget_state/1461462Generated drafter app463==> tuning_fork464Compiling 70 files (.ex)465 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 operator466 │467 82 │ <<_block::binary-size(length), after_block::binary>> ->468 │ ~469 │470 └─ lib/tuning_fork/flac.ex:82:29: TuningFork.Flac.metadata/2471472 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 operator473 │474 102 │ <<_pad::size(pad), _crc::16, next::binary>> = rest475 │ ~476 │477 └─ lib/tuning_fork/flac.ex:102:20: TuningFork.Flac.frames/3478479 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 operator480 │481 206 │ <<value::signed-size(bits), rest::bits>> -> {:ok, List.duplicate(value, size), rest}482 │ ~483 │484 └─ lib/tuning_fork/flac.ex:206:28: TuningFork.Flac.subframe_of/4485486 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 operator487 │488 215 │ <<raw::bits-size(total), rest::bits>> ->489 │ ~490 │491 └─ lib/tuning_fork/flac.ex:215:24: TuningFork.Flac.subframe_of/4492493 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 operator494 │495 216 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}496 │ ~497 │498 └─ lib/tuning_fork/flac.ex:216:40: TuningFork.Flac.subframe_of/4499500 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 operator501 │502 248 │ <<raw::bits-size(total), rest::bits>> ->503 │ ~504 │505 └─ lib/tuning_fork/flac.ex:248:24: TuningFork.Flac.warmup/3506507 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 operator508 │509 249 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), rest}510 │ ~511 │512 └─ lib/tuning_fork/flac.ex:249:40: TuningFork.Flac.warmup/3513514 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 operator515 │516 262 │ <<raw::bits-size(total), rest::bits>> ->517 │ ~518 │519 └─ lib/tuning_fork/flac.ex:262:24: TuningFork.Flac.lpc_coefficients/2520521 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 operator522 │523 263 │ {:ok, for(<<value::signed-size(bits) <- raw>>, do: value), shift, rest}524 │ ~525 │526 └─ lib/tuning_fork/flac.ex:263:40: TuningFork.Flac.lpc_coefficients/2527528 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 operator529 │530 292 │ <<^escape::size(param_bits), raw_bits::5, rest::bits>> -> raw(rest, samples, raw_bits)531 │ ~532 │533 └─ lib/tuning_fork/flac.ex:292:25: TuningFork.Flac.partitions/8534535 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 operator536 │537 293 │ <<param::size(param_bits), rest::bits>> -> rice(rest, param, samples, [])538 │ ~539 │540 └─ lib/tuning_fork/flac.ex:293:23: TuningFork.Flac.partitions/8541542 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 operator543 │544 306 │ <<raw::bits-size(total), rest::bits>> ->545 │ ~546 │547 └─ lib/tuning_fork/flac.ex:306:24: TuningFork.Flac.raw/3548549 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 operator550 │551 307 │ {:ok, for(<<value::signed-size(raw_bits) <- raw>>, do: value), rest}552 │ ~553 │554 └─ lib/tuning_fork/flac.ex:307:40: TuningFork.Flac.raw/3555556 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 operator557 │558 318 │ {quotient, <<remainder::size(param), rest::bits>>} ->559 │ ~560 │561 └─ lib/tuning_fork/flac.ex:318:36: TuningFork.Flac.rice/4562563 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 operator564 │565 332 │ <<_::size(zeros + 1), rest::bits>> = bits566 │ ~567 │568 └─ lib/tuning_fork/flac.ex:332:15: TuningFork.Flac.unary/2569570 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 operator571 │572 60 │ <<before::binary-size(at), rest::binary>> = base573 │ ~574 │575 └─ lib/tuning_fork/mixer.ex:60:31: TuningFork.Mixer.mix_at/4576577 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 operator578 │579 64 │ <<fits::binary-size(space), over::binary>> = buffer580 │ ~581 │582 └─ lib/tuning_fork/mixer.ex:64:29: TuningFork.Mixer.mix_at/4583584 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 operator585 │586 65 │ <<before::binary-size(at), rest::binary>> = base587 │ ~588 │589 └─ lib/tuning_fork/mixer.ex:65:31: TuningFork.Mixer.mix_at/4590591 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 operator592 │593 81 │ <<chunk::binary-size(wanted), rest::binary>> ->594 │ ~595 │596 └─ lib/tuning_fork/mixer.ex:81:28: TuningFork.Mixer.take/3597598 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 operator599 │600 103 │ <<head::binary-size(keep), tail::binary>> when tail != <<>> ->601 │ ~602 │603 └─ lib/tuning_fork/mixer.ex:103:27: TuningFork.Mixer.fold/3604605 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 operator606 │607 86 │ <<blob::binary-size(size), left::binary>> = rest608 │ ~609 │610 └─ lib/tuning_fork/osc.ex:86:25: TuningFork.Osc.argument_of/2611612 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 operator613 │614 88 │ <<_padding::binary-size(over), after_padding::binary>> = left615 │ ~616 │617 └─ lib/tuning_fork/osc.ex:88:29: TuningFork.Osc.argument_of/2618619 warning: unused require Logger620 │621 11 │ require Logger622 │ ~623 │624 └─ lib/tuning_fork/osc/client.ex:11:3625626 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 operator627 │628 220 │ <<head::binary-size(room), tail::binary>> when tail != <<>> ->629 │ ~630 │631 └─ lib/tuning_fork/score.ex:220:27: TuningFork.Score.wrap/4632633 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 operator634 │635 417 │ <<data::binary-size(length), rest::binary>> = rest636 │ ~637 │638 └─ lib/tuning_fork/midi.ex:417:25: TuningFork.Midi.event/2639640 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 operator641 │642 427 │ <<_data::binary-size(length), rest::binary>> = rest643 │ ~644 │645 └─ lib/tuning_fork/midi.ex:427:26: TuningFork.Midi.event/2646647 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 operator648 │649 167 │ for <<frame::binary-size(channels * 2) <- pcm>>, reduce: {0, <<>>} do650 │ ~651 │652 └─ lib/tuning_fork/stage/bed.ex:167:30: TuningFork.Stage.Bed.ramp/4653654 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 operator655 │656 734 │ for <<sample::16-signed-little, _rest::binary-size(channels * 2 - 2) <- pcm>>, do: sample657 │ ~658 │659 └─ lib/tuning_fork/stage.ex:734:58: TuningFork.Stage.thinned/3660661 warning: the following conditional expression:662663 File.mkdir_p!(TuningFork.Sample.Fetch.dir())664665 will always evaluate to:666667 dynamic(:ok)668669 type warning found at:670 │671 144 │ unless File.exists?(path), do: File.mkdir_p!(Fetch.dir()) && File.write!(path, bytes)672 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~673 │674 └─ lib/tuning_fork/sample/font.ex:144: TuningFork.Sample.Font.decode/3675676Generated tuning_fork app677==> tuning_fork_composer678Compiling 4 files (.ex)679Generated tuning_fork_composer app680==> tuning_fork_midi681mkdir -p priv682/home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-15.3.1/bin/aarch64-nerves-linux-gnu-gcc -mabi=lp64 -fstack-protector-strong -mcpu=cortex-a53 -fPIE -pie -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -O2 --sysroot /home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_qemu_aarch64-0.4.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_qemu_aarch64-0.4.2/staging -shared -lpthread -lasound683In file included from c_src/tuning_fork_midi_nif.c:22:684c_src/minimidio.h:474:12: fatal error: alsa/asoundlib.h: No such file or directory685 474 | # include <alsa/asoundlib.h>686 | ^~~~~~~~~~~~~~~~~~687compilation terminated.688make: *** [Makefile:24: priv/tuning_fork_midi_nif.so] Error 1689could 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"690==> nerves_compatibility_test691** (Mix) Could not compile with "make" (exit status: 2).692tuning_fork_midi's MIDI ports did not build.693694This package is only the ports. tuning_fork itself is pure Elixir and needs none of it:695drop this dependency and everything but playing to and reading from a MIDI device still696works, including writing a .mid file with TuningFork.Midi.write!/3.697698Building it needs a C compiler, and on Linux the ALSA headers (libasound2-dev).699