Build log
nerves_system_rpi0_2
jido_tools 0.1.1 · fail · run jido_tools-0.1.1-1792966316577
2104 of 2104 lines
1Resolving Hex dependencies...2Resolution completed in 0.238s3Unchanged:4 abacus 2.1.05 backoff 1.1.66 certifi 2.15.07 circular_buffer 1.1.08 crontab 1.2.19 decimal 3.2.010 deep_merge 1.0.211 dotenvy 1.1.112 ecto 3.14.213 elixir_make 0.10.114 ex_dbug 2.1.015 expo 1.1.116 finch 0.22.017 gen_stage 1.3.218 gettext 0.26.219 hackney 1.25.0 VULNERABLE!20 EEF-CVE-2026-47071 (HIGH)21 aka: CVE-2026-47071, GHSA-gp9c-pm5m-5cxr22 SOCKS5 TLS upgrade ignores caller timeout in hackney23 https://osv.dev/vulnerability/EEF-CVE-2026-470712425 EEF-CVE-2026-47076 (MEDIUM)26 aka: CVE-2026-47076, GHSA-pj7v-xfvx-wmjq27 SSRF allowlist bypass via percent-encoded host in hackney28 https://osv.dev/vulnerability/EEF-CVE-2026-470762930 EEF-CVE-2026-47069 (LOW)31 aka: CVE-2026-47069, GHSA-mp55-p8c9-rfw232 CRLF injection in cookie domain/path options in hackney33 https://osv.dev/vulnerability/EEF-CVE-2026-470693435 EEF-CVE-2026-47075 (MEDIUM)36 aka: CVE-2026-47075, GHSA-j9wq-vxxc-94wf37 CR/LF injection in query parameter in hackney38 https://osv.dev/vulnerability/EEF-CVE-2026-4707539 hpax 1.1.040 httpoison 2.3.041 idna 6.1.142 instructor 0.1.043 interactive_cmd 0.1.444 jason 1.4.545 jaxon 2.0.846 jido 1.1.0-rc.247 jido_ai 0.5.248 jido_tools 0.1.1 RETIRED!49 (deprecated) This package has been deprecated. Use 'jido_action' instead as a drop-in replacement50 langchain 0.3.351 logger_backends 1.0.152 metrics 1.0.153 mime 2.0.754 mimerl 1.5.055 mint 1.11.056 multipart 0.6.157 nerves 2.0.0-pre.358 nerves_discovery 0.1.659 nerves_logging 0.2.460 nerves_runtime 0.13.1361 nerves_system_br 1.35.362 nerves_system_rpi0_2 2.2.163 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.164 nerves_uevent 0.1.865 nimble_options 1.1.166 nimble_parsec 1.4.267 nimble_pool 1.1.068 ok 2.3.069 openai_ex 0.9.2270 parse_trans 3.4.171 phoenix_pubsub 2.4.172 plug 1.20.373 plug_crypto 2.2.174 private 0.1.275 proper_case 1.3.176 property_table 0.3.477 quantum 3.5.378 req 0.5.18 VULNERABLE!79 EEF-CVE-2026-49756 (LOW)80 aka: CVE-2026-49756, GHSA-px9f-whj3-246m81 Multipart form-data header injection in Req via unescaped name/filename/content_type82 https://osv.dev/vulnerability/EEF-CVE-2026-497568384 EEF-CVE-2026-49755 (HIGH)85 aka: CVE-2026-49755, GHSA-655f-mp8p-96gv86 Decompression bomb DoS in Req via auto-decoded archive and compressed response bodies87 https://osv.dev/vulnerability/EEF-CVE-2026-4975588 ring_logger 0.11.789 solid 0.18.090 ssl_verify_fun 1.1.791 tablet 0.3.392 telemetry 1.4.293 telemetry_metrics 1.2.094 telemetry_registry 0.3.295 tentacat 2.5.096 toolshed 0.5.097 typed_struct 0.3.098 typed_struct_nimble_options 0.1.199 tz 0.28.4100 uboot_env 1.0.3101 unicode_util_compat 0.7.1102 uniq 0.6.3103 weather 0.4.0104* Getting jido_tools (Hex package)105* Getting nerves (Hex package)106* Getting logger_backends (Hex package)107* Getting ring_logger (Hex package)108* Getting toolshed (Hex package)109* Getting nerves_runtime (Hex package)110* Getting nerves_system_rpi0_2 (Hex package)111* Getting nerves_system_br (Hex package)112* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)113* Getting nerves_logging (Hex package)114* Getting nerves_uevent (Hex package)115* Getting uboot_env (Hex package)116* Getting elixir_make (Hex package)117* Getting property_table (Hex package)118* Getting circular_buffer (Hex package)119* Getting interactive_cmd (Hex package)120* Getting nerves_discovery (Hex package)121* Getting tablet (Hex package)122* Getting jido (Hex package)123* Getting jido_ai (Hex package)124* Getting req (Hex package)125* Getting tentacat (Hex package)126* Getting weather (Hex package)127* Getting plug (Hex package)128* Getting tz (Hex package)129* Getting mime (Hex package)130* Getting plug_crypto (Hex package)131* Getting telemetry (Hex package)132* Getting httpoison (Hex package)133* Getting jason (Hex package)134* Getting hackney (Hex package)135* Getting certifi (Hex package)136* Getting idna (Hex package)137* Getting metrics (Hex package)138* Getting mimerl (Hex package)139* Getting parse_trans (Hex package)140* Getting ssl_verify_fun (Hex package)141* Getting unicode_util_compat (Hex package)142* Getting finch (Hex package)143* Getting mint (Hex package)144* Getting nimble_options (Hex package)145* Getting nimble_pool (Hex package)146* Getting hpax (Hex package)147* Getting dotenvy (Hex package)148* Getting instructor (Hex package)149* Getting langchain (Hex package)150* Getting openai_ex (Hex package)151* Getting solid (Hex package)152* Getting typed_struct (Hex package)153* Getting nimble_parsec (Hex package)154* Getting multipart (Hex package)155* Getting ecto (Hex package)156* Getting gettext (Hex package)157* Getting expo (Hex package)158* Getting decimal (Hex package)159* Getting jaxon (Hex package)160* Getting abacus (Hex package)161* Getting backoff (Hex package)162* Getting deep_merge (Hex package)163* Getting ex_dbug (Hex package)164* Getting ok (Hex package)165* Getting phoenix_pubsub (Hex package)166* Getting private (Hex package)167* Getting proper_case (Hex package)168* Getting quantum (Hex package)169* Getting telemetry_metrics (Hex package)170* Getting typed_struct_nimble_options (Hex package)171* Getting uniq (Hex package)172* Getting crontab (Hex package)173* Getting gen_stage (Hex package)174* Getting telemetry_registry (Hex package)175Found retired packages, see above for details176Found packages with security advisories, see above for details177You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more178==> tablet179Compiling 2 files (.ex)180Generated tablet app181==> nerves_discovery182Compiling 5 files (.ex)183Generated nerves_discovery app184==> nerves185Compiling 65 files (.ex)186Generated nerves app187==> nerves_system_br188Generated nerves_system_br app189==> typed_struct190Compiling 2 files (.ex)191Generated typed_struct app192==> gen_stage193Compiling 10 files (.ex)194 warning: unused require Logger195 │196 103 │ require Logger197 │ ~198 │199 └─ lib/gen_stage/dispatchers/partition_dispatcher.ex:103:3200201Generated gen_stage app202==> mime203Compiling 1 file (.ex)204Generated mime app205==> circular_buffer206Compiling 1 file (.ex)207Generated circular_buffer app208==> nimble_options209Compiling 3 files (.ex)210Generated nimble_options app211==> multipart212Compiling 2 files (.ex)213Generated multipart app214==> logger_backends215Compiling 7 files (.ex)216Generated logger_backends app217==> plug_crypto218Compiling 5 files (.ex)219Generated plug_crypto app220==> hpax221Compiling 4 files (.ex)222Generated hpax app223==> mint224Compiling 1 file (.erl)225Compiling 21 files (.ex)226Generated mint app227==> nerves_compatibility_test228===> Analyzing applications...229===> Compiling mimerl230==> ssl_verify_fun231Compiling 7 files (.erl)232Generated ssl_verify_fun app233==> abacus234Compiling 3 files (.erl)235Compiling 5 files (.ex)236 warning: the following clause is redundant:237238 def typeof(b) when is_boolean(b)239240 it has type:241242 dynamic(boolean())243244 previous clauses have already matched on the following types:245246 atom()247 binary()248 integer()249 float()250251 │252 31 │ def typeof(b) when is_boolean(b), do: :boolean253 │ ~254 │255 └─ lib/runtime/helpers.ex:31:7: Abacus.Runtime.Helpers.typeof/1256257 warning: Abacus.parse/1 is undefined or private258 │259 36 │ Abacus.parse(without_parantheses),260 │ ~261 │262 └─ lib/format.ex:36:14: Abacus.Format.format/1263 └─ lib/format.ex:37:14: Abacus.Format.format/1264 └─ lib/format.ex:38:14: Abacus.Format.format/1265 └─ lib/format.ex:39:14: Abacus.Format.format/1266 └─ lib/format.ex:64:14: Abacus.Format.format/1267 └─ lib/format.ex:65:14: Abacus.Format.format/1268 └─ lib/format.ex:81:14: Abacus.Format.format/1269 └─ lib/format.ex:82:14: Abacus.Format.format/1270 └─ lib/format.ex:100:28: Abacus.Format.format/1271272Generated abacus app273==> private274Compiling 1 file (.ex)275Generated private app276==> elixir_make277Compiling 8 files (.ex)278Generated elixir_make app279==> nerves_logging280 CC kmsg_tailer.o281 LD kmsg_tailer282Compiling 5 files (.ex)283Generated nerves_logging app284==> proper_case285Compiling 4 files (.ex)286 warning: redefining @doc attribute previously set at line 89.287288 Please remove the duplicate docs. If instead you want to override a previously defined @doc, attach the @doc attribute to a function head (the function signature not followed by any do-block). For example:289290 @doc """291 new docs292 """293 def snake_case(...)294295 │296 102 │ @doc """297 │ ~~~~~~~~298 │299 └─ lib/proper_case.ex:102: ProperCase.snake_case/1300301 warning: Jason.encode_to_iodata!/1 is undefined (module Jason 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)302 │303 2 │ use ProperCase.JSONEncoder, transform: &ProperCase.to_camel_case/1304 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~305 │306 └─ lib/json_encoder/camel_case.ex:2: ProperCase.JSONEncoder.CamelCase.encode_to_iodata!/1307308Generated proper_case app309==> ring_logger310Compiling 7 files (.ex)311Generated ring_logger app312==> deep_merge313Compiling 2 files (.ex)314Generated deep_merge app315==> decimal316Compiling 4 files (.ex)317Generated decimal app318==> jason319Compiling 10 files (.ex)320Generated jason app321==> nerves_toolchain_aarch64_nerves_linux_gnu322Compiling 1 file (.ex)323Generated nerves_toolchain_aarch64_nerves_linux_gnu app324==> nerves_system_rpi0_2325Generated nerves_system_rpi0_2 app326==> nimble_parsec327Compiling 4 files (.ex)328Generated nimble_parsec app329==> solid330Compiling 32 files (.ex)331 warning: unused require Solid332 │333 19 │ require Solid334 │ ~335 │336 └─ lib/solid/sigil.ex:19:3337338Compiling lib/solid/parser.ex (it's taking more than 10s)339Generated solid app340==> nerves_compatibility_test341===> Analyzing applications...342===> Compiling unicode_util_compat343===> Analyzing applications...344===> Compiling idna345===> Analyzing applications...346===> Compiling telemetry347==> ecto348Compiling 56 files (.ex)349Generated ecto app350==> uniq351Compiling 5 files (.ex)352 warning: the variable "clock_hi_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator353 │354 547 │ <<clock_hi::bits(clock_hi_size), clock_lo::bits(8), node::bits(48)>> <-355 │ ~356 │357 └─ lib/uuid.ex:547:29: Uniq.UUID.parse_raw/5358359 warning: the variable "clock_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator360 │361 549 │ <<clock::uint(clock_size)>> <-362 │ ~363 │364 └─ lib/uuid.ex:549:26: Uniq.UUID.parse_raw/5365366 warning: the variable "clock_hi_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator367 │368 547 │ <<clock_hi::bits(clock_hi_size), clock_lo::bits(8), node::bits(48)>> <-369 │ ~370 │371 └─ lib/uuid.ex:547:29: Uniq.UUID.parse_raw/5372373 warning: the variable "clock_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator374 │375 549 │ <<clock::uint(clock_size)>> <-376 │ ~377 │378 └─ lib/uuid.ex:549:26: Uniq.UUID.parse_raw/5379380 warning: the variable "clock_hi_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator381 │382 547 │ <<clock_hi::bits(clock_hi_size), clock_lo::bits(8), node::bits(48)>> <-383 │ ~384 │385 └─ lib/uuid.ex:547:29: Uniq.UUID.parse_raw/5386387 warning: the variable "clock_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator388 │389 549 │ <<clock::uint(clock_size)>> <-390 │ ~391 │392 └─ lib/uuid.ex:549:26: Uniq.UUID.parse_raw/5393394 warning: the variable "clock_hi_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator395 │396 547 │ <<clock_hi::bits(clock_hi_size), clock_lo::bits(8), node::bits(48)>> <-397 │ ~398 │399 └─ lib/uuid.ex:547:29: Uniq.UUID.parse_raw/5400401 warning: the variable "clock_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator402 │403 549 │ <<clock::uint(clock_size)>> <-404 │ ~405 │406 └─ lib/uuid.ex:549:26: Uniq.UUID.parse_raw/5407408Generated uniq app409==> crontab410Compiling 7 files (.ex)411Generated crontab app412==> telemetry_metrics413Compiling 7 files (.ex)414Generated telemetry_metrics app415==> telemetry_registry416Compiling 1 file (.erl)417Compiling 1 file (.ex)418Generated telemetry_registry app419==> ok420Compiling 3 files (.ex)421Generated ok app422==> jaxon423mkdir -p priv424gcc -shared -fpic -D_POSIX_C_SOURCE=199309L -std=c99 -O3 -I/usr/local/lib/erlang/erts-17.1.1/include c_src/decoder*.c -o priv/decoder.so425Compiling 11 files (.ex)426 warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead427 │428 2 │ @parser Application.get_env(:jaxon, :parser, Jaxon.Parsers.NifParser)429 │ ~430 │431 └─ lib/jaxon/parser.ex:2:23: Jaxon.Parser (module)432433Generated jaxon app434==> expo435Compiling 2 files (.erl)436Compiling 22 files (.ex)437Generated expo app438==> gettext439Compiling 18 files (.ex)440 warning: unused require Gettext.Macros441 │442 594 │ require Gettext.Macros443 │ ~444 │445 └─ lib/gettext.ex:594:3446447 warning: the following clause is redundant:448449 defp ensure_empty_msgstr!(%Expo.Message.Plural{} = message)450451 it has type:452453 dynamic(%Expo.Message.Plural{})454455 previous clauses have already matched on the following types:456457 %Expo.Message.Singular{}458 %Expo.Message.Plural{}459460 │461 391 │ defp ensure_empty_msgstr!(%Message.Plural{} = message) do462 │ ~463 │464 └─ lib/gettext/extractor.ex:391:8: Gettext.Extractor.ensure_empty_msgstr!/1465466 warning: Kernel.ParallelCompiler.async/1 is deprecated. Use `pmap/2` instead467 │468 426 │ Kernel.ParallelCompiler.async(fn ->469 │ ~470 │471 └─ lib/gettext/compiler.ex:426:39: Gettext.Compiler.compile_po_files/3472473Generated gettext app474==> phoenix_pubsub475Compiling 13 files (.ex)476Generated phoenix_pubsub app477==> nerves_compatibility_test478===> Analyzing applications...479===> Compiling backoff480===> Analyzing applications...481===> Compiling certifi482==> plug483Compiling 1 file (.erl)484Compiling 42 files (.ex)485Generated plug app486==> dotenvy487Compiling 3 files (.ex)488 warning: unused require Logger489 │490 20 │ require Logger491 │ ~492 │493 └─ lib/dotenvy.ex:20:3494495Generated dotenvy app496==> tz497Compiling 16 files (.ex)498Generated tz app499==> nerves_compatibility_test500===> Analyzing applications...501===> Compiling parse_trans502==> uboot_env503Compiling 5 files (.ex)504Generated uboot_env app505==> nimble_pool506Compiling 2 files (.ex)507Generated nimble_pool app508==> finch509Compiling 22 files (.ex)510Generated finch app511warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"512 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/2513 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/1514 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5515 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2516 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4517 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2518519==> req520Compiling 19 files (.ex)521Generated req app522==> weather523Compiling 20 files (.ex)524 warning: a struct for Weather.Opts is expected on struct update:525526 %Weather.Opts{weather_opts | appid: "<<REDACTED>>"}527528 but got type:529530 dynamic(not %Weather.Opts{appid: nil})531532 where "weather_opts" was given the type:533534 # type: dynamic(not %Weather.Opts{appid: nil})535 # from: lib/weather/opts.ex:376:21536 weather_opts537538 when defining the variable "weather_opts", you must also pattern match on "%Weather.Opts{}"539540 type warning found at:541 │542 376 │ defp redact_appid(weather_opts), do: %Weather.Opts{weather_opts | appid: "<<REDACTED>>"}543 │ ~544 │545 └─ lib/weather/opts.ex:376:40: Inspect.Weather.Opts.redact_appid/1546547 warning: a struct for Weather.Opts is expected on struct update:548549 %Weather.Opts{opts | test: val}550551 but got type:552553 dynamic()554555 where "opts" was given the type:556557 # type: dynamic()558 # from: lib/weather/opts.ex:154:34559 opts560561 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"562563 type warning found at:564 │565 157 │ {:ok, %__MODULE__{opts | test: val}}566 │ ~567 │568 └─ lib/weather/opts.ex:157:15: Weather.Opts.add/3569570 warning: a struct for Weather.Opts is expected on struct update:571572 %Weather.Opts{opts | appid: "MyFakeApiKeyz9c141l98bi16m1g9f21"}573574 but got type:575576 dynamic(%{..., test: not nil})577578 where "opts" was given the type:579580 # type: dynamic(%{..., test: not nil})581 # from: lib/weather/opts.ex:165:37582 %{test: test} = opts583584 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"585586 type warning found at:587 │588 166 │ do: {:ok, %__MODULE__{opts | appid: @fake_api_key}}589 │ ~590 │591 └─ lib/weather/opts.ex:166:15: Weather.Opts.add/3592593 warning: a struct for Weather.Opts is expected on struct update:594595 %Weather.Opts{opts | appid: api_key}596597 but got type:598599 dynamic(not %{..., test: not nil})600601 where "opts" was given the type:602603 # type: dynamic(not %{..., test: not nil})604 # from: lib/weather/opts.ex:168:26605 opts606607 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"608609 type warning found at:610 │611 175 │ {:ok, %__MODULE__{opts | appid: api_key}}612 │ ~613 │614 └─ lib/weather/opts.ex:175:15: Weather.Opts.add/3615616 warning: a struct for Weather.Opts is expected on struct update:617618 %Weather.Opts{opts | latitude: 42.3871, longitude: -87.9562, label: nil}619620 but got type:621622 dynamic(%{..., test: not nil})623624 where "opts" was given the type:625626 # type: dynamic(%{..., test: not nil})627 # from: lib/weather/opts.ex:179:40628 %{test: test} = opts629630 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"631632 type warning found at:633 │634 182 │ %__MODULE__{opts | latitude: @fake_latitude, longitude: @fake_longitude, label: nil}635 │ ~636 │637 └─ lib/weather/opts.ex:182:7: Weather.Opts.add/3638639 warning: a struct for Weather.Opts is expected on struct update:640641 %Weather.Opts{opts | label: label}642643 but got type:644645 dynamic()646647 where "opts" was given the type:648649 # type: dynamic()650 # from: lib/weather/opts.ex:195:37651 opts652653 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"654655 type warning found at:656 │657 196 │ {:ok, %__MODULE__{opts | label: label}}658 │ ~659 │660 └─ lib/weather/opts.ex:196:11: Weather.Opts.add/3661662 warning: a struct for Weather.Opts is expected on struct update:663664 %Weather.Opts{opts | hours: val}665666 but got type:667668 dynamic()669670 where "opts" was given the type:671672 # type: dynamic()673 # from: lib/weather/opts.ex:211:37674 opts675676 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"677678 type warning found at:679 │680 214 │ {:ok, %__MODULE__{opts | hours: val}}681 │ ~682 │683 └─ lib/weather/opts.ex:214:15: Weather.Opts.add/3684685 warning: a struct for Weather.Opts is expected on struct update:686687 %Weather.Opts{opts | every_n_hours: val}688689 but got type:690691 dynamic(%{..., hours: term()})692693 where "opts" was given the type:694695 # type: dynamic(%{..., hours: term()})696 # from: lib/weather/opts.ex:224697 val <= opts.hours698699 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"700701 type warning found at:702 │703 225 │ {:ok, %__MODULE__{opts | every_n_hours: val}}704 │ ~705 │706 └─ lib/weather/opts.ex:225:15: Weather.Opts.add/3707708 warning: a struct for Weather.Opts is expected on struct update:709710 %Weather.Opts{opts | color_codes: color_codes}711712 but got type:713714 dynamic()715716 where "opts" was given the type:717718 # type: dynamic()719 # from: lib/weather/opts.ex:235:53720 opts721722 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"723724 type warning found at:725 │726 248 │ {:ok, %__MODULE__{opts | color_codes: color_codes}}727 │ ~728 │729 └─ lib/weather/opts.ex:248:11: Weather.Opts.add/3730731 warning: a struct for Weather.Opts is expected on struct update:732733 %Weather.Opts{opts | color_codes: color_codes}734735 but got type:736737 dynamic()738739 where "opts" was given the type:740741 # type: dynamic()742 # from: lib/weather/opts.ex:251:49743 opts744745 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"746747 type warning found at:748 │749 253 │ {:ok, %__MODULE__{opts | color_codes: color_codes}}750 │ ~751 │752 └─ lib/weather/opts.ex:253:11: Weather.Opts.add/3753754 warning: a struct for Weather.Opts is expected on struct update:755756 %Weather.Opts{opts | units: units}757758 but got type:759760 dynamic()761762 where "opts" was given the type:763764 # type: dynamic()765 # from: lib/weather/opts.ex:266:37766 opts767768 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"769770 type warning found at:771 │772 269 │ {:ok, %__MODULE__{opts | units: units}}773 │ ~774 │775 └─ lib/weather/opts.ex:269:15: Weather.Opts.add/3776777 warning: a struct for Weather.Opts is expected on struct update:778779 %Weather.Opts{opts | latitude: latitude, longitude: longitude, label: nil}780781 but got type:782783 dynamic()784785 where "opts" was given the type:786787 # type: dynamic()788 # from: lib/weather/opts.ex:296:29789 opts790791 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"792793 type warning found at:794 │795 301 │ %__MODULE__{opts | latitude: latitude, longitude: longitude, label: nil}796 │ ~797 │798 └─ lib/weather/opts.ex:301:9: Weather.Opts.parse_lat_long/2799800 warning: a struct for Weather.Opts is expected on struct update:801802 %Weather.Opts{opts | latitude: latitude, longitude: longitude, label: label_from_zip}803804 but got type:805806 dynamic(%{..., appid: term()})807808 where "opts" was given the type:809810 # type: dynamic(%{..., appid: term()})811 # from: lib/weather/opts.ex:339:22812 Weather.API.fetch_location(%{zip: zip}, opts.appid)813814 when defining the variable "opts", you must also pattern match on "%Weather.Opts{}"815816 type warning found at:817 │818 345 │ %__MODULE__{opts | latitude: latitude, longitude: longitude, label: label_from_zip}819 │ ~820 │821 └─ lib/weather/opts.ex:345:11: Weather.Opts.lookup_by_zip/2822823Generated weather app824==> instructor825Compiling 17 files (.ex)826 warning: this clause cannot match because a previous clause at line 196 matches the same pattern as this clause827 │828 197 │ %{"content" => chunk} -> chunk829 │ ~830 │831 └─ lib/instructor/adapters/openai.ex:197:29832833 warning: the following clause is redundant:834835 %{"content" => chunk} ->836837 previous clauses have already matched on the following types:838839 nil840 map()841842 where "chunk" was given the type:843844 # type: dynamic()845 # from: lib/instructor/adapters/openai.ex:197:7846 %{"content" => chunk}847848 type warning found at:849 │850 197 │ %{"content" => chunk} -> chunk851 │ ~852 │853 └─ lib/instructor/adapters/openai.ex:197:29: Instructor.Adapters.OpenAI.parse_stream_chunk_for_mode/2854855 warning: the following clause will never match:856857 {:error, reason} ->858859 it is expected to match on type:860861 dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})862863 type warning found at:864 │865 307 │ {:error, reason} -> acc ++ [{:error, reason}]866 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~867 │868 └─ lib/instructor.ex:307: Instructor.do_streaming_partial_array_chat_completion/3869870 warning: the following clause is redundant:871872 e ->873874 previous clauses have already matched on the following types:875876 {:validation, not %Ecto.Changeset{valid?: true}}877878 where "e" was given the type:879880 # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})881 # from: lib/instructor.ex:308:17882 e883884 type warning found at:885 │886 308 │ e -> acc ++ [{:error, e}]887 │ ~888 │889 └─ lib/instructor.ex:308:19: Instructor.do_streaming_partial_array_chat_completion/3890891 warning: the following clause will never match:892893 {:error, reason} ->894895 it is expected to match on type:896897 dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})898899 type warning found at:900 │901 378 │ {:error, reason} -> {:error, reason}902 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~903 │904 └─ lib/instructor.ex:378: Instructor.do_streaming_partial_chat_completion/3905906 warning: the following clause is redundant:907908 e ->909910 previous clauses have already matched on the following types:911912 {:validation, not %Ecto.Changeset{valid?: true}}913914 where "e" was given the type:915916 # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})917 # from: lib/instructor.ex:379:11918 e919920 type warning found at:921 │922 379 │ e -> {:error, e}923 │ ~924 │925 └─ lib/instructor.ex:379:13: Instructor.do_streaming_partial_chat_completion/3926927 warning: the following clause will never match:928929 {:error, reason} ->930931 it is expected to match on type:932933 dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})934935 type warning found at:936 │937 414 │ {:error, reason} -> {:error, reason}938 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~939 │940 └─ lib/instructor.ex:414: Instructor.do_streaming_array_chat_completion/3941942 warning: the following clause is redundant:943944 e ->945946 previous clauses have already matched on the following types:947948 {:validation, not %Ecto.Changeset{valid?: true}}949950 where "e" was given the type:951952 # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})953 # from: lib/instructor.ex:415:9954 e955956 type warning found at:957 │958 415 │ e -> {:error, e}959 │ ~960 │961 └─ lib/instructor.ex:415:11: Instructor.do_streaming_array_chat_completion/3962963Generated instructor app964==> langchain965Compiling 49 files (.ex)966 warning: unused require Logger967 │968 2 │ require Logger969 │ ~970 │971 └─ lib/chat_models/chat_model.ex:2:3972973 warning: unused require Logger974 │975 74 │ require Logger976 │ ~977 │978 └─ lib/function_param.ex:74:3979980 warning: unused require Logger981 │982 19 │ require Logger983 │ ~984 │985 └─ lib/images/generated_image.ex:19:3986987 warning: unused require Logger988 │989 51 │ require Logger990 │ ~991 │992 └─ lib/message/content_part.ex:51:3993994 warning: unused require Logger995 │996 21 │ require Logger997 │ ~998 │999 └─ lib/message/tool_result.ex:21:310001001 warning: unused require Logger1002 │1003 17 │ require Logger1004 │ ~1005 │1006 └─ lib/message/tool_call.ex:17:310071008 warning: unused require Logger1009 │1010 25 │ require Logger1011 │ ~1012 │1013 └─ lib/message_delta.ex:25:310141015 warning: unused require Logger1016 │1017 58 │ require Logger1018 │ ~1019 │1020 └─ lib/routing/prompt_route.ex:58:310211022 warning: unused require Logger1023 │1024 23 │ require Logger1025 │ ~1026 │1027 └─ lib/token_usage.ex:23:310281029 warning: a struct for LangChain.Chains.LLMChain is expected on struct update:10301031 %LangChain.Chains.LLMChain{chain | llm: llm}10321033 but got type:10341035 dynamic()10361037 where "chain" was given the type:10381039 # type: dynamic()1040 # from: lib/chains/llm_chain.ex:493:271041 chain10421043 when defining the variable "chain", you must also pattern match on "%LangChain.Chains.LLMChain{}"10441045 type warning found at:1046 │1047 494 │ use_chain = %LLMChain{chain | llm: llm}1048 │ ~1049 │1050 └─ lib/chains/llm_chain.ex:494:17: LangChain.Chains.LLMChain.try_chain_with_llm/410511052 warning: a struct for LangChain.MessageDelta is expected on struct update:10531054 %LangChain.MessageDelta{delta | status: :complete}10551056 but got type:10571058 dynamic(not nil)10591060 where "delta" was given the type:10611062 # type: dynamic(not nil)1063 # from: lib/chains/llm_chain.ex:1184:441064 %LangChain.Chains.LLMChain{delta: delta} = chain10651066 when defining the variable "delta", you must also pattern match on "%LangChain.MessageDelta{}"10671068 type warning found at:1069 │1070 1188 │ case MessageDelta.to_message(%MessageDelta{delta | status: :complete}) do1071 │ ~1072 │1073 └─ lib/chains/llm_chain.ex:1188:34: LangChain.Chains.LLMChain.cancel_delta/210741075 warning: the following conditional expression:10761077 chain.verbose10781079 will always evaluate to:10801081 dynamic(true)10821083 where "chain" was given the type:10841085 # type: dynamic(%LangChain.Chains.LLMChain{verbose: true})1086 # from: lib/chains/llm_chain.ex:459:531087 %LangChain.Chains.LLMChain{verbose: true} = chain10881089 type warning found at:1090 │1091 461 │ if chain.verbose, do: IO.inspect(chain.llm, label: "LLM")1092 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1093 │1094 └─ lib/chains/llm_chain.ex:461: LangChain.Chains.LLMChain.initial_run_logging/110951096 warning: the following clause is redundant:10971098 {:ok, []} ->10991100 previous clauses have already matched on the following types:11011102 {:ok, binary()}1103 {:ok, empty_list() or non_empty_list(term(), term())}11041105 type warning found at:1106 │1107 214 │ {:ok, []} ->1108 │ ~1109 │1110 └─ lib/message.ex:214:17: LangChain.Message.validate_content_type/111111112 warning: the following clause is redundant:11131114 def for_api(%LangChain.Message{content: content} = message) when is_list(content)11151116 it has type:11171118 dynamic(%LangChain.Message{content: empty_list() or non_empty_list(term(), term())})11191120 previous clauses have already matched on the following types:11211122 %LangChain.Message{role: :assistant}1123 %LangChain.Message{role: :tool}1124 %LangChain.Message{content: binary()}1125 %LangChain.Message{content: empty_list() or non_empty_list(term(), term())}11261127 │1128 284 │ def for_api(%Message{content: content} = message) when is_list(content) do1129 │ ~1130 │1131 └─ lib/chat_models/chat_google_ai.ex:284:7: LangChain.ChatModels.ChatGoogleAI.for_api/111321133 warning: Nx.Serving.batched_run/2 is undefined (module Nx.Serving is not available or is yet to be defined)1134 │1135 283 │ |> Nx.Serving.batched_run(%{text: prompt, seed: model.seed})1136 │ ~1137 │1138 └─ lib/chat_models/chat_bumblebee.ex:283:19: LangChain.ChatModels.ChatBumblebee.do_serving_request/31139 └─ lib/chat_models/chat_bumblebee.ex:296:19: LangChain.ChatModels.ChatBumblebee.do_serving_request/31140 └─ lib/chat_models/chat_bumblebee.ex:309:19: LangChain.ChatModels.ChatBumblebee.do_serving_request/31141 └─ lib/chat_models/chat_bumblebee.ex:317:19: LangChain.ChatModels.ChatBumblebee.do_serving_request/311421143 warning: comparison between distinct types found:11441145 type == :object11461147 given types:11481149 dynamic(not :object) == :object11501151 where "type" was given the type:11521153 # type: dynamic(not :object)1154 # from: lib/function_param.ex:184:121155 type == :object11561157 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false11581159 type warning found at:1160 │1161 192 │ !Enum.empty?(props) and (!(type == :array and item == "object") and !(type == :object)) ->1162 │ ~1163 │1164 └─ lib/function_param.ex:192:82: LangChain.FunctionParam.validate_object_type/111651166Generated langchain app1167==> openai_ex1168Compiling 40 files (.ex)1169Generated openai_ex app1170==> quantum1171Compiling 39 files (.ex)1172Generated quantum app1173==> nerves_compatibility_test1174===> Analyzing applications...1175===> Compiling metrics1176===> Analyzing applications...1177===> Compiling hackney1178 ┌─ src/hackney_happy.erl:1179 │1180 101 │ catch exit(Pid, normal),1181 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1182Compile directive 'nowarn_deprecated_catch' can be used to suppress1183warnings in selected modules.11841185 ┌─ src/hackney_happy.erl:1186 │1187 128 │ case (catch inet_res:getbyname(Hostname, Type)) of1188 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1189Compile directive 'nowarn_deprecated_catch' can be used to suppress1190warnings in selected modules.11911192 ┌─ src/hackney_happy.erl:1193 │1194 151 │ case (catch inet:gethostbyname(Hostname, InetType)) of1195 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1196Compile directive 'nowarn_deprecated_catch' can be used to suppress1197warnings in selected modules.119811991200 ┌─ src/hackney_trace.erl:1201 │1202 132 │ (catch io:format(standard_io, "stop trace at ~s~n", [format_timestamp(Timestamp)])),1203 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1204Compile directive 'nowarn_deprecated_catch' can be used to suppress1205warnings in selected modules.12061207 ┌─ src/hackney_trace.erl:1208 │1209 139 │ (catch io:format(Fd, "stop trace at ~s~n", [format_timestamp(Timestamp)])),1210 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1211Compile directive 'nowarn_deprecated_catch' can be used to suppress1212warnings in selected modules.12131214 ┌─ src/hackney_trace.erl:1215 │1216 146 │ (catch io:format(Fd, "stop trace at ~s~n", [format_timestamp(Timestamp)])),1217 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1218Compile directive 'nowarn_deprecated_catch' can be used to suppress1219warnings in selected modules.12201221 ┌─ src/hackney_trace.erl:1222 │1223 147 │ (catch file:close(Fd)),1224 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1225Compile directive 'nowarn_deprecated_catch' can be used to suppress1226warnings in selected modules.12271228 ┌─ src/hackney_trace.erl:1229 │1230 154 │ (catch io:format(Fd, "stop trace at ~s~n", [format_timestamp(Timestamp)])),1231 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1232Compile directive 'nowarn_deprecated_catch' can be used to suppress1233warnings in selected modules.12341235 ┌─ src/hackney_trace.erl:1236 │1237 155 │ (catch file:close(Fd)),1238 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1239Compile directive 'nowarn_deprecated_catch' can be used to suppress1240warnings in selected modules.12411242 ┌─ src/hackney_trace.erl:1243 │1244 161 │ (catch print_hackney_trace(Fd, Sev, Timestamp, Who,1245 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1246Compile directive 'nowarn_deprecated_catch' can be used to suppress1247warnings in selected modules.12481249 ┌─ src/hackney_trace.erl:1250 │1251 165 │ (catch print_trace(Fd, Event)),1252 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1253Compile directive 'nowarn_deprecated_catch' can be used to suppress1254warnings in selected modules.125512561257 ┌─ src/hackney_pool.erl:1258 │1259 80 │ case catch gen_server:call(Pool, {checkout, Connection, Requester, RequestRef}, CheckoutTimeout) of1260 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1261Compile directive 'nowarn_deprecated_catch' can be used to suppress1262warnings in selected modules.12631264 ┌─ src/hackney_pool.erl:1265 │1266 101 │ _ = catch hackney_connection:close(Connection, Socket),1267 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1268Compile directive 'nowarn_deprecated_catch' can be used to suppress1269warnings in selected modules.12701271 ┌─ src/hackney_pool.erl:1272 │1273 130 │ _ = catch hackney_connection:close(Connection, Socket),1274 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1275Compile directive 'nowarn_deprecated_catch' can be used to suppress1276warnings in selected modules.12771278 ┌─ src/hackney_pool.erl:1279 │1280 134 │ catch hackney_connection:close(Connection, Socket),1281 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1282Compile directive 'nowarn_deprecated_catch' can be used to suppress1283warnings in selected modules.12841285 ┌─ src/hackney_pool.erl:1286 │1287 319 │ catch Transport:close(Socket),1288 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1289Compile directive 'nowarn_deprecated_catch' can be used to suppress1290warnings in selected modules.12911292 ┌─ src/hackney_pool.erl:1293 │1294 417 │ case catch hackney_connection:controlling_process(Connection, S, self()) of1295 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1296Compile directive 'nowarn_deprecated_catch' can be used to suppress1297warnings in selected modules.12981299 ┌─ src/hackney_pool.erl:1300 │1301 423 │ _ = catch hackney_connection:close(Connection, S),1302 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1303Compile directive 'nowarn_deprecated_catch' can be used to suppress1304warnings in selected modules.13051306 ┌─ src/hackney_pool.erl:1307 │1308 444 │ catch hackney_connection:close(Connection, Socket),1309 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1310Compile directive 'nowarn_deprecated_catch' can be used to suppress1311warnings in selected modules.13121313 ┌─ src/hackney_pool.erl:1314 │1315 543 │ _ = (catch hackney_connection:close(Connection, Socket)),1316 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1317Compile directive 'nowarn_deprecated_catch' can be used to suppress1318warnings in selected modules.131913201321 ┌─ src/hackney_manager.erl:1322 │1323 114 │ catch ets:delete(?MODULE, Ref),1324 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1325Compile directive 'nowarn_deprecated_catch' can be used to suppress1326warnings in selected modules.13271328 ┌─ src/hackney_manager.erl:1329 │1330 125 │ catch Transport:close(Socket);1331 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1332Compile directive 'nowarn_deprecated_catch' can be used to suppress1333warnings in selected modules.13341335 ┌─ src/hackney_manager.erl:1336 │1337 129 │ catch Handler:checkin(SocketRef, Socket)1338 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1339Compile directive 'nowarn_deprecated_catch' can be used to suppress1340warnings in selected modules.13411342 ┌─ src/hackney_manager.erl:1343 │1344 133 │ catch Transport:controlling_process(Socket, self()),1345 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1346Compile directive 'nowarn_deprecated_catch' can be used to suppress1347warnings in selected modules.13481349 ┌─ src/hackney_manager.erl:1350 │1351 134 │ catch Transport:close(Socket),1352 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1353Compile directive 'nowarn_deprecated_catch' can be used to suppress1354warnings in selected modules.13551356 ┌─ src/hackney_manager.erl:1357 │1358 227 │ catch ets:delete(?MODULE, Ref),1359 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1360Compile directive 'nowarn_deprecated_catch' can be used to suppress1361warnings in selected modules.13621363 ┌─ src/hackney_manager.erl:1364 │1365 255 │ catch ets:delete(?MODULE, Ref),1366 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1367Compile directive 'nowarn_deprecated_catch' can be used to suppress1368warnings in selected modules.13691370 ┌─ src/hackney_manager.erl:1371 │1372 269 │ catch Transport:controlling_process(Socket, self()),1373 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1374Compile directive 'nowarn_deprecated_catch' can be used to suppress1375warnings in selected modules.13761377 ┌─ src/hackney_manager.erl:1378 │1379 270 │ catch Transport:close(Socket),1380 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1381Compile directive 'nowarn_deprecated_catch' can be used to suppress1382warnings in selected modules.13831384 ┌─ src/hackney_manager.erl:1385 │1386 383 │ catch unlink(Stream),1387 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1388Compile directive 'nowarn_deprecated_catch' can be used to suppress1389warnings in selected modules.13901391 ┌─ src/hackney_manager.erl:1392 │1393 416 │ catch ets:delete(?REFS, Ref),1394 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1395Compile directive 'nowarn_deprecated_catch' can be used to suppress1396warnings in selected modules.13971398 ┌─ src/hackney_manager.erl:1399 │1400 426 │ catch ets:delete(?REFS, Ref),1401 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1402Compile directive 'nowarn_deprecated_catch' can be used to suppress1403warnings in selected modules.14041405 ┌─ src/hackney_manager.erl:1406 │1407 470 │ case catch hackney_stream:start_link(StreamTo2, Ref, Client) of1408 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1409Compile directive 'nowarn_deprecated_catch' can be used to suppress1410warnings in selected modules.14111412 ┌─ src/hackney_manager.erl:1413 │1414 487 │ catch Transport:close(Socket),1415 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1416Compile directive 'nowarn_deprecated_catch' can be used to suppress1417warnings in selected modules.14181419 ┌─ src/hackney_manager.erl:1420 │1421 543 │ catch ets:delete(?REFS, Ref),1422 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1423Compile directive 'nowarn_deprecated_catch' can be used to suppress1424warnings in selected modules.14251426 ┌─ src/hackney_manager.erl:1427 │1428 544 │ catch ets:delete(?MODULE, Ref),1429 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1430Compile directive 'nowarn_deprecated_catch' can be used to suppress1431warnings in selected modules.14321433 ┌─ src/hackney_manager.erl:1434 │1435 559 │ catch ets:delete(?REFS, Ref),1436 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1437Compile directive 'nowarn_deprecated_catch' can be used to suppress1438warnings in selected modules.14391440 ┌─ src/hackney_manager.erl:1441 │1442 560 │ catch ets:delete(?MODULE, Ref),1443 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1444Compile directive 'nowarn_deprecated_catch' can be used to suppress1445warnings in selected modules.14461447 ┌─ src/hackney_manager.erl:1448 │1449 618 │ catch unlink(Pid),1450 │ ╰── Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.1451Compile directive 'nowarn_deprecated_catch' can be used to suppress1452warnings in selected modules.145314541455==> ex_dbug1456Compiling 1 file (.ex)1457Generated ex_dbug app1458==> typed_struct_nimble_options1459Compiling 1 file (.ex)1460Generated typed_struct_nimble_options app1461==> jido1462Compiling 81 files (.ex)1463 warning: unused require Logger1464 │1465 75 │ require Logger1466 │ ~1467 │1468 └─ lib/jido/signal/dispatch/webhook.ex:75:314691470 warning: unused require Logger1471 │1472 5 │ require Logger1473 │ ~1474 │1475 └─ lib/jido/agent/server_output.ex:5:314761477 warning: unused require OK1478 │1479 8 │ require OK1480 │ ~1481 │1482 └─ lib/jido/agent/server_callback.ex:8:314831484 warning: unused require Logger1485 │1486 18 │ require Logger1487 │ ~1488 │1489 └─ lib/jido/skills/task_skill.ex:18:314901491 warning: unused require Logger1492 │1493 5 │ require Logger1494 │ ~1495 │1496 └─ lib/jido/agent/server_runtime.ex:5:314971498 warning: unused require Logger1499 │1500 2 │ require Logger1501 │ ~1502 │1503 └─ lib/jido/agent/directive.ex:2:315041505 warning: a struct for Jido.Actions.Tasks.Task is expected on struct update:15061507 %Jido.Actions.Tasks.Task{task | completed: !task.completed}15081509 but got type:15101511 dynamic(not nil)15121513 where "task" was given the type:15141515 # type: dynamic(not nil)1516 # from: lib/jido/actions/tasks.ex:154:91517 task15181519 when defining the variable "task", you must also pattern match on "%Jido.Actions.Tasks.Task{}"15201521 type warning found at:1522 │1523 155 │ updated_task = %Task{task | completed: !task.completed}1524 │ ~1525 │1526 └─ lib/jido/actions/tasks.ex:155:26: Jido.Actions.Tasks.ToggleTask.run/215271528 warning: a struct for Jido.Actions.Tasks.Task is expected on struct update:15291530 %Jido.Actions.Tasks.Task{task | title: params.title, deadline: params.deadline}15311532 but got type:15331534 dynamic(not nil)15351536 where "task" was given the type:15371538 # type: dynamic(not nil)1539 # from: lib/jido/actions/tasks.ex:107:91540 task15411542 when defining the variable "task", you must also pattern match on "%Jido.Actions.Tasks.Task{}"15431544 type warning found at:1545 │1546 108 │ updated_task = %Task{task | title: params.title, deadline: params.deadline}1547 │ ~1548 │1549 └─ lib/jido/actions/tasks.ex:108:26: Jido.Actions.Tasks.UpdateTask.run/215501551 warning: the following clause will never match:15521553 {:error, reason, other} ->15541555 it is expected to match on type:15561557 dynamic(({:error or :ok, term()} and not {:ok, term()}) or {:error, %Jido.Error{}})15581559 type warning found at:1560 │1561 144 │ {:error, reason, other} ->1562 │ ~1563 │1564 └─ lib/jido/exec.ex:144:7: Jido.Exec.run/415651566 warning: this clause of defp execute_signal/2 is never used (or it will always fail/warn when invoked)1567 │1568 120 │ defp execute_signal(%ServerState{} = state, _invalid_signal) do1569 │ ~1570 │1571 └─ lib/jido/agent/server_runtime.ex:120:10: Jido.Agent.Server.Runtime.execute_signal/215721573 warning: this clause of defp apply_signal_to_first_instruction/2 is never used (or it will always fail/warn when invoked)1574 │1575 297 │ defp apply_signal_to_first_instruction(%Signal{}, []) do1576 │ ~1577 │1578 └─ lib/jido/agent/server_runtime.ex:297:10: Jido.Agent.Server.Runtime.apply_signal_to_first_instruction/215791580 warning: the following clause cannot match because the previous clauses already matched all possible values:15811582 error ->15831584 it attempts to match on the result of:15851586 deliver_signal(state)15871588 which has the already matched type:15891590 dynamic(1591 {:ok,1592 {:error, binary()} or1593 {:ok,1594 %Jido.Signal{1595 jido_dispatch:1596 nil or empty_list() or non_empty_list(term(), term()) or1597 {atom(), empty_list() or non_empty_list(term(), term())},1598 dataschema: nil or bitstring(),1599 datacontenttype: nil or bitstring(),1600 time: nil or bitstring(),1601 subject: nil or bitstring(),1602 type: bitstring(),1603 source: bitstring(),1604 specversion: binary()1605 }}}1606 )16071608 where "error" was given the type:16091610 # type: dynamic(1611 {:ok,1612 {:error, binary()} or1613 {:ok,1614 %Jido.Signal{1615 jido_dispatch:1616 nil or empty_list() or non_empty_list(term(), term()) or1617 {atom(), empty_list() or non_empty_list(term(), term())},1618 dataschema: nil or bitstring(),1619 datacontenttype: nil or bitstring(),1620 time: nil or bitstring(),1621 subject: nil or bitstring(),1622 type: bitstring(),1623 source: bitstring(),1624 specversion: binary()1625 }}}1626 )1627 # from: lib/jido/sensors/heartbeat_sensor.ex:74:71628 error16291630 type warning found at:1631 │1632 74 │ error ->1633 │ ~1634 │1635 └─ lib/jido/sensors/heartbeat_sensor.ex:74:13: Jido.Sensors.Heartbeat.handle_info/216361637 warning: the following pattern will never match:16381639 {:ok, _new_pid} = result <- start(state, child_spec)16401641 because the right-hand side has type:16421643 dynamic(1644 ({:error or :ok, term()} and not {:ok, term()}) or {:error, term()} or1645 {:ok, %Jido.Agent.Server.State{}, empty_list()} or1646 {:ok, %Jido.Agent.Server.State{child_supervisor: not nil}, term()}1647 )16481649 where "child_spec" was given the type:16501651 # type: dynamic()1652 # from: lib/jido/agent/server_process.ex:195:501653 child_spec16541655 where "state" was given the types:16561657 # type: dynamic(%Jido.Agent.Server.State{})1658 # from: lib/jido/agent/server_process.ex:195:301659 %Jido.Agent.Server.State{} = state16601661 # type: dynamic(%Jido.Agent.Server.State{child_supervisor: pid()})1662 # from: lib/jido/agent/server_process.ex:198:171663 terminate(state, child_pid)16641665 type warning found at:1666 │1667 199 │ {:ok, _new_pid} = result <- start(state, child_spec) do1668 │ ~1669 │1670 └─ lib/jido/agent/server_process.ex:199:26: Jido.Agent.Server.Process.restart/316711672 warning: a struct for Jido.Signal.Router.TrieNode is expected on struct update:16731674 %Jido.Signal.Router.TrieNode{1675 node1676 | handlers: %Jido.Signal.Router.NodeHandlers{1677 handlers:1678 Enum.reduce(1679 handlers,1680 node.handlers.handlers || [],1681 fn handler, acc -> insert_handler_sorted(acc, handler) end1682 ),1683 matchers: node.handlers.matchers1684 }1685 }16861687 but got type:16881689 dynamic()16901691 where "node" was given the type:16921693 # type: dynamic()1694 # from: lib/jido/signal/router/engine.ex:346:141695 node16961697 when defining the variable "node", you must also pattern match on "%Jido.Signal.Router.TrieNode{}"16981699 type warning found at:1700 │1701 363 │ %TrieNode{1702 │ ~1703 │1704 └─ lib/jido/signal/router/engine.ex:363:13: Jido.Signal.Router.Engine.do_add_path_route/317051706 warning: the following clause cannot match because the previous clauses already matched all possible values:17071708 _ ->17091710 it attempts to match on the result of:17111712 list(router)17131714 which has the already matched type:17151716 dynamic({:ok, term()})17171718 type warning found at:1719 │1720 710 │ _ -> false1721 │ ~1722 │1723 └─ lib/jido/signal/router.ex:710:9: Jido.Signal.Router.has_route?/217241725 warning: a struct for Jido.Signal.Router.TrieNode is expected on struct update:17261727 %Jido.Signal.Router.TrieNode{1728 node1729 | handlers: %Jido.Signal.Router.NodeHandlers{1730 handlers: node.handlers.handlers,1731 matchers: insert_matcher_sorted(node.handlers.matchers || [], matcher)1732 }1733 }17341735 but got type:17361737 dynamic()17381739 where "node" was given the type:17401741 # type: dynamic()1742 # from: lib/jido/signal/router/engine.ex:407:141743 node17441745 when defining the variable "node", you must also pattern match on "%Jido.Signal.Router.TrieNode{}"17461747 type warning found at:1748 │1749 408 │ %TrieNode{1750 │ ~1751 │1752 └─ lib/jido/signal/router/engine.ex:408:13: Jido.Signal.Router.Engine.do_add_pattern_route/317531754 warning: this clause of defp resolve_adapter/1 is never used (or it will always fail/warn when invoked)1755 │1756 357 │ defp resolve_adapter(nil), do: {:error, :no_adapter_needed}1757 │ ~1758 │1759 └─ lib/jido/signal/dispatch.ex:357:8: Jido.Signal.Dispatch.resolve_adapter/117601761 warning: the following clause will never match:17621763 {:ok, nil} ->17641765 because it attempts to match on the result of:17661767 Map.fetch(1768 %{1769 bus: Jido.Signal.Dispatch.Bus,1770 console: Jido.Signal.Dispatch.ConsoleAdapter,1771 http: Jido.Signal.Dispatch.Http,1772 logger: Jido.Signal.Dispatch.LoggerAdapter,1773 named: Jido.Signal.Dispatch.Named,1774 nil: nil,1775 noop: Jido.Signal.Dispatch.NoopAdapter,1776 pid: Jido.Signal.Dispatch.PidAdapter,1777 pubsub: Jido.Signal.Dispatch.PubSub,1778 webhook: Jido.Signal.Dispatch.Webhook1779 },1780 adapter1781 )17821783 which has type:17841785 dynamic(1786 :error or1787 {:ok,1788 Jido.Signal.Dispatch.Bus or Jido.Signal.Dispatch.ConsoleAdapter or Jido.Signal.Dispatch.Http or1789 Jido.Signal.Dispatch.LoggerAdapter or Jido.Signal.Dispatch.Named or1790 Jido.Signal.Dispatch.NoopAdapter or Jido.Signal.Dispatch.PidAdapter or1791 Jido.Signal.Dispatch.PubSub or Jido.Signal.Dispatch.Webhook}1792 )17931794 type warning found at:1795 │1796 364 │ {:ok, nil} ->1797 │ ~~~~~~~~~~~~~1798 │1799 └─ lib/jido/signal/dispatch.ex:364: Jido.Signal.Dispatch.resolve_adapter/118001801Generated jido app1802==> jido_ai1803Compiling 40 files (.ex)1804 warning: unused require Logger1805 │1806 7 │ require Logger1807 │ ~1808 │1809 └─ lib/jido_ai/actions/openai_ex/tool_helper.ex:7:318101811 warning: unused require Logger1812 │1813 3 │ require Logger1814 │ ~1815 │1816 └─ lib/jido_ai/provider.ex:3:318171818 warning: unused require Logger1819 │1820 21 │ require Logger1821 │ ~1822 │1823 └─ lib/jido_ai/prompt/template.ex:21:318241825 warning: unused require Logger1826 │1827 13 │ require Logger1828 │ ~1829 │1830 └─ lib/jido_ai/providers/helpers.ex:13:318311832 warning: unused require Logger1833 │1834 5 │ require Logger1835 │ ~1836 │1837 └─ lib/jido_ai/skill.ex:5:318381839 warning: unused require Logger1840 │1841 94 │ require Logger1842 │ ~1843 │1844 └─ lib/mix/tasks/models.ex:94:318451846 warning: comparison between distinct types found:18471848 pricing == nil18491850 given types:18511852 dynamic(not false and not nil) == nil18531854 where "pricing" was given the type:18551856 # type: dynamic(not false and not nil)1857 # from: lib/jido_ai/providers/helpers.ex:296:121858 pricing18591860 While Elixir can compare across all types, you are comparing across types which are always disjoint, and the result is either always true or always false18611862 type warning found at:1863 │1864 296 │ if pricing && !is_nil(pricing) do1865 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1866 │1867 └─ lib/jido_ai/providers/helpers.ex:296: Jido.AI.Provider.Helpers.merge_model_information/118681869 warning: a struct for Jido.AI.Prompt.Splitter is expected on struct update:18701871 %Jido.AI.Prompt.Splitter{tok | done: true}18721873 but got type:18741875 dynamic(1876 %{..., input_tokens: list(term()), model: term(), offset: integer()} and1877 not %Jido.AI.Prompt.Splitter{offset: integer(), done: true}1878 )18791880 where "tok" was given the types:18811882 # type: dynamic(1883 %{..., input_tokens: term(), model: term(), offset: integer()} and1884 not %Jido.AI.Prompt.Splitter{offset: integer(), done: true}1885 )1886 # from: lib/jido_ai/prompt/splitter.ex:41:181887 {slice, tok} = get_slice(tok, remaining_tokens)18881889 # type: dynamic(1890 %{..., input_tokens: term(), model: term(), offset: integer()} and1891 not %Jido.AI.Prompt.Splitter{offset: integer(), done: true}1892 )1893 # from: lib/jido_ai/prompt/splitter.ex:44:211894 tok.offset >= length(tok.input_tokens)18951896 # type: dynamic(1897 %{..., input_tokens: list(term()), model: term(), offset: integer()} and1898 not %Jido.AI.Prompt.Splitter{offset: integer(), done: true}1899 )1900 # from: lib/jido_ai/prompt/splitter.ex:44:241901 length(tok.input_tokens)19021903 when defining the variable "tok", you must also pattern match on "%Jido.AI.Prompt.Splitter{}"19041905 type warning found at:1906 │1907 45 │ %Jido.AI.Prompt.Splitter{tok | done: true}1908 │ ~1909 │1910 └─ lib/jido_ai/prompt/splitter.ex:45:9: Jido.AI.Prompt.Splitter.next_chunk/219111912 warning: this clause of defp get_slice/2 is never used (or it will always fail/warn when invoked)1913 │1914 53 │ defp get_slice(%Jido.AI.Prompt.Splitter{done: true} = tok, _num_tokens) do1915 │ ~1916 │1917 └─ lib/jido_ai/prompt/splitter.ex:53:8: Jido.AI.Prompt.Splitter.get_slice/219181919 warning: a struct for Jido.AI.Prompt.Splitter is expected on struct update:19201921 %Jido.AI.Prompt.Splitter{tok | offset: tok.offset + tokens}19221923 but got type:19241925 dynamic(1926 %{..., input_tokens: term(), model: term(), offset: integer()} and1927 not %Jido.AI.Prompt.Splitter{done: true}1928 )19291930 where "tok" was given the types:19311932 # type: dynamic(not %Jido.AI.Prompt.Splitter{done: true})1933 # from: lib/jido_ai/prompt/splitter.ex:57:181934 tok19351936 # type: dynamic(%{..., input_tokens: term()} and not %Jido.AI.Prompt.Splitter{done: true})1937 # from: lib/jido_ai/prompt/splitter.ex:58:181938 Enum.slice(tok.input_tokens, tok.offset, num_tokens)19391940 # type: dynamic(1941 %{..., input_tokens: term(), offset: integer()} and not %Jido.AI.Prompt.Splitter{done: true}1942 )1943 # from: lib/jido_ai/prompt/splitter.ex:58:181944 Enum.slice(tok.input_tokens, tok.offset, num_tokens)19451946 # type: dynamic(1947 %{..., input_tokens: term(), model: term(), offset: integer()} and1948 not %Jido.AI.Prompt.Splitter{done: true}1949 )1950 # from: lib/jido_ai/prompt/splitter.ex:60:321951 Jido.AI.Tokenizer.decode(slice, tok.model)19521953 when defining the variable "tok", you must also pattern match on "%Jido.AI.Prompt.Splitter{}"19541955 type warning found at:1956 │1957 61 │ {output, %Jido.AI.Prompt.Splitter{tok | offset: tok.offset + tokens}}1958 │ ~1959 │1960 └─ lib/jido_ai/prompt/splitter.ex:61:14: Jido.AI.Prompt.Splitter.get_slice/219611962 warning: incompatible types given to make_request/2:19631964 make_request(model, response_id)19651966 given types:19671968 dynamic(%Jido.AI.Model{provider: :openai}), -binary()-19691970 but expected one of:19711972 %{..., api_key: term()}, empty_list() or non_empty_list(term(), term())19731974 where "model" was given the type:19751976 # type: dynamic(%Jido.AI.Model{provider: :openai})1977 # from: lib/jido_ai/actions/openai_ex/response_retrieve.ex:48:231978 {:ok, model} <- validate_and_get_model(params)19791980 where "response_id" was given the type:19811982 # type: binary()1983 # from: lib/jido_ai/actions/openai_ex/response_retrieve.ex:49:291984 {:ok, response_id} <- validate_response_id(params)19851986 type warning found at:1987 │1988 50 │ case make_request(model, response_id) do1989 │ ~1990 │1991 └─ lib/jido_ai/actions/openai_ex/response_retrieve.ex:50:12: Jido.AI.Actions.OpenaiEx.ResponseRetrieve.run/219921993Generated jido_ai app1994==> property_table1995Compiling 8 files (.ex)1996Generated property_table app1997==> nerves_uevent1998 CC uevent.o1999 LD uevent2000Compiling 5 files (.ex)2001Generated nerves_uevent app2002==> nerves_runtime2003Compiling 14 files (.ex)2004Generated nerves_runtime app2005==> toolshed2006Compiling 5 files (.ex)2007Generated toolshed app2008==> httpoison2009Compiling 3 files (.ex)2010Generated httpoison app2011==> tentacat2012Compiling 62 files (.ex)2013 warning: incompatible types given as default arguments to delete/3:20142015 binary(), -empty_list()-, empty_list()20162017 but expected one of:20182019 binary(), %Tentacat.Client{endpoint: binary()}, term()20202021 where "x0" (context :elixir_def) was given the types:20222023 # type: binary()2024 # from: /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex:5902025 super(x0, [], [])20262027 # type: dynamic()2028 # from: /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex2029 x020302031 type warning found at:2032 │2033 590 │ def delete(url, headers \\ [], options \\ []),2034 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2035 │2036 └─ /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex:590: Tentacat.delete/120372038 warning: incompatible types given as default arguments to get/3:20392040 binary(), -empty_list()-, empty_list()20412042 but expected one of:20432044 (2045 binary(),2046 %Tentacat.Client{endpoint: binary()},2047 empty_list() or map() or non_empty_list(term(), term())2048 )20492050 where "x0" (context :elixir_def) was given the types:20512052 # type: binary()2053 # from: /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex:4662054 super(x0, [], [])20552056 # type: dynamic()2057 # from: /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex2058 x020592060 type warning found at:2061 │2062 466 │ def get(url, headers \\ [], options \\ []), do: request(:get, url, "", headers, options)2063 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2064 │2065 └─ /work/proj/deps_rpi0_2/httpoison/lib/httpoison/base.ex:466: Tentacat.get/120662067Generated tentacat app2068==> jido_tools2069Compiling 3 files (.ex)2070 warning: the following pattern will never match:20712072 {:ok, api_key} <- System.fetch_env!("OPENWEATHER_API_KEY")20732074 because the right-hand side has type:20752076 binary()20772078 type warning found at:2079 │2080 69 │ with {:ok, api_key} <- System.fetch_env!("OPENWEATHER_API_KEY") do2081 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2082 │2083 └─ lib/jido_tools/weather.ex:69: Jido.Tools.Weather.build_opts/120842085Generated jido_tools app2086==> nerves_compatibility_test2087Compiling 2 files (.ex)2088Generated nerves_compatibility_test app2089* creating _build/rpi0_2/rel/nerves_compatibility_test/releases/0.1.0/vm.args2090Building firmware...2091** (Mix) Unexpected executable format for '/work/proj/_build/rpi0_2/rel/nerves_compatibility_test/lib/jaxon-2.0.8/priv/decoder.so'20922093Got:2094 %{endian: :little, flags: 0, machine: :x86_64, type: :elf, bits: 64}20952096Expecting:2097 %{endian: :little, flags: 0, machine: :aarch64, type: :elf, bits: 64}20982099This file was compiled for the host or a different target and probably will not work.21002101If you are very sure you know what you are doing, place an empty file in the same2102directory as the offending file(s) called '.noscrub'. This disables scrubbing for2103that directory.2104