Build log
nerves_system_bbb
genai_local 0.3.0 · fail · run genai_local-0.3.0-1791189057374
821 of 821 lines
1Resolving Hex dependencies...2Resolution completed in 0.279s3Unchanged: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==> nerves_system_br102Generated nerves_system_br app103==> shortuuid104Compiling 4 files (.ex)105Generated shortuuid app106==> file_system107Compiling 7 files (.ex)108Generated file_system app109==> floki110Compiling 1 file (.xrl)111Compiling 2 files (.erl)112Compiling 30 files (.ex)113Generated floki app114==> ymlr115Compiling 3 files (.ex)116Generated ymlr app117==> mime118Compiling 1 file (.ex)119Generated mime app120==> circular_buffer121Compiling 1 file (.ex)122Generated circular_buffer app123==> nimble_options124Compiling 3 files (.ex)125Generated nimble_options app126==> bunt127Compiling 2 files (.ex)128Generated bunt app129==> jason130Compiling 10 files (.ex)131Generated jason app132==> hpax133Compiling 4 files (.ex)134Generated hpax app135==> mint136Compiling 1 file (.erl)137Compiling 21 files (.ex)138Generated mint app139==> nerves_compatibility_test140===> Analyzing applications...141===> Compiling yamerl142/work/proj/deps_bbb/yamerl/src/yamerl_constr.erl:801:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.143Compile directive 'nowarn_deprecated_catch' can be used to suppress144warnings in selected modules.145% 801| catch Mod:module_info(),146% | ^147148 ┌─ src/yamerl_constr.erl:149 │150 801 │ catch Mod:module_info(),151 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.152Compile directive 'nowarn_deprecated_catch' can be used to suppress153warnings in selected modules.154155156/work/proj/deps_bbb/yamerl/src/yamerl_node_binary.erl:65:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.157Compile directive 'nowarn_deprecated_catch' can be used to suppress158warnings in selected modules.159% 65| case catch base64:decode(Text) of160% | ^161162/work/proj/deps_bbb/yamerl/src/yamerl_node_binary.erl:72:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.163Compile directive 'nowarn_deprecated_catch' can be used to suppress164warnings in selected modules.165% 72| case catch base64:decode(Text) of166% | ^167168 ┌─ src/yamerl_node_binary.erl:169 │170 65 │ case catch base64:decode(Text) of171 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.172Compile directive 'nowarn_deprecated_catch' can be used to suppress173warnings in selected modules.174175 ┌─ src/yamerl_node_binary.erl:176 │177 72 │ case catch base64:decode(Text) of178 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.179Compile directive 'nowarn_deprecated_catch' can be used to suppress180warnings in selected modules.181182183==> tablet184Compiling 2 files (.ex)185Generated tablet app186==> elixir_make187Compiling 8 files (.ex)188Generated elixir_make app189==> nerves_logging190 CC kmsg_tailer.o191 LD kmsg_tailer192Compiling 5 files (.ex)193Generated nerves_logging app194==> elixir_uuid195Compiling 1 file (.ex)196 warning: use Bitwise is deprecated. import Bitwise instead197 │198 2 │ use Bitwise, only_operators: true199 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~200 │201 └─ lib/uuid.ex:2: UUID (module)202203Generated elixir_uuid app204==> nerves_discovery205Compiling 5 files (.ex)206Generated nerves_discovery app207==> ring_logger208Compiling 7 files (.ex)209Generated ring_logger app210==> yaml_elixir211Compiling 6 files (.ex)212 warning: using single-quoted strings to represent charlists is deprecated.213 Use ~c"" if you indeed want a charlist or use "" instead.214 You may run "mix format --migrate" to change all single-quoted215 strings to use the ~c sigil and fix this warning.216 │217 6 │ @tag 'tag:yaml_elixir,2019:keyword_list'218 │ ~219 │220 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:6:8221222 warning: using single-quoted strings to represent charlists is deprecated.223 Use ~c"" if you indeed want a charlist or use "" instead.224 You may run "mix format --migrate" to change all single-quoted225 strings to use the ~c sigil and fix this warning.226 │227 23 │ node = unfinished_node(node, priv: {'$expecting_key', unfinished_node(node, :priv)})228 │ ~229 │230 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:23:41231232 warning: using single-quoted strings to represent charlists is deprecated.233 Use ~c"" if you indeed want a charlist or use "" instead.234 You may run "mix format --migrate" to change all single-quoted235 strings to use the ~c sigil and fix this warning.236 │237 30 │ node = unfinished_node(node, priv: {key, '$expecting_value', keyword_list})238 │ ~239 │240 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:30:46241242 warning: using single-quoted strings to represent charlists is deprecated.243 Use ~c"" if you indeed want a charlist or use "" instead.244 You may run "mix format --migrate" to change all single-quoted245 strings to use the ~c sigil and fix this warning.246 │247 55 │ {'$expecting_key', keyword_list} = unfinished_node(node, :priv)248 │ ~249 │250 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:55:12251252 warning: using single-quoted strings to represent charlists is deprecated.253 Use ~c"" if you indeed want a charlist or use "" instead.254 You may run "mix format --migrate" to change all single-quoted255 strings to use the ~c sigil and fix this warning.256 │257 60 │ {key, '$expecting_value', keyword_list} = unfinished_node(node, :priv)258 │ ~259 │260 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:60:17261262 warning: unused require Record263 │264 2 │ require Record265 │ ~266 │267 └─ lib/yaml_elixir/yaml_node_keyword_list.ex:2:3268269Generated yaml_elixir app270==> interactive_cmd271Compiling 1 file (.ex)272Generated interactive_cmd app273==> nerves274Compiling 65 files (.ex)275 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)276 │277 6 │ defmodule Mix.Tasks.Nerves.Init do278 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~279 │280 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)281282 warning: redefining module Nerves (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.beam)283 │284 6 │ defmodule Nerves do285 │ ~~~~~~~~~~~~~~~~~~~286 │287 └─ lib/nerves.ex:6: Nerves (module)288289 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)290 │291 5 │ defmodule Nerves.ArtifactResolver do292 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~293 │294 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)295296 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)297 │298 6 │ defmodule Nerves.BuildAction.AppModes do299 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~300 │301 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)302303 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)304 │305 5 │ defmodule Nerves.BuildAction.CheckExecutables do306 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~307 │308 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)309310 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)311 │312 8 │ defmodule Nerves.BuildAction.Erlinit do313 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~314 │315 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)316317 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)318 │319 5 │ defmodule Nerves.BuildAction.Firmware do320 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~321 │322 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)323324 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)325 │326 7 │ defmodule Nerves.BuildAction.IExStartupCheck do327 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328 │329 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)330331 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)332 │333 5 │ defmodule Nerves.BuildAction.NervesV1System do334 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~335 │336 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)337338 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)339 │340 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do341 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~342 │343 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)344345 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)346 │347 5 │ defmodule Nerves.BuildAction.Rootfs do348 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~349 │350 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)351352 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)353 │354 6 │ defmodule Nerves.BuildAction.SortApps do355 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~356 │357 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)358359 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)360 │361 5 │ defmodule Nerves.BuildAction.StripAll do362 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~363 │364 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)365366 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)367 │368 5 │ defmodule Nerves.BuildAction.Trimmer do369 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~370 │371 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)372373 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)374 │375 5 │ defmodule Nerves.BuildPlan do376 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~377 │378 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)379380 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)381 │382 5 │ defmodule Nerves.BuildPlan.Checks do383 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~384 │385 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)386387 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.Container.beam)388 │389 6 │ defmodule Nerves.Container do390 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~391 │392 └─ lib/nerves/container.ex:6: Nerves.Container (module)393394 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)395 │396 5 │ defmodule Nerves.Fingerprint do397 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~398 │399 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)400401 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)402 │403 5 │ defmodule Nerves.MixPackage do404 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~405 │406 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)407408 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.Paths.beam)409 │410 5 │ defmodule Nerves.Paths do411 │ ~~~~~~~~~~~~~~~~~~~~~~~~~412 │413 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)414415 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/bbb/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)416 │417 5 │ defmodule Nerves.TargetTuple do418 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~419 │420 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)421422Generated nerves app423==> nerves_toolchain_armv7_nerves_linux_gnueabihf424Compiling 1 file (.ex)425Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app426==> nerves_compatibility_test427===> Analyzing applications...428===> Compiling telemetry429==> credo430Compiling 257 files (.ex)431Compiling lib/credo/check/consistency/collector.ex (it's taking more than 10s)432Compiling lib/credo/check/config_comment.ex (it's taking more than 10s)433Compiling lib/credo/cli/output/summary.ex (it's taking more than 10s)434Compiling lib/credo/cli/command/list/output/default.ex (it's taking more than 10s)435Compiling lib/credo/check/warning/unused_function_return_helper.ex (it's taking more than 10s)436Compiling lib/credo/check/runner.ex (it's taking more than 10s)437Compiling lib/credo/check/config_comment_finder.ex (it's taking more than 10s)438Generated credo app439==> noizu_labs_core440Compiling 12 files (.ex)441Generated noizu_labs_core app442==> uboot_env443Compiling 5 files (.ex)444Generated uboot_env app445==> nimble_pool446Compiling 2 files (.ex)447Generated nimble_pool app448==> finch449Compiling 23 files (.ex)450Generated finch app451==> genai_core452Compiling 101 files (.ex)453 warning: default arguments in protocol definitions is deprecated454 │455 24 │ def nodes(graph_node, options \\ nil)456 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~457 │458 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)459460 warning: default arguments in protocol definitions is deprecated461 │462 33 │ def build_node_lookup(graph_node, options \\ nil)463 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~464 │465 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)466467 warning: default arguments in protocol definitions is deprecated468 │469 42 │ def build_handle_lookup(graph_node, options \\ nil)470 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~471 │472 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)473474 warning: protocols can only define functions without implementation via def/1, found: build_handle_lookup/1, nodes/1, build_node_lookup/1475 │476 1 │ defprotocol GenAI.Graph.NodeProtocol do477 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~478 │479 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)480481 warning: default arguments in protocol definitions is deprecated482 │483 84 │ def with_stream_handler(context, handler, options \\ nil)484 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~485 │486 └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)487488 warning: default arguments in protocol definitions is deprecated489 │490 87 │ def execute(session, command, context, options \\ nil)491 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~492 │493 └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)494495 warning: protocols can only define functions without implementation via def/1, found: execute/3, with_stream_handler/2496 │497 1 │ defprotocol GenAI.ThreadProtocol do498 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~499 │500 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)501502 warning: unused require GenAI.Types.Graph503 │504 10 │ require GenAI.Types.Graph505 │ ~506 │507 └─ lib/vnext_genai/graph/root.ex:10:3508509 warning: unused require GenAI.Records.Link510 │511 6 │ require GenAI.Records.Link512 │ ~513 │514 └─ lib/vnext_genai/thread/session.ex:6:3515516 warning: unused require Logger517 │518 85 │ require Logger519 │ ~520 │521 └─ lib/vnext_genai/thread/session.ex:85:5522523 warning: the following clause cannot match because the previous clauses already matched all possible values:524525 x ->526527 it attempts to match on the result of:528529 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)530531 which has the already matched type:532533 dynamic(:state_diagram_v2)534535 where "x" was given the type:536537 # type: dynamic(:state_diagram_v2)538 # from: lib/vnext_genai/vnext.graph.ex:717:7539 x540541 type warning found at:542 │543 717 │ x -> {:error, {:unsupported_diagram, x}}544 │ ~545 │546 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3547548 warning: the following pattern will never match:549550 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)551552 because the right-hand side has type:553554 dynamic(%GenAI.Graph.Link{source: term()})555556 where "from_node" was given the type:557558 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})559 # from: lib/vnext_genai/vnext.graph.ex:489:34560 GenAI.Graph.Link.putnew_source(link, from_node)561562 where "link" was given the types:563564 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})565 # from: lib/vnext_genai/vnext.graph.ex:487:14566 link = auto_link567568 # type: dynamic(%GenAI.Graph.Link{source: term()})569 # from: lib/vnext_genai/vnext.graph.ex:489:34570 GenAI.Graph.Link.putnew_source(link, from_node)571572 type warning found at:573 │574 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),575 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~576 │577 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5578579 warning: the right-hand side of || will always execute:580581 elem(x, 1)582583 because the left-hand side always evaluates to:584585 dynamic(nil)586587 where "x" (context Kernel) was given the type:588589 # type: dynamic(nil)590 # from: lib/vnext_genai/graph/link.ex:629591 x592593 type warning found at:594 │595 629 │ node: R.Link.connector(x, :node) || target,596 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~597 │598 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2599600 warning: the right-hand side of || will always execute:601602 elem(x, 1)603604 because the left-hand side always evaluates to:605606 dynamic(nil)607608 where "x" (context Kernel) was given the type:609610 # type: dynamic(nil)611 # from: lib/vnext_genai/graph/link.ex:650612 x613614 type warning found at:615 │616 650 │ node: R.Link.connector(x, :node) || connector_id,617 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~618 │619 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2620621 warning: the right-hand side of || will always execute:622623 elem(x, 1)624625 because the left-hand side always evaluates to:626627 dynamic(nil)628629 where "x" (context Kernel) was given the type:630631 # type: dynamic(nil)632 # from: lib/vnext_genai/graph/link.ex:738633 x634635 type warning found at:636 │637 738 │ node: R.Link.connector(x, :node) || source,638 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~639 │640 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2641642 warning: the following clause will never match:643644 %_{} ->645646 because it attempts to match on the result of:647648 parameters649650 which has type:651652 dynamic(not false and not nil and not map())653654 type warning found at:655 │656 261 │ (is_map(parameters) or is_struct(parameters)),657 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~658 │659 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1660661 warning: the right-hand side of || will always execute:662663 elem(x, 1)664665 because the left-hand side always evaluates to:666667 dynamic(nil)668669 where "x" (context Kernel) was given the type:670671 # type: dynamic(nil)672 # from: lib/vnext_genai/graph/link.ex:759673 x674675 type warning found at:676 │677 759 │ node: R.Link.connector(x, :node) || connector_id,678 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~679 │680 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2681682 warning: the following clause cannot match because the previous clauses already matched all possible values:683684 x ->685686 it attempts to match on the result of:687688 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)689690 which has the already matched type:691692 dynamic(:state_diagram_v2)693694 where "x" was given the type:695696 # type: dynamic(:state_diagram_v2)697 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7698 x699700 type warning found at:701 │702 22 │ x -> {:error, {:unsupported_diagram, x}}703 │ ~704 │705 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3706707 warning: the following conditional expression:708709 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)710711 will always evaluate to:712713 dynamic({:ok, term()})714715 where "context" was given the type:716717 # type: dynamic()718 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67719 context720721 where "id" was given the type:722723 # type: dynamic()724 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12725 %{id: id, usage: %{}, model: model, choices: choices} <- json726727 where "model" was given the type:728729 # type: dynamic()730 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12731 %{id: id, usage: %{}, model: model, choices: choices} <- json732733 where "module" was given the type:734735 # type: dynamic(atom())736 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24737 module.completion_choices(id, &1, model, settings, session, context, options)738739 where "options" was given the type:740741 # type: dynamic()742 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76743 options744745 where "session" was given the type:746747 # type: dynamic()748 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58749 session750751 where "settings" was given the type:752753 # type: dynamic()754 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48755 settings756757 where "v" was given the type:758759 # type: dynamic()760 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24761 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)762763 type warning found at:764 │765 133 │ &if {:ok, v} =766 │ ~~~~~~~~~~~~~~767 │768 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7769770Generated genai_core app771==> ex_llama772mkdir -p priv773git clone --depth 1 --branch b8322 https://github.com/ggml-org/llama.cpp.git c_src/llama.cpp774Cloning into 'c_src/llama.cpp'...775Note: switching to '557fe2d9132913eaf08c8abf21b0cff61addb9ac'.776777You are in 'detached HEAD' state. You can look around, make experimental778changes and commit them, and you can discard any commits you make in this779state without impacting any branches by switching back to a branch.780781If you want to create a new branch to retain commits you create, you may782do so (now or later) by using -c with the switch command. Example:783784 git switch -c <new-branch-name>785786Or undo this operation with:787788 git switch -789790Turn off this advice by setting config variable advice.detachedHead to false791792Updating files: 57% (1419/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: 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.793cmake -B c_src/llama.cpp/build -S c_src/llama.cpp \794 -DCMAKE_BUILD_TYPE=Release \795 -DBUILD_SHARED_LIBS=OFF \796 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \797 -DLLAMA_BUILD_TESTS=OFF \798 -DLLAMA_BUILD_EXAMPLES=OFF \799 -DLLAMA_BUILD_SERVER=OFF \800 -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS801CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:176 (message):802 Could not find toolchain file:803 /home/nerves/.nerves/artifacts/nerves_system_bbb-2.30.2/nerves-env.cmake804Call Stack (most recent call first):805 CMakeLists.txt:2 (project)806807808CMake 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.809CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage810CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage811-- Configuring incomplete, errors occurred!812make: *** [Makefile:72: c_src/llama.cpp/build/src/libllama.a] Error 1813could 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"814==> nerves_compatibility_test815** (Mix) Could not compile with "make" (exit status: 2).816You need to have gcc and make installed. If you are using817Ubuntu or any other Debian-based system, install the packages818"build-essential". Also install "erlang-dev" package if not819included in your Erlang/OTP version. If you're on Fedora, run820"dnf group install 'Development Tools'".821