Build log
host
genai_local 0.3.0 · fail · run genai_local-0.3.0-1791189057374
513 of 513 lines
1Resolving Hex dependencies...2Resolution completed in 0.207s3Unchanged:4 bunt 1.0.05 circular_buffer 1.1.06 credo 1.7.197 elixir_make 0.10.08 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.3.414 genai_local 0.3.015 hpax 1.1.016 interactive_cmd 0.1.417 jason 1.4.518 mime 2.0.719 mint 1.11.020 nerves 2.0.0-pre.221 nerves_discovery 0.1.522 nerves_logging 0.2.423 nerves_runtime 0.13.1324 nerves_system_bbb 2.30.225 nerves_system_br 1.34.426 nerves_system_mangopi_mq_pro 0.17.227 nerves_system_qemu_aarch64 0.4.228 nerves_system_rpi0 2.1.229 nerves_system_rpi4 2.1.230 nerves_system_rpi5 2.1.231 nerves_system_trellis 0.5.032 nerves_system_x86_64 1.34.233 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.134 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.135 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.136 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.137 nerves_toolchain_x86_64_nerves_linux_musl 15.3.138 nerves_uevent 0.1.739 nimble_options 1.1.140 nimble_pool 1.1.041 noizu_labs_core 0.1.842 property_table 0.3.443 ring_logger 0.11.744 shortuuid 4.1.045 tablet 0.3.346 telemetry 1.4.247 toolshed 0.5.048 uboot_env 1.0.249 yamerl 0.10.050 yaml_elixir 2.9.051 ymlr 5.1.652All dependencies have been fetched53==> shortuuid54Compiling 4 files (.ex)55Generated shortuuid app56==> yaml_elixir57Compiling 6 files (.ex)58 warning: using single-quoted strings to represent charlists is deprecated.59 Use ~c"" if you indeed want a charlist or use "" instead.60 You may run "mix format --migrate" to change all single-quoted61 strings to use the ~c sigil and fix this warning.62 │63 6 │ @tag 'tag:yaml_elixir,2019:keyword_list'64 │ ~65 │66 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:6:86768 warning: using single-quoted strings to represent charlists is deprecated.69 Use ~c"" if you indeed want a charlist or use "" instead.70 You may run "mix format --migrate" to change all single-quoted71 strings to use the ~c sigil and fix this warning.72 │73 23 │ node = unfinished_node(node, priv: {'$expecting_key', unfinished_node(node, :priv)})74 │ ~75 │76 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:23:417778 warning: using single-quoted strings to represent charlists is deprecated.79 Use ~c"" if you indeed want a charlist or use "" instead.80 You may run "mix format --migrate" to change all single-quoted81 strings to use the ~c sigil and fix this warning.82 │83 30 │ node = unfinished_node(node, priv: {key, '$expecting_value', keyword_list})84 │ ~85 │86 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:30:468788 warning: using single-quoted strings to represent charlists is deprecated.89 Use ~c"" if you indeed want a charlist or use "" instead.90 You may run "mix format --migrate" to change all single-quoted91 strings to use the ~c sigil and fix this warning.92 │93 55 │ {'$expecting_key', keyword_list} = unfinished_node(node, :priv)94 │ ~95 │96 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:55:129798 warning: using single-quoted strings to represent charlists is deprecated.99 Use ~c"" if you indeed want a charlist or use "" instead.100 You may run "mix format --migrate" to change all single-quoted101 strings to use the ~c sigil and fix this warning.102 │103 60 │ {key, '$expecting_value', keyword_list} = unfinished_node(node, :priv)104 │ ~105 │106 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:60:17107108 warning: unused require Record109 │110 2 │ require Record111 │ ~112 │113 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:2:3114115Generated yaml_elixir app116==> noizu_labs_core117Compiling 12 files (.ex)118Generated noizu_labs_core app119==> genai_core120Compiling 101 files (.ex)121 warning: default arguments in protocol definitions is deprecated122 │123 24 │ def nodes(graph_node, options \\ nil)124 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~125 │126 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)127128 warning: default arguments in protocol definitions is deprecated129 │130 33 │ def build_node_lookup(graph_node, options \\ nil)131 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~132 │133 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)134135 warning: default arguments in protocol definitions is deprecated136 │137 42 │ def build_handle_lookup(graph_node, options \\ nil)138 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~139 │140 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)141142 warning: protocols can only define functions without implementation via def/1, found: nodes/1, build_handle_lookup/1, build_node_lookup/1143 │144 1 │ defprotocol GenAI.Graph.NodeProtocol do145 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~146 │147 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)148149 warning: default arguments in protocol definitions is deprecated150 │151 84 │ def with_stream_handler(context, handler, options \\ nil)152 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~153 │154 └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)155156 warning: default arguments in protocol definitions is deprecated157 │158 87 │ def execute(session, command, context, options \\ nil)159 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~160 │161 └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)162163 warning: protocols can only define functions without implementation via def/1, found: with_stream_handler/2, execute/3164 │165 1 │ defprotocol GenAI.ThreadProtocol do166 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~167 │168 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)169170 warning: unused require GenAI.Types.Graph171 │172 10 │ require GenAI.Types.Graph173 │ ~174 │175 └─ lib/vnext_genai/graph/root.ex:10:3176177 warning: unused require GenAI.Records.Link178 │179 6 │ require GenAI.Records.Link180 │ ~181 │182 └─ lib/vnext_genai/thread/session.ex:6:3183184 warning: unused require Logger185 │186 85 │ require Logger187 │ ~188 │189 └─ lib/vnext_genai/thread/session.ex:85:5190191 warning: the following clause cannot match because the previous clauses already matched all possible values:192193 x ->194195 it attempts to match on the result of:196197 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)198199 which has the already matched type:200201 dynamic(:state_diagram_v2)202203 where "x" was given the type:204205 # type: dynamic(:state_diagram_v2)206 # from: lib/vnext_genai/vnext.graph.ex:717:7207 x208209 type warning found at:210 │211 717 │ x -> {:error, {:unsupported_diagram, x}}212 │ ~213 │214 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3215216 warning: the following pattern will never match:217218 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)219220 because the right-hand side has type:221222 dynamic(%GenAI.Graph.Link{source: term()})223224 where "from_node" was given the type:225226 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})227 # from: lib/vnext_genai/vnext.graph.ex:489:34228 GenAI.Graph.Link.putnew_source(link, from_node)229230 where "link" was given the types:231232 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})233 # from: lib/vnext_genai/vnext.graph.ex:487:14234 link = auto_link235236 # type: dynamic(%GenAI.Graph.Link{source: term()})237 # from: lib/vnext_genai/vnext.graph.ex:489:34238 GenAI.Graph.Link.putnew_source(link, from_node)239240 type warning found at:241 │242 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),243 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~244 │245 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5246247 warning: the right-hand side of || will always execute:248249 elem(x, 1)250251 because the left-hand side always evaluates to:252253 dynamic(nil)254255 where "x" (context Kernel) was given the type:256257 # type: dynamic(nil)258 # from: lib/vnext_genai/graph/link.ex:629259 x260261 type warning found at:262 │263 629 │ node: R.Link.connector(x, :node) || target,264 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~265 │266 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2267268 warning: the right-hand side of || will always execute:269270 elem(x, 1)271272 because the left-hand side always evaluates to:273274 dynamic(nil)275276 where "x" (context Kernel) was given the type:277278 # type: dynamic(nil)279 # from: lib/vnext_genai/graph/link.ex:650280 x281282 type warning found at:283 │284 650 │ node: R.Link.connector(x, :node) || connector_id,285 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~286 │287 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2288289 warning: the following clause will never match:290291 %_{} ->292293 because it attempts to match on the result of:294295 parameters296297 which has type:298299 dynamic(not false and not nil and not map())300301 type warning found at:302 │303 261 │ (is_map(parameters) or is_struct(parameters)),304 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~305 │306 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1307308 warning: the right-hand side of || will always execute:309310 elem(x, 1)311312 because the left-hand side always evaluates to:313314 dynamic(nil)315316 where "x" (context Kernel) was given the type:317318 # type: dynamic(nil)319 # from: lib/vnext_genai/graph/link.ex:738320 x321322 type warning found at:323 │324 738 │ node: R.Link.connector(x, :node) || source,325 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~326 │327 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2328329 warning: the right-hand side of || will always execute:330331 elem(x, 1)332333 because the left-hand side always evaluates to:334335 dynamic(nil)336337 where "x" (context Kernel) was given the type:338339 # type: dynamic(nil)340 # from: lib/vnext_genai/graph/link.ex:759341 x342343 type warning found at:344 │345 759 │ node: R.Link.connector(x, :node) || connector_id,346 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~347 │348 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2349350 warning: the following conditional expression:351352 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)353354 will always evaluate to:355356 dynamic({:ok, term()})357358 where "context" was given the type:359360 # type: dynamic()361 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67362 context363364 where "id" was given the type:365366 # type: dynamic()367 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12368 %{id: id, usage: %{}, model: model, choices: choices} <- json369370 where "model" was given the type:371372 # type: dynamic()373 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12374 %{id: id, usage: %{}, model: model, choices: choices} <- json375376 where "module" was given the type:377378 # type: dynamic(atom())379 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24380 module.completion_choices(id, &1, model, settings, session, context, options)381382 where "options" was given the type:383384 # type: dynamic()385 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76386 options387388 where "session" was given the type:389390 # type: dynamic()391 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58392 session393394 where "settings" was given the type:395396 # type: dynamic()397 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48398 settings399400 where "v" was given the type:401402 # type: dynamic()403 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24404 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)405406 type warning found at:407 │408 133 │ &if {:ok, v} =409 │ ~~~~~~~~~~~~~~410 │411 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7412413 warning: the following clause cannot match because the previous clauses already matched all possible values:414415 x ->416417 it attempts to match on the result of:418419 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)420421 which has the already matched type:422423 dynamic(:state_diagram_v2)424425 where "x" was given the type:426427 # type: dynamic(:state_diagram_v2)428 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7429 x430431 type warning found at:432 │433 22 │ x -> {:error, {:unsupported_diagram, x}}434 │ ~435 │436 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3437438Generated genai_core app439==> ex_llama440mkdir -p priv441git clone --depth 1 --branch b8322 https://github.com/ggml-org/llama.cpp.git c_src/llama.cpp442Cloning into 'c_src/llama.cpp'...443Note: switching to '557fe2d9132913eaf08c8abf21b0cff61addb9ac'.444445You are in 'detached HEAD' state. You can look around, make experimental446changes and commit them, and you can discard any commits you make in this447state without impacting any branches by switching back to a branch.448449If you want to create a new branch to retain commits you create, you may450do so (now or later) by using -c with the switch command. Example:451452 git switch -c <new-branch-name>453454Or undo this operation with:455456 git switch -457458Turn off this advice by setting config variable advice.detachedHead to false459460cmake -B c_src/llama.cpp/build -S c_src/llama.cpp \461 -DCMAKE_BUILD_TYPE=Release \462 -DBUILD_SHARED_LIBS=OFF \463 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \464 -DLLAMA_BUILD_TESTS=OFF \465 -DLLAMA_BUILD_EXAMPLES=OFF \466 -DLLAMA_BUILD_SERVER=OFF \467 -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS468-- The C compiler identification is GNU 13.3.0469-- The CXX compiler identification is GNU 13.3.0470-- Detecting C compiler ABI info471-- Detecting C compiler ABI info - done472-- Check for working C compiler: /usr/bin/cc - skipped473-- Detecting C compile features474-- Detecting C compile features - done475-- Detecting CXX compiler ABI info476-- Detecting CXX compiler ABI info - done477-- Check for working CXX compiler: /usr/bin/c++ - skipped478-- Detecting CXX compile features479-- Detecting CXX compile features - done480CMAKE_BUILD_TYPE=Release481-- Found Git: /usr/bin/git (found version "2.43.0") 482-- The ASM compiler identification is GNU483-- Found assembler: /usr/bin/cc484-- Performing Test CMAKE_HAVE_LIBC_PTHREAD485-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success486-- Found Threads: TRUE 487-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with GGML_CCACHE=OFF488-- CMAKE_SYSTEM_PROCESSOR: x86_64489-- GGML_SYSTEM_ARCH: x86490-- Including CPU backend491-- Found OpenMP_C: -fopenmp (found version "4.5") 492-- Found OpenMP_CXX: -fopenmp (found version "4.5") 493-- Found OpenMP: TRUE (found version "4.5") 494-- x86 detected495-- Adding CPU backend variant ggml-cpu: -march=native 496-- Could NOT find BLAS (missing: BLAS_LIBRARIES) 497CMake Error at ggml/src/ggml-blas/CMakeLists.txt:98 (message):498 BLAS not found, please refer to499 https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors500 to set correct GGML_BLAS_VENDOR501502503-- Configuring incomplete, errors occurred!504make: *** [Makefile:72: c_src/llama.cpp/build/src/libllama.a] Error 1505could 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"506==> nerves_compatibility_test507** (Mix) Could not compile with "make" (exit status: 2).508You need to have gcc and make installed. If you are using509Ubuntu or any other Debian-based system, install the packages510"build-essential". Also install "erlang-dev" package if not511included in your Erlang/OTP version. If you're on Fedora, run512"dnf group install 'Development Tools'".513