Build log
nerves_system_x86_64
tuning_fork_drafter 0.1.11 · fail · run tuning_fork_drafter-0.1.11-1791145837646
284 of 284 lines
1Resolving Hex dependencies...2Resolution completed in 0.19s3Unchanged: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==> spark75Compiling 46 files (.ex)76Generated spark app77==> drafter78mkdir -p priv79/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -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_x86_64-1.34.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.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_x86_64-1.34.2/staging -shared -lutil && mv -f priv/termios_nif.so.tmp priv/termios_nif.so80/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -O2 -o priv/pty_spawn.tmp c_src/pty_spawn.c && mv -f priv/pty_spawn.tmp priv/pty_spawn81Compiling 202 files (.ex)82 warning: unused require Logger83 │84 4 │ require Logger85 │ ~86 │87 └─ lib/drafter/diagnostics/logging.ex:4:38889 warning: this clause of defp since_last_push/1 is never used (or it will always fail/warn when invoked)90 │91 580 │ defp since_last_push(nil), do: :infinity92 │ ~93 │94 └─ lib/drafter/widget_runtime/widget_server.ex:580:8: Drafter.WidgetServer.since_last_push/19596 warning: the following clause is redundant:9798 def get_unmasked_value(%Drafter.Widget.MaskedInput{value: value, mask: mask})99100 it has type:101102 dynamic(%Drafter.Widget.MaskedInput{})103104 previous clauses have already matched on the following types:105106 %Drafter.Widget.MaskedInput{}107108 │109 375 │ def get_unmasked_value(%__MODULE__{value: value, mask: mask}), do: strip_mask(value, mask)110 │ ~111 │112 └─ lib/drafter/widget/masked_input.ex:375:7: Drafter.Widget.MaskedInput.get_unmasked_value/1113114 warning: the following clause is redundant:115116 def handle_event(_event, state)117118 it has type:119120 dynamic(), dynamic()121122 previous clauses have already matched on the following types:123124 {:key, :escape}, term()125 {:key, :h}, term()126 {:bracketed_paste, term()}, term()127 term(), term()128129 │130 1 │ defmodule Drafter.Widget.FilePicker do131 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~132 │133 └─ lib/drafter/widget/file_picker.ex:1: Drafter.Widget.FilePicker.handle_event/2134135 warning: the following conditional expression:136137 new_index138139 will always evaluate to:140141 dynamic(not false and not nil)142143 where "new_index" was given the type:144145 # type: dynamic(not false and not nil)146 # from: lib/drafter/widget/data_table/selection.ex:75:15147 new_index =148 case find_next_enabled_from(state.data, target_index) do149 ...150 end151152 type warning found at:153 │154 84 │ if new_index do155 │ ~~~~~~~~~~~~~~~156 │157 └─ lib/drafter/widget/data_table/selection.ex:84: Drafter.Widget.DataTable.Selection.action_page_down/2158159 warning: the following clause is redundant:160161 other ->162163 previous clauses have already matched on the following types:164165 {term(), term()}166167 where "other" was given the type:168169 # type: dynamic({term(), term()})170 # from: lib/drafter/terminal/driver.ex:471:7171 other172173 type warning found at:174 │175 471 │ other -> {:error, {:stty_failed, other}}176 │ ~177 │178 └─ lib/drafter/terminal/driver.ex:471:13: Drafter.Terminal.Driver.enter_terminal_mode_with_stty/0179180 warning: the following clause is redundant:181182 defp get_state_value(state, key)183 when is_map(state) and is_map_key(state, :__struct__) and184 is_atom(:erlang.map_get(:__struct__, state))185186 it has type:187188 dynamic(%{..., __struct__: atom()}), dynamic()189190 previous clauses have already matched on the following types:191192 map(), term()193194 │195 159 │ defp get_state_value(state, key) when is_struct(state) do196 │ ~197 │198 └─ lib/drafter/style/computed.ex:159:8: Drafter.Style.Computed.get_state_value/2199200 warning: the following clause is redundant:201202 defp apply_render_result({:error, _reason}, _, _, _, _, _)203204 it has type:205206 dynamic({:error, term()}), dynamic(), dynamic(), dynamic(), dynamic(), dynamic()207208 previous clauses have already matched on the following types:209210 {...}, term(), term(), term(), term(), term()211 empty_list() or non_empty_list(term(), term()), term(), term(), term(), term(), term()212213 │214 211 │ defp apply_render_result({:error, _reason}, _, _, _, _, _), do: {:error, nil}215 │ ~216 │217 └─ lib/drafter/runtime/renderer.ex:211:8: Drafter.Runtime.Renderer.apply_render_result/6218219 warning: this guard will never succeed:220221 false222223 because it returns type:224225 false226227 type warning found at:228 │229 765 │ defp paintable_region(_strips, _rect) when false, do: false230 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~231 │232 └─ lib/drafter/runtime/renderer.ex:765: Drafter.Runtime.Renderer.paintable_region/2233234 warning: the following clause is redundant:235236 def handle_event(_event, state)237238 it has type:239240 dynamic(), dynamic()241242 previous clauses have already matched on the following types:243244 {:key, :enter}, term()245 {:key, :escape}, term()246 term(), term()247248 │249 1 │ defmodule Drafter.Accounts.RegisterApp do250 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~251 │252 └─ lib/drafter/accounts/register_app.ex:1: Drafter.Accounts.RegisterApp.handle_event/2253254 warning: this clause of defp safe_widget_state/1 is never used (or it will always fail/warn when invoked)255 │256 748 │ defp safe_widget_state(nil), do: nil257 │ ~258 │259 └─ lib/drafter.ex:748:8: Drafter.safe_widget_state/1260261Generated drafter app262==> tuning_fork_composer263Compiling 4 files (.ex)264Generated tuning_fork_composer app265==> tuning_fork_midi266mkdir -p priv267/home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-15.3.1/bin/x86_64-nerves-linux-musl-gcc -m64 -fstack-protector-strong -march=x86-64 -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_x86_64-1.34.2/staging -I/home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.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_x86_64-1.34.2/staging -shared -lpthread -lasound268In file included from c_src/tuning_fork_midi_nif.c:22:269c_src/minimidio.h:474:12: fatal error: alsa/asoundlib.h: No such file or directory270 474 | # include <alsa/asoundlib.h>271 | ^~~~~~~~~~~~~~~~~~272compilation terminated.273make: *** [Makefile:24: priv/tuning_fork_midi_nif.so] Error 1274could 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"275==> nerves_compatibility_test276** (Mix) Could not compile with "make" (exit status: 2).277tuning_fork_midi's MIDI ports did not build.278279This package is only the ports. tuning_fork itself is pure Elixir and needs none of it:280drop this dependency and everything but playing to and reading from a MIDI device still281works, including writing a .mid file with TuningFork.Midi.write!/3.282283Building it needs a C compiler, and on Linux the ALSA headers (libasound2-dev).284