Build log
nerves_system_rpi4
genai_local 0.3.0 · fail · run genai_local-0.3.0-1791189057374
819 of 819 lines
1Resolving Hex dependencies...2Resolution completed in 0.183s3Unchanged: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_rpi4/yamerl/src/yamerl_node_binary.erl:65:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.143Compile directive 'nowarn_deprecated_catch' can be used to suppress144warnings in selected modules.145% 65| case catch base64:decode(Text) of146% | ^147148/work/proj/deps_rpi4/yamerl/src/yamerl_node_binary.erl:72:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.149Compile directive 'nowarn_deprecated_catch' can be used to suppress150warnings in selected modules.151% 72| case catch base64:decode(Text) of152% | ^153154 ┌─ src/yamerl_node_binary.erl:155 │156 65 │ case catch base64:decode(Text) of157 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.158Compile directive 'nowarn_deprecated_catch' can be used to suppress159warnings in selected modules.160161 ┌─ src/yamerl_node_binary.erl:162 │163 72 │ case catch base64:decode(Text) of164 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.165Compile directive 'nowarn_deprecated_catch' can be used to suppress166warnings in selected modules.167168169/work/proj/deps_rpi4/yamerl/src/yamerl_constr.erl:801:5: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.170Compile directive 'nowarn_deprecated_catch' can be used to suppress171warnings in selected modules.172% 801| catch Mod:module_info(),173% | ^174175 ┌─ src/yamerl_constr.erl:176 │177 801 │ catch Mod:module_info(),178 │ ╰── 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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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/rpi4/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_aarch64_nerves_linux_gnu424Compiling 1 file (.ex)425Generated nerves_toolchain_aarch64_nerves_linux_gnu app426==> nerves_system_rpi4427Generated nerves_system_rpi4 app428==> nerves_compatibility_test429===> Analyzing applications...430===> Compiling telemetry431==> credo432Compiling 257 files (.ex)433Compiling lib/credo/check/config_comment.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/config_comment_finder.ex (it's taking more than 10s)437Generated credo app438==> noizu_labs_core439Compiling 12 files (.ex)440Generated noizu_labs_core app441==> uboot_env442Compiling 5 files (.ex)443Generated uboot_env app444==> nimble_pool445Compiling 2 files (.ex)446Generated nimble_pool app447==> finch448Compiling 23 files (.ex)449Generated finch app450==> genai_core451Compiling 101 files (.ex)452 warning: default arguments in protocol definitions is deprecated453 │454 24 │ def nodes(graph_node, options \\ nil)455 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~456 │457 └─ lib/vnext_genai/graph/node/node_protocol.ex:24: GenAI.Graph.NodeProtocol (module)458459 warning: default arguments in protocol definitions is deprecated460 │461 33 │ def build_node_lookup(graph_node, options \\ nil)462 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~463 │464 └─ lib/vnext_genai/graph/node/node_protocol.ex:33: GenAI.Graph.NodeProtocol (module)465466 warning: default arguments in protocol definitions is deprecated467 │468 42 │ def build_handle_lookup(graph_node, options \\ nil)469 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~470 │471 └─ lib/vnext_genai/graph/node/node_protocol.ex:42: GenAI.Graph.NodeProtocol (module)472473 warning: protocols can only define functions without implementation via def/1, found: build_node_lookup/1, nodes/1, build_handle_lookup/1474 │475 1 │ defprotocol GenAI.Graph.NodeProtocol do476 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~477 │478 └─ lib/vnext_genai/graph/node/node_protocol.ex:1: GenAI.Graph.NodeProtocol (module)479480 warning: default arguments in protocol definitions is deprecated481 │482 84 │ def with_stream_handler(context, handler, options \\ nil)483 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~484 │485 └─ lib/vnext_genai/thread/thread_protocol.ex:84: GenAI.ThreadProtocol (module)486487 warning: default arguments in protocol definitions is deprecated488 │489 87 │ def execute(session, command, context, options \\ nil)490 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~491 │492 └─ lib/vnext_genai/thread/thread_protocol.ex:87: GenAI.ThreadProtocol (module)493494 warning: protocols can only define functions without implementation via def/1, found: execute/3, with_stream_handler/2495 │496 1 │ defprotocol GenAI.ThreadProtocol do497 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~498 │499 └─ lib/vnext_genai/thread/thread_protocol.ex:1: GenAI.ThreadProtocol (module)500501 warning: unused require GenAI.Types.Graph502 │503 10 │ require GenAI.Types.Graph504 │ ~505 │506 └─ lib/vnext_genai/graph/root.ex:10:3507508 warning: unused require GenAI.Records.Link509 │510 6 │ require GenAI.Records.Link511 │ ~512 │513 └─ lib/vnext_genai/thread/session.ex:6:3514515 warning: unused require Logger516 │517 85 │ require Logger518 │ ~519 │520 └─ lib/vnext_genai/thread/session.ex:85:5521522 warning: the following clause cannot match because the previous clauses already matched all possible values:523524 x ->525526 it attempts to match on the result of:527528 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)529530 which has the already matched type:531532 dynamic(:state_diagram_v2)533534 where "x" was given the type:535536 # type: dynamic(:state_diagram_v2)537 # from: lib/vnext_genai/vnext.graph.ex:717:7538 x539540 type warning found at:541 │542 717 │ x -> {:error, {:unsupported_diagram, x}}543 │ ~544 │545 └─ lib/vnext_genai/vnext.graph.ex:717:9: GenAI.Graph.MermaidProtocol.GenAI.VNext.Graph.encode/3546547 warning: the following pattern will never match:548549 {:ok, link} <- GenAI.Graph.Link.putnew_source(link, from_node)550551 because the right-hand side has type:552553 dynamic(%GenAI.Graph.Link{source: term()})554555 where "from_node" was given the type:556557 # type: dynamic(%{..., __struct__: atom()} or atom() or bitstring() or integer() or {...})558 # from: lib/vnext_genai/vnext.graph.ex:489:34559 GenAI.Graph.Link.putnew_source(link, from_node)560561 where "link" was given the types:562563 # type: dynamic(%{..., __struct__: GenAI.Graph.Link})564 # from: lib/vnext_genai/vnext.graph.ex:487:14565 link = auto_link566567 # type: dynamic(%GenAI.Graph.Link{source: term()})568 # from: lib/vnext_genai/vnext.graph.ex:489:34569 GenAI.Graph.Link.putnew_source(link, from_node)570571 type warning found at:572 │573 489 │ with {:ok, link} <- Link.putnew_source(link, from_node),574 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~575 │576 └─ lib/vnext_genai/vnext.graph.ex:489: GenAI.VNext.Graph.attempt_auto_link/5577578 warning: the right-hand side of || will always execute:579580 elem(x, 1)581582 because the left-hand side always evaluates to:583584 dynamic(nil)585586 where "x" (context Kernel) was given the type:587588 # type: dynamic(nil)589 # from: lib/vnext_genai/graph/link.ex:629590 x591592 type warning found at:593 │594 629 │ node: R.Link.connector(x, :node) || target,595 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~596 │597 └─ lib/vnext_genai/graph/link.ex:629: GenAI.Graph.Link.putnew_target/2598599 warning: the right-hand side of || will always execute:600601 elem(x, 1)602603 because the left-hand side always evaluates to:604605 dynamic(nil)606607 where "x" (context Kernel) was given the type:608609 # type: dynamic(nil)610 # from: lib/vnext_genai/graph/link.ex:650611 x612613 type warning found at:614 │615 650 │ node: R.Link.connector(x, :node) || connector_id,616 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~617 │618 └─ lib/vnext_genai/graph/link.ex:650: GenAI.Graph.Link.putnew_target/2619620 warning: the right-hand side of || will always execute:621622 elem(x, 1)623624 because the left-hand side always evaluates to:625626 dynamic(nil)627628 where "x" (context Kernel) was given the type:629630 # type: dynamic(nil)631 # from: lib/vnext_genai/graph/link.ex:738632 x633634 type warning found at:635 │636 738 │ node: R.Link.connector(x, :node) || source,637 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~638 │639 └─ lib/vnext_genai/graph/link.ex:738: GenAI.Graph.Link.putnew_source/2640641 warning: the following clause will never match:642643 %_{} ->644645 because it attempts to match on the result of:646647 parameters648649 which has type:650651 dynamic(not false and not nil and not map())652653 type warning found at:654 │655 261 │ (is_map(parameters) or is_struct(parameters)),656 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~657 │658 └─ lib/vnext_genai/tool/registry.ex:261: GenAI.Tool.Registry.normalize_descriptor/1659660 warning: the right-hand side of || will always execute:661662 elem(x, 1)663664 because the left-hand side always evaluates to:665666 dynamic(nil)667668 where "x" (context Kernel) was given the type:669670 # type: dynamic(nil)671 # from: lib/vnext_genai/graph/link.ex:759672 x673674 type warning found at:675 │676 759 │ node: R.Link.connector(x, :node) || connector_id,677 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~678 │679 └─ lib/vnext_genai/graph/link.ex:759: GenAI.Graph.Link.putnew_source/2680681 warning: the following clause cannot match because the previous clauses already matched all possible values:682683 x ->684685 it attempts to match on the result of:686687 GenAI.Graph.MermaidProtocol.Helpers.diagram_type(options)688689 which has the already matched type:690691 dynamic(:state_diagram_v2)692693 where "x" was given the type:694695 # type: dynamic(:state_diagram_v2)696 # from: lib/vnext_genai/nodes/mermaid_protocol.ex:22:7697 x698699 type warning found at:700 │701 22 │ x -> {:error, {:unsupported_diagram, x}}702 │ ~703 │704 └─ lib/vnext_genai/nodes/mermaid_protocol.ex:22:9: GenAI.Graph.MermaidProtocol.GenAI.Graph.Node.encode/3705706 warning: the following conditional expression:707708 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)709710 will always evaluate to:711712 dynamic({:ok, term()})713714 where "context" was given the type:715716 # type: dynamic()717 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:67718 context719720 where "id" was given the type:721722 # type: dynamic()723 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12724 %{id: id, usage: %{}, model: model, choices: choices} <- json725726 where "model" was given the type:727728 # type: dynamic()729 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:129:12730 %{id: id, usage: %{}, model: model, choices: choices} <- json731732 where "module" was given the type:733734 # type: dynamic(atom())735 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:134:24736 module.completion_choices(id, &1, model, settings, session, context, options)737738 where "options" was given the type:739740 # type: dynamic()741 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:76742 options743744 where "session" was given the type:745746 # type: dynamic()747 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:58748 session749750 where "settings" was given the type:751752 # type: dynamic()753 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:122:48754 settings755756 where "v" was given the type:757758 # type: dynamic()759 # from: lib/vnext_genai/nodes/model/encoder/default_provider.ex:133:24760 {:ok, v} = module.completion_choices(id, &1, model, settings, session, context, options)761762 type warning found at:763 │764 133 │ &if {:ok, v} =765 │ ~~~~~~~~~~~~~~766 │767 └─ lib/vnext_genai/nodes/model/encoder/default_provider.ex:133: GenAI.Model.Encoder.DefaultProvider.completion_response/7768769Generated genai_core app770==> ex_llama771mkdir -p priv772git clone --depth 1 --branch b8322 https://github.com/ggml-org/llama.cpp.git c_src/llama.cpp773Cloning into 'c_src/llama.cpp'...774Note: switching to '557fe2d9132913eaf08c8abf21b0cff61addb9ac'.775776You are in 'detached HEAD' state. You can look around, make experimental777changes and commit them, and you can discard any commits you make in this778state without impacting any branches by switching back to a branch.779780If you want to create a new branch to retain commits you create, you may781do so (now or later) by using -c with the switch command. Example:782783 git switch -c <new-branch-name>784785Or undo this operation with:786787 git switch -788789Turn off this advice by setting config variable advice.detachedHead to false790791cmake -B c_src/llama.cpp/build -S c_src/llama.cpp \792 -DCMAKE_BUILD_TYPE=Release \793 -DBUILD_SHARED_LIBS=OFF \794 -DCMAKE_POSITION_INDEPENDENT_CODE=ON \795 -DLLAMA_BUILD_TESTS=OFF \796 -DLLAMA_BUILD_EXAMPLES=OFF \797 -DLLAMA_BUILD_SERVER=OFF \798 -DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS799CMake Error at /usr/share/cmake-3.28/Modules/CMakeDetermineSystem.cmake:176 (message):800 Could not find toolchain file:801 /home/nerves/.nerves/artifacts/nerves_system_rpi4-2.1.2/nerves-env.cmake802Call Stack (most recent call first):803 CMakeLists.txt:2 (project)804805806CMake 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.807CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage808CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage809-- Configuring incomplete, errors occurred!810make: *** [Makefile:72: c_src/llama.cpp/build/src/libllama.a] Error 1811could 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"812==> nerves_compatibility_test813** (Mix) Could not compile with "make" (exit status: 2).814You need to have gcc and make installed. If you are using815Ubuntu or any other Debian-based system, install the packages816"build-essential". Also install "erlang-dev" package if not817included in your Erlang/OTP version. If you're on Fedora, run818"dnf group install 'Development Tools'".819