Build log
host
genai_local 0.3.0 · fail · run genai_local-0.3.0-1792939703753
664 of 664 lines
1Resolving Hex dependencies...2Resolution completed in 0.193s3Unchanged:4 bunt 1.0.05 circular_buffer 1.1.06 credo 1.7.197 elixir_make 0.10.18 elixir_uuid 1.2.19 ex_llama 0.2.310 file_system 1.1.111 finch 0.24.012 floki 0.38.413 genai_core 0.4.014 genai_local 0.3.015 hpax 1.1.016 interactive_cmd 0.1.417 jason 1.4.518 logger_backends 1.0.119 mime 2.0.720 mint 1.11.021 nerves 2.0.0-pre.322 nerves_discovery 0.1.623 nerves_logging 0.2.424 nerves_runtime 0.13.1325 nerves_system_bbb 2.31.126 nerves_system_br 1.35.327 nerves_system_mangopi_mq_pro 0.18.128 nerves_system_qemu_aarch64 0.5.129 nerves_system_rpi0 2.2.130 nerves_system_rpi4 2.2.131 nerves_system_rpi5 2.2.132 nerves_system_trellis 0.6.133 nerves_system_x86_64 1.35.134 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.135 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.136 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.137 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.138 nerves_toolchain_x86_64_nerves_linux_musl 15.3.139 nerves_uevent 0.1.840 nimble_options 1.1.141 nimble_pool 1.1.042 noizu_labs_core 0.1.843 property_table 0.3.444 ring_logger 0.11.745 shortuuid 4.1.046 tablet 0.3.347 telemetry 1.4.248 toolshed 0.5.049 uboot_env 1.0.350 yamerl 0.10.051 yaml_elixir 2.9.052 ymlr 5.1.653All dependencies have been fetched54==> tablet55Compiling 2 files (.ex)56Generated tablet app57==> nerves_discovery58Compiling 5 files (.ex)59Generated nerves_discovery app60==> interactive_cmd61Compiling 1 file (.ex)62Generated interactive_cmd app63==> nerves64Compiling 65 files (.ex)65Generated nerves app66==> shortuuid67Compiling 4 files (.ex)68Generated shortuuid app69==> file_system70Compiling 7 files (.ex)71Generated file_system app72==> floki73Compiling 1 file (.xrl)74Compiling 2 files (.erl)75Compiling 30 files (.ex)76Generated floki app77==> ymlr78Compiling 3 files (.ex)79Generated ymlr app80==> circular_buffer81Compiling 1 file (.ex)82Generated circular_buffer app83==> nimble_options84Compiling 3 files (.ex)85Generated nimble_options app86==> bunt87Compiling 2 files (.ex)88Generated bunt app89==> jason90Compiling 10 files (.ex)91Generated jason app92==> logger_backends93Compiling 7 files (.ex)94Generated logger_backends app95==> hpax96Compiling 4 files (.ex)97Generated hpax app98==> mint99Compiling 1 file (.erl)100Compiling 21 files (.ex)101Generated mint app102==> nerves_compatibility_test103===> Analyzing applications...104===> Compiling yamerl105/work/proj/deps/yamerl/src/yamerl_node_binary.erl:65:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.106Compile directive 'nowarn_deprecated_catch' can be used to suppress107warnings in selected modules.108% 65| case catch base64:decode(Text) of109% | ^110111/work/proj/deps/yamerl/src/yamerl_node_binary.erl:72:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.112Compile directive 'nowarn_deprecated_catch' can be used to suppress113warnings in selected modules.114% 72| case catch base64:decode(Text) of115% | ^116117 ┌─ src/yamerl_node_binary.erl:118 │119 65 │ case catch base64:decode(Text) of120 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.121Compile directive 'nowarn_deprecated_catch' can be used to suppress122warnings in selected modules.123124 ┌─ src/yamerl_node_binary.erl:125 │126 72 │ case catch base64:decode(Text) of127 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.128Compile directive 'nowarn_deprecated_catch' can be used to suppress129warnings in selected modules.130131132/work/proj/deps/yamerl/src/yamerl_constr.erl:801:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.133Compile directive 'nowarn_deprecated_catch' can be used to suppress134warnings in selected modules.135% 801| catch Mod:module_info(),136% | ^137138 ┌─ src/yamerl_constr.erl:139 │140 801 │ catch Mod:module_info(),141 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.142Compile directive 'nowarn_deprecated_catch' can be used to suppress143warnings in selected modules.144145146==> elixir_make147Compiling 8 files (.ex)148Generated elixir_make app149==> nerves_logging150 CC kmsg_tailer.o151 LD kmsg_tailer152Not crosscompiling. To test locally, the port binary needs extra permissions.153Set SUDO=sudo to set permissions. The default is to skip this step.154SUDO_ASKPASS=/usr/bin/ssh-askpass155SUDO=true156Compiling 5 files (.ex)157Generated nerves_logging app158==> elixir_uuid159Compiling 1 file (.ex)160 warning: use Bitwise is deprecated. import Bitwise instead161 │162 2 │ use Bitwise, only_operators: true163 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~164 │165 └─ lib/uuid.ex:2: UUID (module)166167Generated elixir_uuid app168==> ring_logger169Compiling 7 files (.ex)170Generated ring_logger app171==> yaml_elixir172Compiling 6 files (.ex)173 warning: using single-quoted strings to represent charlists is deprecated.174 Use ~c"" if you indeed want a charlist or use "" instead.175 You may run "mix format --migrate" to change all single-quoted176 strings to use the ~c sigil and fix this warning.177 │178 6 │ @tag 'tag:yaml_elixir,2019:keyword_list'179 │ ~180 │181 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:6:8182183 warning: using single-quoted strings to represent charlists is deprecated.184 Use ~c"" if you indeed want a charlist or use "" instead.185 You may run "mix format --migrate" to change all single-quoted186 strings to use the ~c sigil and fix this warning.187 │188 23 │ node = unfinished_node(node, priv: {'$expecting_key', unfinished_node(node, :priv)})189 │ ~190 │191 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:23:41192193 warning: using single-quoted strings to represent charlists is deprecated.194 Use ~c"" if you indeed want a charlist or use "" instead.195 You may run "mix format --migrate" to change all single-quoted196 strings to use the ~c sigil and fix this warning.197 │198 30 │ node = unfinished_node(node, priv: {key, '$expecting_value', keyword_list})199 │ ~200 │201 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:30:46202203 warning: using single-quoted strings to represent charlists is deprecated.204 Use ~c"" if you indeed want a charlist or use "" instead.205 You may run "mix format --migrate" to change all single-quoted206 strings to use the ~c sigil and fix this warning.207 │208 55 │ {'$expecting_key', keyword_list} = unfinished_node(node, :priv)209 │ ~210 │211 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:55:12212213 warning: using single-quoted strings to represent charlists is deprecated.214 Use ~c"" if you indeed want a charlist or use "" instead.215 You may run "mix format --migrate" to change all single-quoted216 strings to use the ~c sigil and fix this warning.217 │218 60 │ {key, '$expecting_value', keyword_list} = unfinished_node(node, :priv)219 │ ~220 │221 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:60:17222223 warning: unused require Record224 │225 2 │ require Record226 │ ~227 │228 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:2:3229230Generated yaml_elixir app231==> nerves_compatibility_test232===> Analyzing applications...233===> Compiling telemetry234==> credo235Compiling 257 files (.ex)236Generated credo app237==> noizu_labs_core238Compiling 12 files (.ex)239Generated noizu_labs_core app240==> uboot_env241Compiling 5 files (.ex)242Generated uboot_env app243==> nimble_pool244Compiling 2 files (.ex)245Generated nimble_pool app246==> finch247Compiling 23 files (.ex)248Generated finch app249==> genai_core250Compiling 116 files (.ex)251 warning: undefined module attribute @max_tool_iterations_default, please remove access to @max_tool_iterations_default or explicitly set it before access252 │253 20 │ `:max_tool_iterations` (default #{@max_tool_iterations_default}) is hit254 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~255 │256 └─ lib/genai/dialogue.ex:20: GenAI.Dialogue (module)257258 warning: variable "reason" is unused (if the variable is not meant to be used, prefix it with an underscore)259 │260 257 │ kind, reason -> {:halt, "Tool call failed (#{kind})."}261 │ ~262 │263 └─ lib/genai/dialogue.ex:257:11: GenAI.Dialogue.safely_exec/3264265 warning: default arguments in protocol definitions is deprecated266 │267 24 │ def nodes(graph_node, options \\ nil)268 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~269 │270 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)271272 warning: default arguments in protocol definitions is deprecated273 │274 33 │ def build_node_lookup(graph_node, options \\ nil)275 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~276 │277 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)278279 warning: default arguments in protocol definitions is deprecated280 │281 42 │ def build_handle_lookup(graph_node, options \\ nil)282 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~283 │284 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)285286 warning: protocols can only define functions without implementation via def/1, found: build_handle_lookup/1, nodes/1, build_node_lookup/1287 │288 1 │ defprotocol GenAI.Graph.NodeProtocol do289 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~290 │291 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)292293 warning: default arguments in protocol definitions is deprecated294 │295 84 │ def with_stream_handler(context, handler, options \\ nil)296 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~297 │298 └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)299300 warning: default arguments in protocol definitions is deprecated301 │302 87 │ def execute(session, command, context, options \\ nil)303 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~304 │305 └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)306307 warning: protocols can only define functions without implementation via def/1, found: execute/3, with_stream_handler/2308 │309 1 │ defprotocol GenAI.ThreadProtocol do310 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~311 │312 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)313314 warning: unused require GenAI.Types.Graph315 │316 10 │ require GenAI.Types.Graph317 │ ~318 │319 └─ lib/vnext_genai/graph/root.ex:10:3320321 warning: unused require GenAI.Records.Link322 │323 6 │ require GenAI.Records.Link324 │ ~325 │326 └─ lib/vnext_genai/thread/session.ex:6:3327328 warning: unused require Logger329 │330 85 │ require Logger331 │ ~332 │333 └─ lib/vnext_genai/thread/session.ex:85:5334335 warning: the following clause cannot match because the previous clauses already matched all possible values:336337 x ->338339 it attempts to match on the result of:340341 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)342343 which has the already matched type:344345 dynamic(:state_diagram_v2)346347 where "x" was given the type:348349 # type: dynamic(:state_diagram_v2)350 # from: lib/vnext_genai/vnext.graph.ex:717:7351 x352353 type warning found at:354 │355 717 │ x -> {:error, {:unsupported_diagram, x}}356 │ ~357 │358 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3359360 warning: the following pattern will never match:361362 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)363364 because the right-hand side has type:365366 dynamic(%GenAI.Graph.Link{source: term()})367368 where "from_node" was given the type:369370 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})371 # from: lib/vnext_genai/vnext.graph.ex:489:34372 GenAI.Graph.Link.putnew_source(link, from_node)373374 where "link" was given the types:375376 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})377 # from: lib/vnext_genai/vnext.graph.ex:487:14378 link = auto_link379380 # type: dynamic(%GenAI.Graph.Link{source: term()})381 # from: lib/vnext_genai/vnext.graph.ex:489:34382 GenAI.Graph.Link.putnew_source(link, from_node)383384 type warning found at:385 │386 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),387 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~388 │389 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5390391 warning: the right-hand side of || will always execute:392393 elem(x, 1)394395 because the left-hand side always evaluates to:396397 dynamic(nil)398399 where "x" (context Kernel) was given the type:400401 # type: dynamic(nil)402 # from: lib/vnext_genai/graph/link.ex:629403 x404405 type warning found at:406 │407 629 │ node: R.Link.connector(x, :node) || target,408 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~409 │410 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2411412 warning: the right-hand side of || will always execute:413414 elem(x, 1)415416 because the left-hand side always evaluates to:417418 dynamic(nil)419420 where "x" (context Kernel) was given the type:421422 # type: dynamic(nil)423 # from: lib/vnext_genai/graph/link.ex:650424 x425426 type warning found at:427 │428 650 │ node: R.Link.connector(x, :node) || connector_id,429 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~430 │431 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2432433 warning: the right-hand side of || will always execute:434435 elem(x, 1)436437 because the left-hand side always evaluates to:438439 dynamic(nil)440441 where "x" (context Kernel) was given the type:442443 # type: dynamic(nil)444 # from: lib/vnext_genai/graph/link.ex:738445 x446447 type warning found at:448 │449 738 │ node: R.Link.connector(x, :node) || source,450 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~451 │452 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2453454 warning: the following clause will never match:455456 %_{} ->457458 because it attempts to match on the result of:459460 parameters461462 which has type:463464 dynamic(not false and not nil and not map())465466 type warning found at:467 │468 261 │ (is_map(parameters) or is_struct(parameters)),469 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~470 │471 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1472473 warning: the right-hand side of || will always execute:474475 elem(x, 1)476477 because the left-hand side always evaluates to:478479 dynamic(nil)480481 where "x" (context Kernel) was given the type:482483 # type: dynamic(nil)484 # from: lib/vnext_genai/graph/link.ex:759485 x486487 type warning found at:488 │489 759 │ node: R.Link.connector(x, :node) || connector_id,490 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~491 │492 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2493494 warning: this clause of defp normalize_branches/1 is never used (or it will always fail/warn when invoked)495 │496 585 │ defp normalize_branches(_), do: {:error, :invalid_fork}497 │ ~498 │499 └─ lib/vnext_genai/pipeline.ex:585:8: GenAI.Pipeline.normalize_branches/1500501 warning: the following conditional expression:502503 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)504505 will always evaluate to:506507 dynamic({:ok, term()})508509 where "context" was given the type:510511 # type: dynamic()512 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67513 context514515 where "id" was given the type:516517 # type: dynamic()518 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12519 %{id: id, usage: %{}, model: model, choices: choices} <- json520521 where "model" was given the type:522523 # type: dynamic()524 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12525 %{id: id, usage: %{}, model: model, choices: choices} <- json526527 where "module" was given the type:528529 # type: dynamic(atom())530 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24531 module.completion_choices(id, &1, model, settings, session, context, options)532533 where "options" was given the type:534535 # type: dynamic()536 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76537 options538539 where "session" was given the type:540541 # type: dynamic()542 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58543 session544545 where "settings" was given the type:546547 # type: dynamic()548 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48549 settings550551 where "v" was given the type:552553 # type: dynamic()554 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24555 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)556557 type warning found at:558 │559 133 │ &if {:ok, v} =560 │ ~~~~~~~~~~~~~~561 │562 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7563564 warning: the following clause cannot match because the previous clauses already matched all possible values:565566 x ->567568 it attempts to match on the result of:569570 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)571572 which has the already matched type:573574 dynamic(:state_diagram_v2)575576 where "x" was given the type:577578 # type: dynamic(:state_diagram_v2)579 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7580 x581582 type warning found at:583 │584 22 │ x -> {:error, {:unsupported_diagram, x}}585 │ ~586 │587 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3588589Generated genai_core app590==> ex_llama591mkdir -p priv592git clone --depth 1 --branch b8322 https://github.com/ggml-org/llama.cpp.git c_src/llama.cpp593Cloning into 'c_src/llama.cpp'...594Note: switching to '557fe2d9132913eaf08c8abf21b0cff61addb9ac'.595596You are in 'detached HEAD' state. You can look around, make experimental597changes and commit them, and you can discard any commits you make in this598state without impacting any branches by switching back to a branch.599600If you want to create a new branch to retain commits you create, you may601do so (now or later) by using -c with the switch command. Example:602603 git switch -c <new-branch-name>604605Or undo this operation with:606607 git switch -608609Turn off this advice by setting config variable advice.detachedHead to false610611cmake -B c_src/llama.cpp/build -S c_src/llama.cpp \612 -DCMAKE_BUILD_TYPE=Release \613 -DBUILD_SHARED_LIBS=OFF \614 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \615 -DLLAMA_BUILD_TESTS=OFF \616 -DLLAMA_BUILD_EXAMPLES=OFF \617 -DLLAMA_BUILD_SERVER=OFF \618 -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS619-- The C compiler identification is GNU 13.3.0620-- The CXX compiler identification is GNU 13.3.0621-- Detecting C compiler ABI info622-- Detecting C compiler ABI info - done623-- Check for working C compiler: /usr/bin/cc - skipped624-- Detecting C compile features625-- Detecting C compile features - done626-- Detecting CXX compiler ABI info627-- Detecting CXX compiler ABI info - done628-- Check for working CXX compiler: /usr/bin/c++ - skipped629-- Detecting CXX compile features630-- Detecting CXX compile features - done631CMAKE_BUILD_TYPE=Release632-- Found Git: /usr/bin/git (found version "2.43.0") 633-- The ASM compiler identification is GNU634-- Found assembler: /usr/bin/cc635-- Performing Test CMAKE_HAVE_LIBC_PTHREAD636-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success637-- Found Threads: TRUE 638-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF639-- CMAKE_SYSTEM_PROCESSOR: x86_64640-- GGML_SYSTEM_ARCH: x86641-- Including CPU backend642-- Found OpenMP_C: -fopenmp (found version "4.5") 643-- Found OpenMP_CXX: -fopenmp (found version "4.5") 644-- Found OpenMP: TRUE (found version "4.5") 645-- x86 detected646-- Adding CPU backend variant ggml-cpu: -march=native 647-- Could NOT find BLAS (missing: BLAS_LIBRARIES) 648CMake Error at ggml/src/ggml-blas/CMakeLists.txt:98 (message):649 BLAS not found, please refer to650 https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors651 to set correct GGML_BLAS_VENDOR652653654-- Configuring incomplete, errors occurred!655make: *** [Makefile:72: c_src/llama.cpp/build/src/libllama.a] Error 1656could not compile dependency :ex_llama, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_llama --force", update it with "mix deps.update ex_llama" or clean it with "mix deps.clean ex_llama"657==> nerves_compatibility_test658** (Mix) Could not compile with "make" (exit status: 2).659You need to have gcc and make installed. If you are using660Ubuntu or any other Debian-based system, install the packages661"build-essential". Also install "erlang-dev" package if not662included in your Erlang/OTP version. If you're on Fedora, run663"dnf group install 'Development Tools'".664