ex_llama

Build log

nerves_system_x86_64

ex_llama 0.2.3 · fail · run ex_llama-0.2.3-1791175708336
489 of 489 lines
1Resolving Hex dependencies...2Resolution completed in 0.127s3Unchanged:4  bunt 1.0.05  circular_buffer 1.1.06  credo 1.7.197  elixir_make 0.10.08  ex_llama 0.2.39  file_system 1.1.110  genai_core 0.3.411  interactive_cmd 0.1.412  jason 1.4.513  nerves 2.0.0-pre.214  nerves_discovery 0.1.515  nerves_logging 0.2.416  nerves_runtime 0.13.1317  nerves_system_bbb 2.30.218  nerves_system_br 1.34.419  nerves_system_mangopi_mq_pro 0.17.220  nerves_system_qemu_aarch64 0.4.221  nerves_system_rpi0 2.1.222  nerves_system_rpi4 2.1.223  nerves_system_rpi5 2.1.224  nerves_system_trellis 0.5.025  nerves_system_x86_64 1.34.226  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.127  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.130  nerves_toolchain_x86_64_nerves_linux_musl 15.3.131  nerves_uevent 0.1.732  noizu_labs_core 0.1.833  property_table 0.3.434  ring_logger 0.11.735  tablet 0.3.336  toolshed 0.5.037  uboot_env 1.0.238* Getting ex_llama (Hex package)39* Getting nerves (Hex package)40* Getting ring_logger (Hex package)41* Getting toolshed (Hex package)42* Getting nerves_runtime (Hex package)43* Getting nerves_system_bbb (Hex package)44* Getting nerves_system_mangopi_mq_pro (Hex package)45* Getting nerves_system_qemu_aarch64 (Hex package)46* Getting nerves_system_rpi0 (Hex package)47* Getting nerves_system_rpi4 (Hex package)48* Getting nerves_system_rpi5 (Hex package)49* Getting nerves_system_trellis (Hex package)50* Getting nerves_system_x86_64 (Hex package)51* Getting nerves_system_br (Hex package)52* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)53* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)54* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)55* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)56* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)57* Getting nerves_logging (Hex package)58* Getting nerves_uevent (Hex package)59* Getting uboot_env (Hex package)60* Getting elixir_make (Hex package)61* Getting property_table (Hex package)62* Getting circular_buffer (Hex package)63* Getting interactive_cmd (Hex package)64* Getting nerves_discovery (Hex package)65* Getting tablet (Hex package)66* Getting genai_core (Hex package)67* Getting noizu_labs_core (Hex package)68* Getting credo (Hex package)69* Getting bunt (Hex package)70* Getting file_system (Hex package)71* Getting jason (Hex package)72==> noizu_labs_core73Compiling 12 files (.ex)74Generated noizu_labs_core app75==> genai_core76Compiling 101 files (.ex)77    warning: default arguments in protocol definitions is deprecated78    │79 24 │   def nodes(graph_node, options \\ nil)80    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~81    │82    └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)8384    warning: default arguments in protocol definitions is deprecated85    │86 33 │   def build_node_lookup(graph_node, options \\ nil)87    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~88    │89    └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)9091    warning: default arguments in protocol definitions is deprecated92    │93 42 │   def build_handle_lookup(graph_node, options \\ nil)94    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~95    │96    └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)9798    warning: protocols can only define functions without implementation via def/1, found: nodes/1, build_handle_lookup/1, build_node_lookup/199    │100  1 │ defprotocol GenAI.Graph.NodeProtocol do101    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~102    │103    └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)104105    warning: default arguments in protocol definitions is deprecated106    │107 84 │   def with_stream_handler(context, handler, options \\ nil)108    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~109    │110    └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)111112    warning: default arguments in protocol definitions is deprecated113    │114 87 │   def execute(session, command, context, options \\ nil)115    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~116    │117    └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)118119    warning: protocols can only define functions without implementation via def/1, found: with_stream_handler/2, execute/3120    │121  1 │ defprotocol GenAI.ThreadProtocol do122    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~123    │124    └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)125126    warning: unused require GenAI.Types.Graph127    │128 10 │   require GenAI.Types.Graph129    │   ~130    │131    └─ lib/vnext_genai/graph/root.ex:10:3132133    warning: unused require GenAI.Records.Link134    │135  6 │   require GenAI.Records.Link136    │   ~137    │138    └─ lib/vnext_genai/thread/session.ex:6:3139140    warning: unused require Logger141    │142 85 │     require Logger143    │     ~144    │145    └─ lib/vnext_genai/thread/session.ex:85:5146147    error: struct Finch.Response is undefined (module Finch.Response is not available or is yet to be defined)148    │149 78 │           with {:ok, %Finch.Response{status: 200, body: response_body}} <-150    │                      ^151    │152    └─ lib/vnext_genai/inference_provider/inference_provider/default_provider.ex:78:22: GenAI.InferenceProvider.DefaultProvider.do_run_or_stream/5153154     warning: the following clause cannot match because the previous clauses already matched all possible values:155156         x ->157158     it attempts to match on the result of:159160         GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)161162     which has the already matched type:163164         dynamic(:state_diagram_v2)165166     where "x" was given the type:167168         # type: dynamic(:state_diagram_v2)169         # from: lib/vnext_genai/vnext.graph.ex:717:7170         x171172     type warning found at:173     │174 717 │       x -> {:error, {:unsupported_diagram, x}}175     │         ~176     │177     └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3178179     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)180     │181 113 │       id: options[:id] || UUID.uuid4(),182     │                                ~183     │184     └─ lib/vnext_genai/vnext.graph.ex:113:32: GenAI.VNext.Graph.do_new/1185186     warning: the following pattern will never match:187188         {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)189190     because the right-hand side has type:191192         dynamic(%GenAI.Graph.Link{source: term()})193194     where "from_node" was given the type:195196         # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})197         # from: lib/vnext_genai/vnext.graph.ex:489:34198         GenAI.Graph.Link.putnew_source(link, from_node)199200     where "link" was given the types:201202         # type: dynamic(%{..., __struct__: GenAI.Graph.Link})203         # from: lib/vnext_genai/vnext.graph.ex:487:14204         link = auto_link205206         # type: dynamic(%GenAI.Graph.Link{source: term()})207         # from: lib/vnext_genai/vnext.graph.ex:489:34208         GenAI.Graph.Link.putnew_source(link, from_node)209210     type warning found at:211     │212 489 │         with {:ok, link} <- Link.putnew_source(link, from_node),213     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~214     │215     └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5216217     warning: the following clause will never match:218219         %_{} ->220221     because it attempts to match on the result of:222223         parameters224225     which has type:226227         dynamic(not false and not nil and not map())228229     type warning found at:230     │231 261 │          (is_map(parameters) or is_struct(parameters)),232     │          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~233     │234     └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1235236     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)237     │238 102 │     id = options[:id] || UUID.uuid4()239     │                               ~240     │241     └─ lib/vnext_genai/graph/link.ex:102:31: GenAI.Graph.Link.new/3242     └─ lib/vnext_genai/graph/link.ex:485:52: GenAI.Graph.Link.with_id!/1243     └─ lib/vnext_genai/graph/link.ex:488:52: GenAI.Graph.Link.with_id!/1244245     warning: the right-hand side of || will always execute:246247         elem(x, 1)248249     because the left-hand side always evaluates to:250251         dynamic(nil)252253     where "x" (context Kernel) was given the type:254255         # type: dynamic(nil)256         # from: lib/vnext_genai/graph/link.ex:629257         x258259     type warning found at:260     │261 629 │               node: R.Link.connector(x, :node) || target,262     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~263     │264     └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2265266     warning: the right-hand side of || will always execute:267268         elem(x, 1)269270     because the left-hand side always evaluates to:271272         dynamic(nil)273274     where "x" (context Kernel) was given the type:275276         # type: dynamic(nil)277         # from: lib/vnext_genai/graph/link.ex:650278         x279280     type warning found at:281     │282 650 │               node: R.Link.connector(x, :node) || connector_id,283     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~284     │285     └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2286287     warning: the right-hand side of || will always execute:288289         elem(x, 1)290291     because the left-hand side always evaluates to:292293         dynamic(nil)294295     where "x" (context Kernel) was given the type:296297         # type: dynamic(nil)298         # from: lib/vnext_genai/graph/link.ex:738299         x300301     type warning found at:302     │303 738 │               node: R.Link.connector(x, :node) || source,304     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~305     │306     └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2307308     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:759320         x321322     type warning found at:323     │324 759 │               node: R.Link.connector(x, :node) || connector_id,325     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~326     │327     └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2328329     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)330     │331 390 │     {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())332     │                                   ~333     │334     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:390:35: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0335336     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)337     │338 390 │     {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())339     │                                               ~340     │341     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:390:47: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0342343     warning: the following conditional expression:344345         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)346347     will always evaluate to:348349         dynamic({:ok, term()})350351     where "context" was given the type:352353         # type: dynamic()354         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67355         context356357     where "id" was given the type:358359         # type: dynamic()360         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12361         %{id: id, usage: %{}, model: model, choices: choices} <- json362363     where "model" was given the type:364365         # type: dynamic()366         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12367         %{id: id, usage: %{}, model: model, choices: choices} <- json368369     where "module" was given the type:370371         # type: dynamic(atom())372         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24373         module.completion_choices(id, &1, model, settings, session, context, options)374375     where "options" was given the type:376377         # type: dynamic()378         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76379         options380381     where "session" was given the type:382383         # type: dynamic()384         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58385         session386387     where "settings" was given the type:388389         # type: dynamic()390         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48391         settings392393     where "v" was given the type:394395         # type: dynamic()396         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24397         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)398399     type warning found at:400     │401 133 │           &if {:ok, v} =402     │           ~~~~~~~~~~~~~~403     │404     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7405406    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)407    │408 32 │       id: UUID.uuid4(),409    │                ~410    │411    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:32:16: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2412    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:42:32: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2413    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:374:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1414    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:377:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1415416    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)417    │418 40 │     with {:ok, json} <- YamlElixir.read_from_string(yaml_string) do419    │                                    ~420    │421    └─ lib/vnext_genai/nodes/tool.ex:40:36: GenAI.Tool.from_yaml/1422423     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)424     │425 666 │     id = case UUID.info(subject.id) do426     │                    ~427     │428     └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:666:20: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2429430    warning: the following clause cannot match because the previous clauses already matched all possible values:431432        x ->433434    it attempts to match on the result of:435436        GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)437438    which has the already matched type:439440        dynamic(:state_diagram_v2)441442    where "x" was given the type:443444        # type: dynamic(:state_diagram_v2)445        # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7446        x447448    type warning found at:449    │450 22 │       x -> {:error, {:unsupported_diagram, x}}451    │         ~452    │453    └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3454455     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)456     │457 667 │       {:ok, _} -> ShortUUID.encode!(subject.id)458     │                             ~459     │460     └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:667:29: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2461462    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)463    │464 26 │     Finch.build(type, url, headers, body)465    │           ~466    │467    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:26:11: GenAI.InferenceProvider.Helpers.api_call/5468    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:32:13: GenAI.InferenceProvider.Helpers.api_call/5469    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:51:11: GenAI.InferenceProvider.Helpers.stream_api_call/6470    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:57:13: GenAI.InferenceProvider.Helpers.stream_api_call/6471472    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)473    │474 27 │     |> Finch.request(GenAI.Finch, finch_options(options))475    │              ~476    │477    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:27:14: GenAI.InferenceProvider.Helpers.api_call/5478    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:33:16: GenAI.InferenceProvider.Helpers.api_call/5479480    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)481    │482 52 │     |> Finch.stream_while(GenAI.Finch, acc, cb, finch_options(options))483    │              ~484    │485    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:52:14: GenAI.InferenceProvider.Helpers.stream_api_call/6486    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:58:16: GenAI.InferenceProvider.Helpers.stream_api_call/6487488== Type checking failed with errors ==489could 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"