Build log
host
ex_llama 0.4.1 · fail · run ex_llama-0.4.1-1794305225210
497 of 497 lines
1Resolving Hex dependencies...2Resolution completed in 0.029s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> file_system17Compiling 7 files (.ex)18Generated file_system app19==> ymlr20Compiling 3 files (.ex)21Generated ymlr app22==> circular_buffer23Compiling 1 file (.ex)24Generated circular_buffer app25==> bunt26Compiling 2 files (.ex)27Generated bunt app28==> jason29Compiling 10 files (.ex)30Generated jason app31==> logger_backends32Compiling 7 files (.ex)33Generated logger_backends app34==> elixir_make35Compiling 8 files (.ex)36Generated elixir_make app37==> nerves_logging38 CC kmsg_tailer.o39 LD kmsg_tailer40Not crosscompiling. To test locally, the port binary needs extra permissions.41Set SUDO=sudo to set permissions. The default is to skip this step.42SUDO_ASKPASS=/usr/bin/ssh-askpass43SUDO=true44Compiling 5 files (.ex)45Generated nerves_logging app46==> ring_logger47Compiling 7 files (.ex)48Generated ring_logger app49==> credo50Compiling 257 files (.ex)51Generated credo app52==> noizu_labs_core53Compiling 12 files (.ex)54Generated noizu_labs_core app55==> genai_core56Compiling 116 files (.ex)57 warning: undefined module attribute @max_tool_iterations_default, please remove access to @max_tool_iterations_default or explicitly set it before access58 │59 20 │ `:max_tool_iterations` (default #{@max_tool_iterations_default}) is hit60 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~61 │62 └─ lib/genai/dialogue.ex:20: GenAI.Dialogue (module)6364 warning: variable "reason" is unused (if the variable is not meant to be used, prefix it with an underscore)65 │66 257 │ kind, reason -> {:halt, "Tool call failed (#{kind})."}67 │ ~68 │69 └─ lib/genai/dialogue.ex:257:11: GenAI.Dialogue.safely_exec/37071 warning: default arguments in protocol definitions is deprecated72 │73 24 │ def nodes(graph_node, options \\ nil)74 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~75 │76 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)7778 warning: default arguments in protocol definitions is deprecated79 │80 33 │ def build_node_lookup(graph_node, options \\ nil)81 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~82 │83 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)8485 warning: default arguments in protocol definitions is deprecated86 │87 42 │ def build_handle_lookup(graph_node, options \\ nil)88 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~89 │90 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)9192 warning: protocols can only define functions without implementation via def/1, found: nodes/1, build_node_lookup/1, build_handle_lookup/193 │94 1 │ defprotocol GenAI.Graph.NodeProtocol do95 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~96 │97 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)9899 warning: default arguments in protocol definitions is deprecated100 │101 99 │ def with_stream_handler(context, handler, options \\ nil)102 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~103 │104 └─ lib/vnext_genai/thread/thread_protocol.ex:99: GenAI.ThreadProtocol (module)105106 warning: default arguments in protocol definitions is deprecated107 │108 102 │ def execute(session, command, context, options \\ nil)109 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~110 │111 └─ lib/vnext_genai/thread/thread_protocol.ex:102: GenAI.ThreadProtocol (module)112113 warning: protocols can only define functions without implementation via def/1, found: with_stream_handler/2, execute/3114 │115 1 │ defprotocol GenAI.ThreadProtocol do116 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~117 │118 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)119120 warning: unused require GenAI.Types.Graph121 │122 10 │ require GenAI.Types.Graph123 │ ~124 │125 └─ lib/vnext_genai/graph/root.ex:10:3126127 warning: unused require GenAI.Records.Link128 │129 6 │ require GenAI.Records.Link130 │ ~131 │132 └─ lib/vnext_genai/thread/session.ex:6:3133134 warning: unused require Logger135 │136 85 │ require Logger137 │ ~138 │139 └─ lib/vnext_genai/thread/session.ex:85:5140141 error: struct Finch.Response is undefined (module Finch.Response is not available or is yet to be defined)142 │143 78 │ with {:ok, %Finch.Response{status: 200, body: response_body}} <-144 │ ^145 │146 └─ lib/vnext_genai/inference_provider/inference_provider/default_provider.ex:78:22: GenAI.InferenceProvider.DefaultProvider.do_run_or_stream/5147148 warning: the following clause cannot match because the previous clauses already matched all possible values:149150 x ->151152 it attempts to match on the result of:153154 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)155156 which has the already matched type:157158 dynamic(:state_diagram_v2)159160 where "x" was given the type:161162 # type: dynamic(:state_diagram_v2)163 # from: lib/vnext_genai/vnext.graph.ex:717:7164 x165166 type warning found at:167 │168 717 │ x -> {:error, {:unsupported_diagram, x}}169 │ ~170 │171 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3172173 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)174 │175 113 │ id: options[:id] || UUID.uuid4(),176 │ ~177 │178 └─ lib/vnext_genai/vnext.graph.ex:113:32: GenAI.VNext.Graph.do_new/1179180 warning: the following pattern will never match:181182 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)183184 because the right-hand side has type:185186 dynamic(%GenAI.Graph.Link{source: term()})187188 where "from_node" was given the type:189190 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})191 # from: lib/vnext_genai/vnext.graph.ex:489:34192 GenAI.Graph.Link.putnew_source(link, from_node)193194 where "link" was given the types:195196 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})197 # from: lib/vnext_genai/vnext.graph.ex:487:14198 link = auto_link199200 # type: dynamic(%GenAI.Graph.Link{source: term()})201 # from: lib/vnext_genai/vnext.graph.ex:489:34202 GenAI.Graph.Link.putnew_source(link, from_node)203204 type warning found at:205 │206 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),207 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~208 │209 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5210211 warning: the following clause will never match:212213 %_{} ->214215 because it attempts to match on the result of:216217 parameters218219 which has type:220221 dynamic(not false and not nil and not map())222223 type warning found at:224 │225 261 │ (is_map(parameters) or is_struct(parameters)),226 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~227 │228 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1229230 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)231 │232 102 │ id = options[:id] || UUID.uuid4()233 │ ~234 │235 └─ lib/vnext_genai/graph/link.ex:102:31: GenAI.Graph.Link.new/3236 └─ lib/vnext_genai/graph/link.ex:485:52: GenAI.Graph.Link.with_id!/1237 └─ lib/vnext_genai/graph/link.ex:488:52: GenAI.Graph.Link.with_id!/1238239 warning: the right-hand side of || will always execute:240241 elem(x, 1)242243 because the left-hand side always evaluates to:244245 dynamic(nil)246247 where "x" (context Kernel) was given the type:248249 # type: dynamic(nil)250 # from: lib/vnext_genai/graph/link.ex:629251 x252253 type warning found at:254 │255 629 │ node: R.Link.connector(x, :node) || target,256 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~257 │258 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2259260 warning: the right-hand side of || will always execute:261262 elem(x, 1)263264 because the left-hand side always evaluates to:265266 dynamic(nil)267268 where "x" (context Kernel) was given the type:269270 # type: dynamic(nil)271 # from: lib/vnext_genai/graph/link.ex:650272 x273274 type warning found at:275 │276 650 │ node: R.Link.connector(x, :node) || connector_id,277 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~278 │279 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2280281 warning: the right-hand side of || will always execute:282283 elem(x, 1)284285 because the left-hand side always evaluates to:286287 dynamic(nil)288289 where "x" (context Kernel) was given the type:290291 # type: dynamic(nil)292 # from: lib/vnext_genai/graph/link.ex:738293 x294295 type warning found at:296 │297 738 │ node: R.Link.connector(x, :node) || source,298 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~299 │300 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2301302 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)303 │304 179 │ id = UUID.uuid4()305 │ ~306 │307 └─ lib/vnext_genai/pipeline.ex:179:17: GenAI.Pipeline.append_result/2308309 warning: the right-hand side of || will always execute:310311 elem(x, 1)312313 because the left-hand side always evaluates to:314315 dynamic(nil)316317 where "x" (context Kernel) was given the type:318319 # type: dynamic(nil)320 # from: lib/vnext_genai/graph/link.ex:759321 x322323 type warning found at:324 │325 759 │ node: R.Link.connector(x, :node) || connector_id,326 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~327 │328 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2329330 warning: this clause of defp normalize_branches/1 is never used (or it will always fail/warn when invoked)331 │332 587 │ defp normalize_branches(_), do: {:error, :invalid_fork}333 │ ~334 │335 └─ lib/vnext_genai/pipeline.ex:587:8: GenAI.Pipeline.normalize_branches/1336337 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)338 │339 397 │ {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())340 │ ~341 │342 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:397:35: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0343344 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)345 │346 397 │ {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())347 │ ~348 │349 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:397:47: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0350351 warning: the following conditional expression:352353 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)354355 will always evaluate to:356357 dynamic({:ok, term()})358359 where "context" was given the type:360361 # type: dynamic()362 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67363 context364365 where "id" was given the type:366367 # type: dynamic()368 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12369 %{id: id, usage: %{}, model: model, choices: choices} <- json370371 where "model" was given the type:372373 # type: dynamic()374 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12375 %{id: id, usage: %{}, model: model, choices: choices} <- json376377 where "module" was given the type:378379 # type: dynamic(atom())380 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24381 module.completion_choices(id, &1, model, settings, session, context, options)382383 where "options" was given the type:384385 # type: dynamic()386 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76387 options388389 where "session" was given the type:390391 # type: dynamic()392 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58393 session394395 where "settings" was given the type:396397 # type: dynamic()398 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48399 settings400401 where "v" was given the type:402403 # type: dynamic()404 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24405 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)406407 type warning found at:408 │409 133 │ &if {:ok, v} =410 │ ~~~~~~~~~~~~~~411 │412 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7413414 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)415 │416 40 │ with {:ok, json} <- YamlElixir.read_from_string(yaml_string) do417 │ ~418 │419 └─ lib/vnext_genai/nodes/tool.ex:40:36: GenAI.Tool.from_yaml/1420421 warning: the following clause cannot match because the previous clauses already matched all possible values:422423 x ->424425 it attempts to match on the result of:426427 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)428429 which has the already matched type:430431 dynamic(:state_diagram_v2)432433 where "x" was given the type:434435 # type: dynamic(:state_diagram_v2)436 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7437 x438439 type warning found at:440 │441 22 │ x -> {:error, {:unsupported_diagram, x}}442 │ ~443 │444 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3445446 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)447 │448 32 │ id: UUID.uuid4(),449 │ ~450 │451 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:32:16: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2452 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:42:32: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2453 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:374:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1454 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:377:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1455456 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)457 │458 666 │ id = case UUID.info(subject.id) do459 │ ~460 │461 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:666:20: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2462463 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)464 │465 667 │ {:ok, _} -> ShortUUID.encode!(subject.id)466 │ ~467 │468 └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:667:29: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2469470 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)471 │472 26 │ Finch.build(type, url, headers, body)473 │ ~474 │475 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:26:11: GenAI.InferenceProvider.Helpers.api_call/5476 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:32:13: GenAI.InferenceProvider.Helpers.api_call/5477 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:51:11: GenAI.InferenceProvider.Helpers.stream_api_call/6478 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:57:13: GenAI.InferenceProvider.Helpers.stream_api_call/6479480 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)481 │482 27 │ |> Finch.request(GenAI.Finch, finch_options(options))483 │ ~484 │485 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:27:14: GenAI.InferenceProvider.Helpers.api_call/5486 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:33:16: GenAI.InferenceProvider.Helpers.api_call/5487488 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)489 │490 52 │ |> Finch.stream_while(GenAI.Finch, acc, cb, finch_options(options))491 │ ~492 │493 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:52:14: GenAI.InferenceProvider.Helpers.stream_api_call/6494 └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:58:16: GenAI.InferenceProvider.Helpers.stream_api_call/6495496== Type checking failed with errors ==497could 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"