genai_local

Build log

nerves_system_x86_64

genai_local 0.3.0 · fail · run genai_local-0.3.0-1791189057374
537 of 537 lines
1Resolving Hex dependencies...2Resolution completed in 0.349s3Unchanged: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.652* Getting genai_local (Hex package)53* Getting nerves (Hex package)54* Getting ring_logger (Hex package)55* Getting toolshed (Hex package)56* Getting nerves_runtime (Hex package)57* Getting nerves_system_bbb (Hex package)58* Getting nerves_system_mangopi_mq_pro (Hex package)59* Getting nerves_system_qemu_aarch64 (Hex package)60* Getting nerves_system_rpi0 (Hex package)61* Getting nerves_system_rpi4 (Hex package)62* Getting nerves_system_rpi5 (Hex package)63* Getting nerves_system_trellis (Hex package)64* Getting nerves_system_x86_64 (Hex package)65* Getting nerves_system_br (Hex package)66* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)67* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)68* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)69* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)70* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)71* Getting nerves_logging (Hex package)72* Getting nerves_uevent (Hex package)73* Getting uboot_env (Hex package)74* Getting elixir_make (Hex package)75* Getting property_table (Hex package)76* Getting circular_buffer (Hex package)77* Getting interactive_cmd (Hex package)78* Getting nerves_discovery (Hex package)79* Getting tablet (Hex package)80* Getting elixir_uuid (Hex package)81* Getting ex_llama (Hex package)82* Getting finch (Hex package)83* Getting floki (Hex package)84* Getting jason (Hex package)85* Getting shortuuid (Hex package)86* Getting yaml_elixir (Hex package)87* Getting ymlr (Hex package)88* Getting yamerl (Hex package)89* Getting mime (Hex package)90* Getting mint (Hex package)91* Getting nimble_options (Hex package)92* Getting nimble_pool (Hex package)93* Getting telemetry (Hex package)94* Getting hpax (Hex package)95* Getting genai_core (Hex package)96* Getting noizu_labs_core (Hex package)97* Getting credo (Hex package)98* Getting bunt (Hex package)99* Getting file_system (Hex package)100You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more101==> shortuuid102Compiling 4 files (.ex)103Generated shortuuid app104==> yaml_elixir105Compiling 6 files (.ex)106    warning: using single-quoted strings to represent charlists is deprecated.107    Use ~c"" if you indeed want a charlist or use "" instead.108    You may run "mix format --migrate" to change all single-quoted109    strings to use the ~c sigil and fix this warning.110    │111  6 │   @tag 'tag:yaml_elixir,2019:keyword_list'112    │        ~113    │114    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:6:8115116    warning: using single-quoted strings to represent charlists is deprecated.117    Use ~c"" if you indeed want a charlist or use "" instead.118    You may run "mix format --migrate" to change all single-quoted119    strings to use the ~c sigil and fix this warning.120    │121 23 │     node = unfinished_node(node, priv: {'$expecting_key', unfinished_node(node, :priv)})122    │                                         ~123    │124    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:23:41125126    warning: using single-quoted strings to represent charlists is deprecated.127    Use ~c"" if you indeed want a charlist or use "" instead.128    You may run "mix format --migrate" to change all single-quoted129    strings to use the ~c sigil and fix this warning.130    │131 30 │     node = unfinished_node(node, priv: {key, '$expecting_value', keyword_list})132    │                                              ~133    │134    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:30:46135136    warning: using single-quoted strings to represent charlists is deprecated.137    Use ~c"" if you indeed want a charlist or use "" instead.138    You may run "mix format --migrate" to change all single-quoted139    strings to use the ~c sigil and fix this warning.140    │141 55 │           {'$expecting_key', keyword_list} = unfinished_node(node, :priv)142    │            ~143    │144    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:55:12145146    warning: using single-quoted strings to represent charlists is deprecated.147    Use ~c"" if you indeed want a charlist or use "" instead.148    You may run "mix format --migrate" to change all single-quoted149    strings to use the ~c sigil and fix this warning.150    │151 60 │           {key, '$expecting_value', keyword_list} = unfinished_node(node, :priv)152    │                 ~153    │154    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:60:17155156    warning: unused require Record157    │158  2 │   require Record159    │   ~160    │161    └─ lib/yaml_elixir/yaml_node_keyword_list.ex:2:3162163Generated yaml_elixir app164==> noizu_labs_core165Compiling 12 files (.ex)166Generated noizu_labs_core app167==> genai_core168Compiling 101 files (.ex)169    warning: default arguments in protocol definitions is deprecated170    │171 24 │   def nodes(graph_node, options \\ nil)172    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~173    │174    └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)175176    warning: default arguments in protocol definitions is deprecated177    │178 33 │   def build_node_lookup(graph_node, options \\ nil)179    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~180    │181    └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)182183    warning: default arguments in protocol definitions is deprecated184    │185 42 │   def build_handle_lookup(graph_node, options \\ nil)186    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~187    │188    └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)189190    warning: protocols can only define functions without implementation via def/1, found: nodes/1, build_handle_lookup/1, build_node_lookup/1191    │192  1 │ defprotocol GenAI.Graph.NodeProtocol do193    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~194    │195    └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)196197    warning: default arguments in protocol definitions is deprecated198    │199 84 │   def with_stream_handler(context, handler, options \\ nil)200    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~201    │202    └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)203204    warning: default arguments in protocol definitions is deprecated205    │206 87 │   def execute(session, command, context, options \\ nil)207    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~208    │209    └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)210211    warning: protocols can only define functions without implementation via def/1, found: with_stream_handler/2, execute/3212    │213  1 │ defprotocol GenAI.ThreadProtocol do214    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~215    │216    └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)217218    warning: unused require GenAI.Types.Graph219    │220 10 │   require GenAI.Types.Graph221    │   ~222    │223    └─ lib/vnext_genai/graph/root.ex:10:3224225    warning: unused require GenAI.Records.Link226    │227  6 │   require GenAI.Records.Link228    │   ~229    │230    └─ lib/vnext_genai/thread/session.ex:6:3231232    warning: unused require Logger233    │234 85 │     require Logger235    │     ~236    │237    └─ lib/vnext_genai/thread/session.ex:85:5238239     warning: the following pattern will never match:240241         {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)242243     because the right-hand side has type:244245         dynamic(%GenAI.Graph.Link{source: term()})246247     where "from_node" was given the type:248249         # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})250         # from: lib/vnext_genai/vnext.graph.ex:489:34251         GenAI.Graph.Link.putnew_source(link, from_node)252253     where "link" was given the types:254255         # type: dynamic(%{..., __struct__: GenAI.Graph.Link})256         # from: lib/vnext_genai/vnext.graph.ex:487:14257         link = auto_link258259         # type: dynamic(%GenAI.Graph.Link{source: term()})260         # from: lib/vnext_genai/vnext.graph.ex:489:34261         GenAI.Graph.Link.putnew_source(link, from_node)262263     type warning found at:264     │265 489 │         with {:ok, link} <- Link.putnew_source(link, from_node),266     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~267     │268     └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5269270     warning: the following clause cannot match because the previous clauses already matched all possible values:271272         x ->273274     it attempts to match on the result of:275276         GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)277278     which has the already matched type:279280         dynamic(:state_diagram_v2)281282     where "x" was given the type:283284         # type: dynamic(:state_diagram_v2)285         # from: lib/vnext_genai/vnext.graph.ex:717:7286         x287288     type warning found at:289     │290 717 │       x -> {:error, {:unsupported_diagram, x}}291     │         ~292     │293     └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3294295     warning: the right-hand side of || will always execute:296297         elem(x, 1)298299     because the left-hand side always evaluates to:300301         dynamic(nil)302303     where "x" (context Kernel) was given the type:304305         # type: dynamic(nil)306         # from: lib/vnext_genai/graph/link.ex:629307         x308309     type warning found at:310     │311 629 │               node: R.Link.connector(x, :node) || target,312     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~313     │314     └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2315316     warning: the following clause will never match:317318         %_{} ->319320     because it attempts to match on the result of:321322         parameters323324     which has type:325326         dynamic(not false and not nil and not map())327328     type warning found at:329     │330 261 │          (is_map(parameters) or is_struct(parameters)),331     │          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~332     │333     └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1334335     warning: the right-hand side of || will always execute:336337         elem(x, 1)338339     because the left-hand side always evaluates to:340341         dynamic(nil)342343     where "x" (context Kernel) was given the type:344345         # type: dynamic(nil)346         # from: lib/vnext_genai/graph/link.ex:650347         x348349     type warning found at:350     │351 650 │               node: R.Link.connector(x, :node) || connector_id,352     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~353     │354     └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2355356     warning: the right-hand side of || will always execute:357358         elem(x, 1)359360     because the left-hand side always evaluates to:361362         dynamic(nil)363364     where "x" (context Kernel) was given the type:365366         # type: dynamic(nil)367         # from: lib/vnext_genai/graph/link.ex:738368         x369370     type warning found at:371     │372 738 │               node: R.Link.connector(x, :node) || source,373     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~374     │375     └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2376377     warning: the right-hand side of || will always execute:378379         elem(x, 1)380381     because the left-hand side always evaluates to:382383         dynamic(nil)384385     where "x" (context Kernel) was given the type:386387         # type: dynamic(nil)388         # from: lib/vnext_genai/graph/link.ex:759389         x390391     type warning found at:392     │393 759 │               node: R.Link.connector(x, :node) || connector_id,394     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~395     │396     └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2397398     warning: the following conditional expression:399400         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)401402     will always evaluate to:403404         dynamic({:ok, term()})405406     where "context" was given the type:407408         # type: dynamic()409         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67410         context411412     where "id" was given the type:413414         # type: dynamic()415         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12416         %{id: id, usage: %{}, model: model, choices: choices} <- json417418     where "model" was given the type:419420         # type: dynamic()421         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12422         %{id: id, usage: %{}, model: model, choices: choices} <- json423424     where "module" was given the type:425426         # type: dynamic(atom())427         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24428         module.completion_choices(id, &1, model, settings, session, context, options)429430     where "options" was given the type:431432         # type: dynamic()433         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76434         options435436     where "session" was given the type:437438         # type: dynamic()439         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58440         session441442     where "settings" was given the type:443444         # type: dynamic()445         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48446         settings447448     where "v" was given the type:449450         # type: dynamic()451         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24452         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)453454     type warning found at:455     │456 133 │           &if {:ok, v} =457     │           ~~~~~~~~~~~~~~458     │459     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7460461    warning: the following clause cannot match because the previous clauses already matched all possible values:462463        x ->464465    it attempts to match on the result of:466467        GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)468469    which has the already matched type:470471        dynamic(:state_diagram_v2)472473    where "x" was given the type:474475        # type: dynamic(:state_diagram_v2)476        # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7477        x478479    type warning found at:480    │481 22 │       x -> {:error, {:unsupported_diagram, x}}482    │         ~483    │484    └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3485486Generated genai_core app487==> ex_llama488mkdir -p priv489git clone --depth 1 --branch b8322 https://github.com/ggml-org/llama.cpp.git c_src/llama.cpp490Cloning into 'c_src/llama.cpp'...491Note: switching to '557fe2d9132913eaf08c8abf21b0cff61addb9ac'.492493You are in 'detached HEAD' state. You can look around, make experimental494changes and commit them, and you can discard any commits you make in this495state without impacting any branches by switching back to a branch.496497If you want to create a new branch to retain commits you create, you may498do so (now or later) by using -c with the switch command. Example:499500  git switch -c <new-branch-name>501502Or undo this operation with:503504  git switch -505506Turn off this advice by setting config variable advice.detachedHead to false507508Updating files:  56% (1389/2448)Updating files:  57% (1396/2448)Updating files:  58% (1420/2448)Updating files:  59% (1445/2448)Updating files:  60% (1469/2448)Updating files:  61% (1494/2448)Updating files:  62% (1518/2448)Updating files:  63% (1543/2448)Updating files:  64% (1567/2448)Updating files:  65% (1592/2448)Updating files:  66% (1616/2448)Updating files:  66% (1638/2448)Updating files:  67% (1641/2448)Updating files:  68% (1665/2448)Updating files:  69% (1690/2448)Updating files:  70% (1714/2448)Updating files:  71% (1739/2448)Updating files:  72% (1763/2448)Updating files:  73% (1788/2448)Updating files:  74% (1812/2448)Updating files:  75% (1836/2448)Updating files:  76% (1861/2448)Updating files:  77% (1885/2448)Updating files:  78% (1910/2448)Updating files:  79% (1934/2448)Updating files:  80% (1959/2448)Updating files:  81% (1983/2448)Updating files:  82% (2008/2448)Updating files:  83% (2032/2448)Updating files:  84% (2057/2448)Updating files:  85% (2081/2448)Updating files:  86% (2106/2448)Updating files:  87% (2130/2448)Updating files:  88% (2155/2448)Updating files:  89% (2179/2448)Updating files:  90% (2204/2448)Updating files:  91% (2228/2448)Updating files:  92% (2253/2448)Updating files:  93% (2277/2448)Updating files:  94% (2302/2448)Updating files:  95% (2326/2448)Updating files:  96% (2351/2448)Updating files:  97% (2375/2448)Updating files:  98% (2400/2448)Updating files:  99% (2424/2448)Updating files: 100% (2448/2448)Updating files: 100% (2448/2448), done.509cmake -B c_src/llama.cpp/build -S c_src/llama.cpp \510	-DCMAKE_BUILD_TYPE=Release \511	-DBUILD_SHARED_LIBS=OFF \512	-DCMAKE_POSITION_INDEPENDENT_CODE=ON \513	-DLLAMA_BUILD_TESTS=OFF \514	-DLLAMA_BUILD_EXAMPLES=OFF \515	-DLLAMA_BUILD_SERVER=OFF \516	-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS517CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:176 (message):518  Could not find toolchain file:519  /home/nerves/.nerves/artifacts/nerves_system_x86_64-1.34.2/nerves-env.cmake520Call Stack (most recent call first):521  CMakeLists.txt:2 (project)522523524CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.525CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage526CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage527-- Configuring incomplete, errors occurred!528make: *** [Makefile:72: c_src/llama.cpp/build/src/libllama.a] Error 1529could 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"530==> nerves_compatibility_test531** (Mix) Could not compile with "make" (exit status: 2).532You need to have gcc and make installed. If you are using533Ubuntu or any other Debian-based system, install the packages534"build-essential". Also install "erlang-dev" package if not535included in your Erlang/OTP version. If you're on Fedora, run536"dnf group install 'Development Tools'".537