instructor

Build log

nerves_system_rpi0_2

instructor 0.1.0 · fail · run instructor-0.1.0-1795156584927
321 of 321 lines
1Resolving Hex dependencies...2Resolution completed in 0.079s3Unchanged:4  circular_buffer 1.1.05  decimal 3.2.06  ecto 3.14.27  elixir_make 0.10.18  finch 0.24.09  hpax 1.1.010  instructor 0.1.011  interactive_cmd 0.1.412  jason 1.4.513  jaxon 2.0.814  logger_backends 1.0.115  mime 2.0.716  mint 1.11.017  nerves 2.0.0-pre.318  nerves_discovery 0.1.619  nerves_logging 0.2.420  nerves_runtime 0.13.1321  nerves_system_br 1.35.322  nerves_system_rpi0_2 2.2.123  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124  nerves_uevent 0.1.825  nimble_options 1.1.126  nimble_pool 1.1.027  property_table 0.3.428  req 0.7.529  ring_logger 0.11.730  tablet 0.3.331  telemetry 1.4.232  toolshed 0.5.033  uboot_env 1.0.334* Getting instructor (Hex package)35* Getting nerves (Hex package)36* Getting logger_backends (Hex package)37* Getting ring_logger (Hex package)38* Getting toolshed (Hex package)39* Getting nerves_runtime (Hex package)40* Getting nerves_system_rpi0_2 (Hex package)41* Getting nerves_system_br (Hex package)42* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)43* Getting nerves_logging (Hex package)44* Getting nerves_uevent (Hex package)45* Getting uboot_env (Hex package)46* Getting elixir_make (Hex package)47* Getting property_table (Hex package)48* Getting circular_buffer (Hex package)49* Getting interactive_cmd (Hex package)50* Getting nerves_discovery (Hex package)51* Getting tablet (Hex package)52* Getting ecto (Hex package)53* Getting jason (Hex package)54* Getting jaxon (Hex package)55* Getting req (Hex package)56* Getting finch (Hex package)57* Getting mime (Hex package)58* Getting mint (Hex package)59* Getting nimble_options (Hex package)60* Getting nimble_pool (Hex package)61* Getting telemetry (Hex package)62* Getting hpax (Hex package)63* Getting decimal (Hex package)64==> tablet65Compiling 2 files (.ex)66Generated tablet app67==> nerves_discovery68Compiling 5 files (.ex)69Generated nerves_discovery app70==> interactive_cmd71Compiling 1 file (.ex)72Generated interactive_cmd app73==> nerves74Compiling 65 files (.ex)75Generated nerves app76==> nerves_system_br77Generated nerves_system_br app78==> mime79Compiling 1 file (.ex)80Generated mime app81==> circular_buffer82Compiling 1 file (.ex)83Generated circular_buffer app84==> nimble_options85Compiling 3 files (.ex)86Generated nimble_options app87==> logger_backends88Compiling 7 files (.ex)89Generated logger_backends app90==> hpax91Compiling 4 files (.ex)92Generated hpax app93==> mint94Compiling 1 file (.erl)95Compiling 21 files (.ex)96Generated mint app97==> elixir_make98Compiling 8 files (.ex)99Generated elixir_make app100==> nerves_logging101 CC kmsg_tailer.o102 LD kmsg_tailer103Compiling 5 files (.ex)104Generated nerves_logging app105==> ring_logger106Compiling 7 files (.ex)107Generated ring_logger app108==> decimal109Compiling 4 files (.ex)110Generated decimal app111==> jason112Compiling 10 files (.ex)113Generated jason app114==> nerves_toolchain_aarch64_nerves_linux_gnu115Compiling 1 file (.ex)116Generated nerves_toolchain_aarch64_nerves_linux_gnu app117==> nerves_system_rpi0_2118Generated nerves_system_rpi0_2 app119==> nerves_compatibility_test120===> Analyzing applications...121===> Compiling telemetry122==> ecto123Compiling 56 files (.ex)124Generated ecto app125==> jaxon126mkdir -p priv127gcc -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.so128Compiling 11 files (.ex)129    warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead130    │131  2 │   @parser Application.get_env(:jaxon, :parser, Jaxon.Parsers.NifParser)132    │                       ~133    │134    └─ lib/jaxon/parser.ex:2:23: Jaxon.Parser (module)135136Generated jaxon app137==> uboot_env138Compiling 5 files (.ex)139Generated uboot_env app140==> nimble_pool141Compiling 2 files (.ex)142Generated nimble_pool app143==> finch144Compiling 23 files (.ex)145Generated finch app146==> req147Compiling 24 files (.ex)148Generated req app149==> instructor150Compiling 17 files (.ex)151     warning: this clause cannot match because a previous clause at line 196 matches the same pattern as this clause152     │153 197 │       %{"content" => chunk} -> chunk154     │                             ~155     │156     └─ lib/instructor/adapters/openai.ex:197:29157158     warning: the following clause is redundant:159160         %{"content" => chunk} ->161162     previous clauses have already matched on the following types:163164         nil165         map()166167     where "chunk" was given the type:168169         # type: dynamic()170         # from: lib/instructor/adapters/openai.ex:197:7171         %{"content" => chunk}172173     type warning found at:174     │175 197 │       %{"content" => chunk} -> chunk176     │                             ~177     │178     └─ lib/instructor/adapters/openai.ex:197:29: Instructor.Adapters.OpenAI.parse_stream_chunk_for_mode/2179180     warning: the following clause will never match:181182         {:error, reason} ->183184     it is expected to match on type:185186         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})187188     type warning found at:189     │190 307 │                 {:error, reason} -> acc ++ [{:error, reason}]191     │                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~192     │193     └─ lib/instructor.ex:307: Instructor.do_streaming_partial_array_chat_completion/3194195     warning: the following clause is redundant:196197         e ->198199     previous clauses have already matched on the following types:200201         {:validation, not %Ecto.Changeset{valid?: true}}202203     where "e" was given the type:204205         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})206         # from: lib/instructor.ex:308:17207         e208209     type warning found at:210     │211 308 │                 e -> acc ++ [{:error, e}]212     │                   ~213     │214     └─ lib/instructor.ex:308:19: Instructor.do_streaming_partial_array_chat_completion/3215216     warning: the following clause will never match:217218         {:error, reason} ->219220     it is expected to match on type:221222         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})223224     type warning found at:225     │226 378 │           {:error, reason} -> {:error, reason}227     │           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~228     │229     └─ lib/instructor.ex:378: Instructor.do_streaming_partial_chat_completion/3230231     warning: the following clause is redundant:232233         e ->234235     previous clauses have already matched on the following types:236237         {:validation, not %Ecto.Changeset{valid?: true}}238239     where "e" was given the type:240241         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})242         # from: lib/instructor.ex:379:11243         e244245     type warning found at:246     │247 379 │           e -> {:error, e}248     │             ~249     │250     └─ lib/instructor.ex:379:13: Instructor.do_streaming_partial_chat_completion/3251252     warning: the following clause will never match:253254         {:error, reason} ->255256     it is expected to match on type:257258         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})259260     type warning found at:261     │262 414 │         {:error, reason} -> {:error, reason}263     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~264     │265     └─ lib/instructor.ex:414: Instructor.do_streaming_array_chat_completion/3266267     warning: the following clause is redundant:268269         e ->270271     previous clauses have already matched on the following types:272273         {:validation, not %Ecto.Changeset{valid?: true}}274275     where "e" was given the type:276277         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})278         # from: lib/instructor.ex:415:9279         e280281     type warning found at:282     │283 415 │         e -> {:error, e}284     │           ~285     │286     └─ lib/instructor.ex:415:11: Instructor.do_streaming_array_chat_completion/3287288Generated instructor app289==> property_table290Compiling 8 files (.ex)291Generated property_table app292==> nerves_uevent293 CC uevent.o294 LD uevent295Compiling 5 files (.ex)296Generated nerves_uevent app297==> nerves_runtime298Compiling 14 files (.ex)299Generated nerves_runtime app300==> toolshed301Compiling 5 files (.ex)302Generated toolshed app303==> nerves_compatibility_test304Compiling 2 files (.ex)305Generated nerves_compatibility_test app306* creating _build/rpi0_2/rel/nerves_compatibility_test/releases/0.1.0/vm.args307Building firmware...308** (Mix) Unexpected executable format for '/work/proj/_build/rpi0_2/rel/nerves_compatibility_test/lib/jaxon-2.0.8/priv/decoder.so'309310Got:311 %{endian: :little, flags: 0, machine: :x86_64, type: :elf, bits: 64}312313Expecting:314 %{endian: :little, flags: 0, machine: :aarch64, type: :elf, bits: 64}315316This file was compiled for the host or a different target and probably will not work.317318If you are very sure you know what you are doing, place an empty file in the same319directory as the offending file(s) called '.noscrub'. This disables scrubbing for320that directory.321