ex_llama

Build log

host

ex_llama 0.2.3 · fail · run ex_llama-0.2.3-1791175708336
456 of 456 lines
1Resolving Hex dependencies...2Resolution completed in 0.197s3Unchanged: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.238All dependencies have been fetched39==> noizu_labs_core40Compiling 12 files (.ex)41Generated noizu_labs_core app42==> genai_core43Compiling 101 files (.ex)44    warning: default arguments in protocol definitions is deprecated45    │46 24 │   def nodes(graph_node, options \\ nil)47    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~48    │49    └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)5051    warning: default arguments in protocol definitions is deprecated52    │53 33 │   def build_node_lookup(graph_node, options \\ nil)54    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~55    │56    └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)5758    warning: default arguments in protocol definitions is deprecated59    │60 42 │   def build_handle_lookup(graph_node, options \\ nil)61    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~62    │63    └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)6465    warning: protocols can only define functions without implementation via def/1, found: build_node_lookup/1, nodes/1, build_handle_lookup/166    │67  1 │ defprotocol GenAI.Graph.NodeProtocol do68    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~69    │70    └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)7172    warning: default arguments in protocol definitions is deprecated73    │74 84 │   def with_stream_handler(context, handler, options \\ nil)75    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~76    │77    └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)7879    warning: default arguments in protocol definitions is deprecated80    │81 87 │   def execute(session, command, context, options \\ nil)82    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~83    │84    └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)8586    warning: protocols can only define functions without implementation via def/1, found: with_stream_handler/2, execute/387    │88  1 │ defprotocol GenAI.ThreadProtocol do89    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~90    │91    └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)9293    warning: unused require GenAI.Types.Graph94    │95 10 │   require GenAI.Types.Graph96    │   ~97    │98    └─ lib/vnext_genai/graph/root.ex:10:399100    warning: unused require GenAI.Records.Link101    │102  6 │   require GenAI.Records.Link103    │   ~104    │105    └─ lib/vnext_genai/thread/session.ex:6:3106107    warning: unused require Logger108    │109 85 │     require Logger110    │     ~111    │112    └─ lib/vnext_genai/thread/session.ex:85:5113114    error: struct Finch.Response is undefined (module Finch.Response is not available or is yet to be defined)115    │116 78 │           with {:ok, %Finch.Response{status: 200, body: response_body}} <-117    │                      ^118    │119    └─ lib/vnext_genai/inference_provider/inference_provider/default_provider.ex:78:22: GenAI.InferenceProvider.DefaultProvider.do_run_or_stream/5120121     warning: the following clause cannot match because the previous clauses already matched all possible values:122123         x ->124125     it attempts to match on the result of:126127         GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)128129     which has the already matched type:130131         dynamic(:state_diagram_v2)132133     where "x" was given the type:134135         # type: dynamic(:state_diagram_v2)136         # from: lib/vnext_genai/vnext.graph.ex:717:7137         x138139     type warning found at:140     │141 717 │       x -> {:error, {:unsupported_diagram, x}}142     │         ~143     │144     └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3145146     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)147     │148 113 │       id: options[:id] || UUID.uuid4(),149     │                                ~150     │151     └─ lib/vnext_genai/vnext.graph.ex:113:32: GenAI.VNext.Graph.do_new/1152153     warning: the following pattern will never match:154155         {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)156157     because the right-hand side has type:158159         dynamic(%GenAI.Graph.Link{source: term()})160161     where "from_node" was given the type:162163         # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})164         # from: lib/vnext_genai/vnext.graph.ex:489:34165         GenAI.Graph.Link.putnew_source(link, from_node)166167     where "link" was given the types:168169         # type: dynamic(%{..., __struct__: GenAI.Graph.Link})170         # from: lib/vnext_genai/vnext.graph.ex:487:14171         link = auto_link172173         # type: dynamic(%GenAI.Graph.Link{source: term()})174         # from: lib/vnext_genai/vnext.graph.ex:489:34175         GenAI.Graph.Link.putnew_source(link, from_node)176177     type warning found at:178     │179 489 │         with {:ok, link} <- Link.putnew_source(link, from_node),180     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~181     │182     └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5183184     warning: the following clause will never match:185186         %_{} ->187188     because it attempts to match on the result of:189190         parameters191192     which has type:193194         dynamic(not false and not nil and not map())195196     type warning found at:197     │198 261 │          (is_map(parameters) or is_struct(parameters)),199     │          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~200     │201     └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1202203     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)204     │205 102 │     id = options[:id] || UUID.uuid4()206     │                               ~207     │208     └─ lib/vnext_genai/graph/link.ex:102:31: GenAI.Graph.Link.new/3209     └─ lib/vnext_genai/graph/link.ex:485:52: GenAI.Graph.Link.with_id!/1210     └─ lib/vnext_genai/graph/link.ex:488:52: GenAI.Graph.Link.with_id!/1211212     warning: the right-hand side of || will always execute:213214         elem(x, 1)215216     because the left-hand side always evaluates to:217218         dynamic(nil)219220     where "x" (context Kernel) was given the type:221222         # type: dynamic(nil)223         # from: lib/vnext_genai/graph/link.ex:629224         x225226     type warning found at:227     │228 629 │               node: R.Link.connector(x, :node) || target,229     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~230     │231     └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2232233     warning: the right-hand side of || will always execute:234235         elem(x, 1)236237     because the left-hand side always evaluates to:238239         dynamic(nil)240241     where "x" (context Kernel) was given the type:242243         # type: dynamic(nil)244         # from: lib/vnext_genai/graph/link.ex:650245         x246247     type warning found at:248     │249 650 │               node: R.Link.connector(x, :node) || connector_id,250     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~251     │252     └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2253254     warning: the right-hand side of || will always execute:255256         elem(x, 1)257258     because the left-hand side always evaluates to:259260         dynamic(nil)261262     where "x" (context Kernel) was given the type:263264         # type: dynamic(nil)265         # from: lib/vnext_genai/graph/link.ex:738266         x267268     type warning found at:269     │270 738 │               node: R.Link.connector(x, :node) || source,271     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~272     │273     └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2274275     warning: the right-hand side of || will always execute:276277         elem(x, 1)278279     because the left-hand side always evaluates to:280281         dynamic(nil)282283     where "x" (context Kernel) was given the type:284285         # type: dynamic(nil)286         # from: lib/vnext_genai/graph/link.ex:759287         x288289     type warning found at:290     │291 759 │               node: R.Link.connector(x, :node) || connector_id,292     │               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~293     │294     └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2295296     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)297     │298 390 │     {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())299     │                                   ~300     │301     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:390:35: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0302303     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)304     │305 390 │     {:ok, short_uuid} = ShortUUID.encode(UUID.uuid4())306     │                                               ~307     │308     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:390:47: GenAI.Model.Encoder.DefaultProvider.gen_unique_call_id/0309310     warning: the following conditional expression:311312         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)313314     will always evaluate to:315316         dynamic({:ok, term()})317318     where "context" was given the type:319320         # type: dynamic()321         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67322         context323324     where "id" was given the type:325326         # type: dynamic()327         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12328         %{id: id, usage: %{}, model: model, choices: choices} <- json329330     where "model" was given the type:331332         # type: dynamic()333         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12334         %{id: id, usage: %{}, model: model, choices: choices} <- json335336     where "module" was given the type:337338         # type: dynamic(atom())339         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24340         module.completion_choices(id, &1, model, settings, session, context, options)341342     where "options" was given the type:343344         # type: dynamic()345         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76346         options347348     where "session" was given the type:349350         # type: dynamic()351         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58352         session353354     where "settings" was given the type:355356         # type: dynamic()357         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48358         settings359360     where "v" was given the type:361362         # type: dynamic()363         # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24364         {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)365366     type warning found at:367     │368 133 │           &if {:ok, v} =369     │           ~~~~~~~~~~~~~~370     │371     └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7372373    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)374    │375 40 │     with {:ok, json} <- YamlElixir.read_from_string(yaml_string) do376    │                                    ~377    │378    └─ lib/vnext_genai/nodes/tool.ex:40:36: GenAI.Tool.from_yaml/1379380    warning: the following clause cannot match because the previous clauses already matched all possible values:381382        x ->383384    it attempts to match on the result of:385386        GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)387388    which has the already matched type:389390        dynamic(:state_diagram_v2)391392    where "x" was given the type:393394        # type: dynamic(:state_diagram_v2)395        # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7396        x397398    type warning found at:399    │400 22 │       x -> {:error, {:unsupported_diagram, x}}401    │         ~402    │403    └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3404405    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)406    │407 32 │       id: UUID.uuid4(),408    │                ~409    │410    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:32:16: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2411    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:42:32: GenAI.Graph.NodeProtocol.DefaultProvider.do_new/2412    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:374:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1413    └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:377:52: GenAI.Graph.NodeProtocol.DefaultProvider.do_with_id!/1414415     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)416     │417 666 │     id = case UUID.info(subject.id) do418     │                    ~419     │420     └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:666:20: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2421422     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)423     │424 667 │       {:ok, _} -> ShortUUID.encode!(subject.id)425     │                             ~426     │427     └─ lib/vnext_genai/graph/node/node_protocol/default_provider.ex:667:29: GenAI.Graph.NodeProtocol.DefaultProvider.inspect_low_detail/2428429    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)430    │431 26 │     Finch.build(type, url, headers, body)432    │           ~433    │434    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:26:11: GenAI.InferenceProvider.Helpers.api_call/5435    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:32:13: GenAI.InferenceProvider.Helpers.api_call/5436    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:51:11: GenAI.InferenceProvider.Helpers.stream_api_call/6437    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:57:13: GenAI.InferenceProvider.Helpers.stream_api_call/6438439    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)440    │441 27 │     |> Finch.request(GenAI.Finch, finch_options(options))442    │              ~443    │444    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:27:14: GenAI.InferenceProvider.Helpers.api_call/5445    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:33:16: GenAI.InferenceProvider.Helpers.api_call/5446447    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)448    │449 52 │     |> Finch.stream_while(GenAI.Finch, acc, cb, finch_options(options))450    │              ~451    │452    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:52:14: GenAI.InferenceProvider.Helpers.stream_api_call/6453    └─ lib/vnext_genai/inference_provider/inference_provider/helpers.ex:58:16: GenAI.InferenceProvider.Helpers.stream_api_call/6454455== Type checking failed with errors ==456could 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"