Build log
nerves_system_rpi4
ex_llama 0.4.1 · fail · run ex_llama-0.4.1-1794305225210
536 of 536 lines
1Resolving Hex dependencies...2Resolution completed in 0.065s3* Getting ex_llama (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting genai_core (Hex package)34* Getting jason (Hex package)35* Getting noizu_labs_core (Hex package)36* Getting ymlr (Hex package)37* Getting credo (Hex package)38* Getting bunt (Hex package)39* Getting file_system (Hex package)40==> tablet41Compiling 2 files (.ex)42Generated tablet app43==> nerves_discovery44Compiling 5 files (.ex)45Generated nerves_discovery app46==> interactive_cmd47Compiling 1 file (.ex)48Generated interactive_cmd app49==> nerves50Compiling 65 files (.ex)51Generated nerves app52==> nerves_system_br53Generated nerves_system_br app54==> file_system55Compiling 7 files (.ex)56Generated file_system app57==> ymlr58Compiling 3 files (.ex)59Generated ymlr app60==> circular_buffer61Compiling 1 file (.ex)62Generated circular_buffer app63==> bunt64Compiling 2 files (.ex)65Generated bunt app66==> jason67Compiling 10 files (.ex)68Generated jason app69==> logger_backends70Compiling 7 files (.ex)71Generated logger_backends app72==> elixir_make73Compiling 8 files (.ex)74Generated elixir_make app75==> nerves_logging76 CC kmsg_tailer.o77 LD kmsg_tailer78Compiling 5 files (.ex)79Generated nerves_logging app80==> ring_logger81Compiling 7 files (.ex)82Generated ring_logger app83==> nerves_toolchain_aarch64_nerves_linux_gnu84Compiling 1 file (.ex)85Generated nerves_toolchain_aarch64_nerves_linux_gnu app86==> nerves_system_rpi487Generated nerves_system_rpi4 app88==> credo89Compiling 257 files (.ex)90Generated credo app91==> noizu_labs_core92Compiling 12 files (.ex)93Generated noizu_labs_core app94==> genai_core95Compiling 116 files (.ex)96 warning: undefined module attribute @max_tool_iterations_default, please remove access to @max_tool_iterations_default or explicitly set it before access97 │98 20 │ `:max_tool_iterations` (default #{@max_tool_iterations_default}) is hit99 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~100 │101 └─ lib/genai/dialogue.ex:20: GenAI.Dialogue (module)102103 warning: variable "reason" is unused (if the variable is not meant to be used, prefix it with an underscore)104 │105 257 │ kind, reason -> {:halt, "Tool call failed (#{kind})."}106 │ ~107 │108 └─ lib/genai/dialogue.ex:257:11: GenAI.Dialogue.safely_exec/3109110 warning: default arguments in protocol definitions is deprecated111 │112 24 │ def nodes(graph_node, options \\ nil)113 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~114 │115 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)116117 warning: default arguments in protocol definitions is deprecated118 │119 33 │ def build_node_lookup(graph_node, options \\ nil)120 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~121 │122 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)123124 warning: default arguments in protocol definitions is deprecated125 │126 42 │ def build_handle_lookup(graph_node, options \\ nil)127 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~128 │129 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)130131 warning: protocols can only define functions without implementation via def/1, found: nodes/1, build_handle_lookup/1, build_node_lookup/1132 │133 1 │ defprotocol GenAI.Graph.NodeProtocol do134 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~135 │136 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)137138 warning: default arguments in protocol definitions is deprecated139 │140 99 │ def with_stream_handler(context, handler, options \\ nil)141 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~142 │143 └─ lib/vnext_genai/thread/thread_protocol.ex:99: GenAI.ThreadProtocol (module)144145 warning: default arguments in protocol definitions is deprecated146 │147 102 │ def execute(session, command, context, options \\ nil)148 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~149 │150 └─ lib/vnext_genai/thread/thread_protocol.ex:102: GenAI.ThreadProtocol (module)151152 warning: protocols can only define functions without implementation via def/1, found: execute/3, with_stream_handler/2153 │154 1 │ defprotocol GenAI.ThreadProtocol do155 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~156 │157 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)158159 warning: unused require GenAI.Types.Graph160 │161 10 │ require GenAI.Types.Graph162 │ ~163 │164 └─ lib/vnext_genai/graph/root.ex:10:3165166 warning: unused require GenAI.Records.Link167 │168 6 │ require GenAI.Records.Link169 │ ~170 │171 └─ lib/vnext_genai/thread/session.ex:6:3172173 warning: unused require Logger174 │175 85 │ require Logger176 │ ~177 │178 └─ lib/vnext_genai/thread/session.ex:85:5179180 error: struct Finch.Response is undefined (module Finch.Response is not available or is yet to be defined)181 │182 78 │ with {:ok, %Finch.Response{status: 200, body: response_body}} <-183 │ ^184 │185 └─ lib/vnext_genai/inference_provider/inference_provider/default_provider.ex:78:22: GenAI.InferenceProvider.DefaultProvider.do_run_or_stream/5186187 warning: the following clause cannot match because the previous clauses already matched all possible values:188189 x ->190191 it attempts to match on the result of:192193 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)194195 which has the already matched type:196197 dynamic(:state_diagram_v2)198199 where "x" was given the type:200201 # type: dynamic(:state_diagram_v2)202 # from: lib/vnext_genai/vnext.graph.ex:717:7203 x204205 type warning found at:206 │207 717 │ x -> {:error, {:unsupported_diagram, x}}208 │ ~209 │210 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3211212 warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)213 │214 113 │ id: options[:id] || UUID.uuid4(),215 │ ~216 │217 └─ lib/vnext_genai/vnext.graph.ex:113:32: GenAI.VNext.Graph.do_new/1218219 warning: the following pattern will never match:220221 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)222223 because the right-hand side has type:224225 dynamic(%GenAI.Graph.Link{source: term()})226227 where "from_node" was given the type:228229 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})230 # from: lib/vnext_genai/vnext.graph.ex:489:34231 GenAI.Graph.Link.putnew_source(link, from_node)232233 where "link" was given the types:234235 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})236 # from: lib/vnext_genai/vnext.graph.ex:487:14237 link = auto_link238239 # type: dynamic(%GenAI.Graph.Link{source: term()})240 # from: lib/vnext_genai/vnext.graph.ex:489:34241 GenAI.Graph.Link.putnew_source(link, from_node)242243 type warning found at:244 │245 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),246 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~247 │248 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5249250 warning: the following clause will never match:251252 %_{} ->253254 because it attempts to match on the result of:255256 parameters257258 which has type:259260 dynamic(not false and not nil and not map())261262 type warning found at:263 │264 261 │ (is_map(parameters) or is_struct(parameters)),265 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~266 │267 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1268269 warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)270 │271 102 │ id = options[:id] || UUID.uuid4()272 │ ~273 │274 └─ lib/vnext_genai/graph/link.ex:102:31: GenAI.Graph.Link.new/3275 └─ lib/vnext_genai/graph/link.ex:485:52: GenAI.Graph.Link.with_id!/1276 └─ lib/vnext_genai/graph/link.ex:488:52: GenAI.Graph.Link.with_id!/1277278 warning: the right-hand side of || will always execute:279280 elem(x, 1)281282 because the left-hand side always evaluates to:283284 dynamic(nil)285286 where "x" (context Kernel) was given the type:287288 # type: dynamic(nil)289 # from: lib/vnext_genai/graph/link.ex:629290 x291292 type warning found at:293 │294 629 │ node: R.Link.connector(x, :node) || target,295 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~296 │297 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2298299 warning: the right-hand side of || will always execute:300301 elem(x, 1)302303 because the left-hand side always evaluates to:304305 dynamic(nil)306307 where "x" (context Kernel) was given the type:308309 # type: dynamic(nil)310 # from: lib/vnext_genai/graph/link.ex:650311 x312313 type warning found at:314 │315 650 │ node: R.Link.connector(x, :node) || connector_id,316 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~317 │318 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2319320 warning: the right-hand side of || will always execute:321322 elem(x, 1)323324 because the left-hand side always evaluates to:325326 dynamic(nil)327328 where "x" (context Kernel) was given the type:329330 # type: dynamic(nil)331 # from: lib/vnext_genai/graph/link.ex:738332 x333334 type warning found at:335 │336 738 │ node: R.Link.connector(x, :node) || source,337 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~338 │339 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2340341 warning: the right-hand side of || will always execute:342343 elem(x, 1)344345 because the left-hand side always evaluates to:346347 dynamic(nil)348349 where "x" (context Kernel) was given the type:350351 # type: dynamic(nil)352 # from: lib/vnext_genai/graph/link.ex:759353 x354355 type warning found at:356 │357 759 │ node: R.Link.connector(x, :node) || connector_id,358 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~359 │360 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2361362 warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)363 │364 179 │ id = UUID.uuid4()365 │ ~366 │367 └─ lib/vnext_genai/pipeline.ex:179:17: GenAI.Pipeline.append_result/2368369 warning: this clause of defp normalize_branches/1 is never used (or it will always fail/warn when invoked)370 │371 587 │ defp normalize_branches(_), do: {:error, :invalid_fork}372 │ ~373 │374 └─ lib/vnext_genai/pipeline.ex:587:8: GenAI.Pipeline.normalize_branches/1375376 warning: ShortUUID.encode/1 is undefined (module ShortUUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)377 │378 397 │ {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())379 │ ~380 │381 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:397:35: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0382383 warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)384 │385 397 │ {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())386 │ ~387 │388 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:397:47: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0389390 warning: the following conditional expression:391392 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)393394 will always evaluate to:395396 dynamic({:ok, term()})397398 where "context" was given the type:399400 # type: dynamic()401 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67402 context403404 where "id" was given the type:405406 # type: dynamic()407 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12408 %{id: id, usage: %{}, model: model, choices: choices} <- json409410 where "model" was given the type:411412 # type: dynamic()413 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12414 %{id: id, usage: %{}, model: model, choices: choices} <- json415416 where "module" was given the type:417418 # type: dynamic(atom())419 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24420 module.completion_choices(id, &1, model, settings, session, context, options)421422 where "options" was given the type:423424 # type: dynamic()425 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76426 options427428 where "session" was given the type:429430 # type: dynamic()431 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58432 session433434 where "settings" was given the type:435436 # type: dynamic()437 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48438 settings439440 where "v" was given the type:441442 # type: dynamic()443 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24444 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)445446 type warning found at:447 │448 133 │ &if {:ok, v} =449 │ ~~~~~~~~~~~~~~450 │451 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7452453 warning: YamlElixir.read_from_string/1 is undefined (module YamlElixir is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)454 │455 40 │ with {:ok, json} <- YamlElixir.read_from_string(yaml_string) do456 │ ~457 │458 └─ lib/vnext_genai/nodes/tool.ex:40:36: GenAI.Tool.from_yaml/1459460 warning: the following clause cannot match because the previous clauses already matched all possible values:461462 x ->463464 it attempts to match on the result of:465466 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)467468 which has the already matched type:469470 dynamic(:state_diagram_v2)471472 where "x" was given the type:473474 # type: dynamic(:state_diagram_v2)475 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7476 x477478 type warning found at:479 │480 22 │ x -> {:error, {:unsupported_diagram, x}}481 │ ~482 │483 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3484485 warning: UUID.uuid4/0 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)486 │487 32 │ id: UUID.uuid4(),488 │ ~489 │490 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:32:16: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2491 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:42:32: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2492 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:374:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1493 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:377:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1494495 warning: UUID.info/1 is undefined (module UUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)496 │497 666 │ id = case UUID.info(subject.id) do498 │ ~499 │500 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:666:20: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2501502 warning: ShortUUID.encode!/1 is undefined (module ShortUUID is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)503 │504 667 │ {:ok, _} -> ShortUUID.encode!(subject.id)505 │ ~506 │507 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:667:29: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2508509 warning: Finch.build/4 is undefined (module Finch is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)510 │511 26 │ Finch.build(type, url, headers, body)512 │ ~513 │514 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:26:11: GenAI.InferenceProvider.Helpers.api_call/5515 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:32:13: GenAI.InferenceProvider.Helpers.api_call/5516 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:51:11: GenAI.InferenceProvider.Helpers.stream_api_call/6517 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:57:13: GenAI.InferenceProvider.Helpers.stream_api_call/6518519 warning: Finch.request/3 is undefined (module Finch is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)520 │521 27 │ |> Finch.request(GenAI.Finch, finch_options(options))522 │ ~523 │524 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:27:14: GenAI.InferenceProvider.Helpers.api_call/5525 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:33:16: GenAI.InferenceProvider.Helpers.api_call/5526527 warning: Finch.stream_while/5 is undefined (module Finch is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)528 │529 52 │ |> Finch.stream_while(GenAI.Finch, acc, cb, finch_options(options))530 │ ~531 │532 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:52:14: GenAI.InferenceProvider.Helpers.stream_api_call/6533 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:58:16: GenAI.InferenceProvider.Helpers.stream_api_call/6534535== Type checking failed with errors ==536could not compile dependency :genai_core, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile genai_core --force", update it with "mix deps.update genai_core" or clean it with "mix deps.clean genai_core"