Build log
nerves_system_x86_64
toxico 0.1.1 · fail · run toxico-0.1.1-1791143368019
260 of 260 lines
1Resolving Hex dependencies...2Resolution completed in 0.316s3Unchanged:4 bunch 1.6.45 bunch_native 0.3.06 bundlex 0.4.17 circular_buffer 1.1.08 elixir_make 0.10.09 interactive_cmd 0.1.410 nerves 2.0.0-pre.211 nerves_discovery 0.1.512 nerves_logging 0.2.413 nerves_runtime 0.13.1314 nerves_system_bbb 2.30.215 nerves_system_br 1.34.416 nerves_system_mangopi_mq_pro 0.17.217 nerves_system_qemu_aarch64 0.4.218 nerves_system_rpi0 2.1.219 nerves_system_rpi4 2.1.220 nerves_system_rpi5 2.1.221 nerves_system_trellis 0.5.022 nerves_system_x86_64 1.34.223 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.125 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.127 nerves_toolchain_x86_64_nerves_linux_musl 15.3.128 nerves_uevent 0.1.729 property_table 0.3.430 qex 0.5.231 ring_logger 0.11.732 secure_random 0.5.133 shmex 0.3.034 tablet 0.3.335 toolshed 0.5.036 toxico 0.1.137 uboot_env 1.0.238 unifex 0.4.039* Getting toxico (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 unifex (Hex package)68* Getting bunch (Hex package)69* Getting bundlex (Hex package)70* Getting shmex (Hex package)71* Getting bunch_native (Hex package)72* Getting qex (Hex package)73* Getting secure_random (Hex package)74==> bundlex75Compiling 29 files (.ex)76 warning: using single-quoted strings to represent charlists is deprecated.77 Use ~c"" if you indeed want a charlist or use "" instead.78 You may run "mix format --migrate" to change all single-quoted79 strings to use the ~c sigil and fix this warning.80 │81 38 │ {port, {:data, {:eol, 'ready'}}},82 │ ~83 │84 └─ lib/bundlex/cnode/server.ex:38:318586 warning: using single-quoted strings to represent charlists is deprecated.87 Use ~c"" if you indeed want a charlist or use "" instead.88 You may run "mix format --migrate" to change all single-quoted89 strings to use the ~c sigil and fix this warning.90 │91 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')92 │ ~93 │94 └─ lib/bundlex/platform.ex:48:419596 warning: using single-quoted strings to represent charlists is deprecated.97 Use ~c"" if you indeed want a charlist or use "" instead.98 You may run "mix format --migrate" to change all single-quoted99 strings to use the ~c sigil and fix this warning.100 │101 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')102 │ ~103 │104 └─ lib/bundlex/platform.ex:49:45105106 warning: expected a map or struct when accessing .toolchain_module in expression:107108 Bundlex.Platform.get_module(platform).toolchain_module109110 but got type:111112 dynamic(113 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or114 Bundlex.Platform.Windows64115 )116117 where "platform" was given the type:118119 # type: dynamic(:linux or :macosx or :windows32 or :windows64)120 # from: lib/tasks/compile.bundlex.ex:34:37121 Bundlex.Platform.get_module(platform)122123 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()124125 type warning found at:126 │127 34 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)128 │ ~129 │130 └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/1131132 warning: a struct for Bundlex.Native is expected on struct update:133134 %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}135136 but got type:137138 dynamic(%{..., sources: term()})139140 where "native" was given the type:141142 # type: dynamic(%{..., sources: term()})143 # from: lib/bundlex/native.ex:126:51144 Enum.empty?(native.sources)145146 when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"147148 type warning found at:149 │150 129 │ %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}151 │ ~152 │153 └─ lib/bundlex/native.ex:129:9: Bundlex.Native.parse_native/2154155 warning: expected a map or struct when accessing .toolchain_module in expression:156157 Bundlex.Platform.get_module(platform).toolchain_module158159 but got type:160161 dynamic(162 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or163 Bundlex.Platform.Windows64164 )165166 where "platform" was given the type:167168 # type: dynamic(:linux or :macosx or :windows32 or :windows64)169 # from: lib/bundlex/native.ex:106:27170 Bundlex.Platform.get_module(platform)171172 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()173174 type warning found at:175 │176 106 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)177 │ ~178 │179 └─ lib/bundlex/native.ex:106:48: Bundlex.Native.resolve_native/4180181Generated bundlex app182warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()183 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1184 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5185 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2186 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4187 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2188189==> bunch_native190Bundlex: Building natives: lib, bunch191warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()192 (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4193 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3194 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1195 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5196 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2197198Generated bunch_native app199==> shmex200Bundlex: Building natives: lib, shmex201Compiling 2 files (.ex)202 warning: the following pattern will never match:203204 {:ok, trimmed_front} <- trim_leading(shm, bytes)205206 because the right-hand side has type:207208 none()209210 where "bytes" was given the type:211212 # type: dynamic()213 # from: lib/shmex_native.ex:119:17214 bytes215216 where "shm" was given the type:217218 # type: dynamic()219 # from: lib/shmex_native.ex:119:12220 shm221222 type warning found at:223 │224 120 │ with {:ok, trimmed_front} <- trim_leading(shm, bytes),225 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~226 │227 └─ lib/shmex_native.ex:120: Shmex.Native.trim/2228229Generated shmex app230==> unifex231Bundlex: Building natives: unifex232Compiling 30 files (.ex)233 warning: unused require Bundlex.CNode234 │235 6 │ require Bundlex.CNode236 │ ~237 │238 └─ lib/unifex/cnode.ex:6:3239240Generated unifex app241==> toxico242/usr/bin/sh: 1: clang-format: not found243Bundlex: Building natives: tox244Package toxcore was not found in the pkg-config search path.245Perhaps you should add the directory containing `toxcore.pc'246to the PKG_CONFIG_PATH environment variable247Package 'toxcore', required by 'virtual:world', not found248could not compile dependency :toxico, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile toxico --force", update it with "mix deps.update toxico" or clean it with "mix deps.clean toxico"249** (MatchError) no match of right hand side value:250251 {"", 1}252253 (bundlex 0.4.1) lib/bundlex/toolchain/common/unix.ex:104: Bundlex.Toolchain.Common.Unix.pkg_config/2254 (bundlex 0.4.1) lib/bundlex/toolchain/common/unix.ex:10: Bundlex.Toolchain.Common.Unix.compiler_commands/5255 (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4256 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3257 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1258 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5259 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2260 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4