Build log
host
toxico 0.1.1 · fail · run toxico-0.1.1-1791143368019
226 of 226 lines
1Resolving Hex dependencies...2Resolution completed in 0.148s3Unchanged: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.039All dependencies have been fetched40==> bundlex41Compiling 29 files (.ex)42 warning: using single-quoted strings to represent charlists is deprecated.43 Use ~c"" if you indeed want a charlist or use "" instead.44 You may run "mix format --migrate" to change all single-quoted45 strings to use the ~c sigil and fix this warning.46 │47 38 │ {port, {:data, {:eol, 'ready'}}},48 │ ~49 │50 └─ lib/bundlex/cnode/server.ex:38:315152 warning: using single-quoted strings to represent charlists is deprecated.53 Use ~c"" if you indeed want a charlist or use "" instead.54 You may run "mix format --migrate" to change all single-quoted55 strings to use the ~c sigil and fix this warning.56 │57 48 │ :ok = :win32reg.change_key(reg, '\\hklm\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion')58 │ ~59 │60 └─ lib/bundlex/platform.ex:48:416162 warning: using single-quoted strings to represent charlists is deprecated.63 Use ~c"" if you indeed want a charlist or use "" instead.64 You may run "mix format --migrate" to change all single-quoted65 strings to use the ~c sigil and fix this warning.66 │67 49 │ {:ok, build} = :win32reg.value(reg, 'BuildLabEx')68 │ ~69 │70 └─ lib/bundlex/platform.ex:49:457172 warning: expected a map or struct when accessing .toolchain_module in expression:7374 Bundlex.Platform.get_module(platform).toolchain_module7576 but got type:7778 dynamic(79 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or80 Bundlex.Platform.Windows6481 )8283 where "platform" was given the type:8485 # type: dynamic(:linux or :macosx or :windows32 or :windows64)86 # from: lib/tasks/compile.bundlex.ex:34:3787 Bundlex.Platform.get_module(platform)8889 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()9091 type warning found at:92 │93 34 │ commands = commands ++ Platform.get_module(platform).toolchain_module.before_all!(platform)94 │ ~95 │96 └─ lib/tasks/compile.bundlex.ex:34:58: Mix.Tasks.Compile.Bundlex.run/19798 warning: a struct for Bundlex.Native is expected on struct update:99100 %Bundlex.Native{native | deps: parsed_deps, preprocessors: preprocessors}101102 but got type:103104 dynamic(%{..., sources: term()})105106 where "native" was given the type:107108 # type: dynamic(%{..., sources: term()})109 # from: lib/bundlex/native.ex:126:51110 Enum.empty?(native.sources)111112 when defining the variable "native", you must also pattern match on "%Bundlex.Native{}"113114 type warning found at:115 │116 129 │ %__MODULE__{native | deps: parsed_deps, preprocessors: preprocessors}117 │ ~118 │119 └─ lib/bundlex/native.ex:129:9: Bundlex.Native.parse_native/2120121 warning: expected a map or struct when accessing .toolchain_module in expression:122123 Bundlex.Platform.get_module(platform).toolchain_module124125 but got type:126127 dynamic(128 Bundlex.Platform.Linux or Bundlex.Platform.MacOSX or Bundlex.Platform.Windows32 or129 Bundlex.Platform.Windows64130 )131132 where "platform" was given the type:133134 # type: dynamic(:linux or :macosx or :windows32 or :windows64)135 # from: lib/bundlex/native.ex:106:27136 Bundlex.Platform.get_module(platform)137138 hint: "var.field" (without parentheses) means "var" is a map() while "var.fun()" (with parentheses) means "var" is an atom()139140 type warning found at:141 │142 106 │ commands = Platform.get_module(platform).toolchain_module.compiler_commands(native)143 │ ~144 │145 └─ lib/bundlex/native.ex:106:48: Bundlex.Native.resolve_native/4146147Generated bundlex app148warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()149 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:34: Mix.Tasks.Compile.Bundlex.run/1150 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5151 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2152 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4153 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2154155==> bunch_native156Bundlex: Building natives: lib, bunch157warning: using map.field notation (without parentheses) to invoke function Bundlex.Platform.Linux.toolchain_module() is deprecated, you must add parentheses instead: remote.function()158 (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4159 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3160 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1161 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5162 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2163164Generated bunch_native app165==> shmex166Bundlex: Building natives: lib, shmex167Compiling 2 files (.ex)168 warning: the following pattern will never match:169170 {:ok, trimmed_front} <- trim_leading(shm, bytes)171172 because the right-hand side has type:173174 none()175176 where "bytes" was given the type:177178 # type: dynamic()179 # from: lib/shmex_native.ex:119:17180 bytes181182 where "shm" was given the type:183184 # type: dynamic()185 # from: lib/shmex_native.ex:119:12186 shm187188 type warning found at:189 │190 120 │ with {:ok, trimmed_front} <- trim_leading(shm, bytes),191 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~192 │193 └─ lib/shmex_native.ex:120: Shmex.Native.trim/2194195Generated shmex app196==> unifex197Bundlex: Building natives: unifex198Compiling 30 files (.ex)199 warning: unused require Bundlex.CNode200 │201 6 │ require Bundlex.CNode202 │ ~203 │204 └─ lib/unifex/cnode.ex:6:3205206Generated unifex app207==> toxico208/usr/bin/sh: 1: clang-format: not found209Bundlex: Building natives: tox210Package toxcore was not found in the pkg-config search path.211Perhaps you should add the directory containing `toxcore.pc'212to the PKG_CONFIG_PATH environment variable213Package 'toxcore', required by 'virtual:world', not found214could 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"215** (MatchError) no match of right hand side value:216217 {"", 1}218219 (bundlex 0.4.1) lib/bundlex/toolchain/common/unix.ex:104: Bundlex.Toolchain.Common.Unix.pkg_config/2220 (bundlex 0.4.1) lib/bundlex/toolchain/common/unix.ex:10: Bundlex.Toolchain.Common.Unix.compiler_commands/5221 (bundlex 0.4.1) lib/bundlex/native.ex:106: Bundlex.Native.resolve_native/4222 (bunch 1.6.4) lib/bunch/enum.ex:244: Bunch.Enum.do_try_flat_map/3223 (bundlex 0.4.1) lib/tasks/compile.bundlex.ex:38: Mix.Tasks.Compile.Bundlex.run/1224 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5225 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2226 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4