instructor

Build log

nerves_system_qemu_aarch64

instructor 0.1.0 · fail · run instructor-0.1.0-1790959277398
487 of 487 lines
1Resolving Hex dependencies...2Resolution completed in 0.193s3Unchanged:4  circular_buffer 1.1.05  decimal 3.1.16  ecto 3.14.27  elixir_make 0.10.08  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  mime 2.0.715  mint 1.11.016  nerves 2.0.0-pre.217  nerves_discovery 0.1.518  nerves_logging 0.2.419  nerves_runtime 0.13.1320  nerves_system_bbb 2.30.221  nerves_system_br 1.34.422  nerves_system_mangopi_mq_pro 0.17.223  nerves_system_qemu_aarch64 0.4.224  nerves_system_rpi0 2.1.225  nerves_system_rpi4 2.1.226  nerves_system_rpi5 2.1.227  nerves_system_trellis 0.5.028  nerves_system_x86_64 1.34.229  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.130  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.131  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.132  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.133  nerves_toolchain_x86_64_nerves_linux_musl 15.3.134  nerves_uevent 0.1.735  nimble_options 1.1.136  nimble_pool 1.1.037  property_table 0.3.438  req 0.7.439  ring_logger 0.11.740  tablet 0.3.341  telemetry 1.4.242  toolshed 0.5.043  uboot_env 1.0.244* Getting instructor (Hex package)45* Getting nerves (Hex package)46* Getting ring_logger (Hex package)47* Getting toolshed (Hex package)48* Getting nerves_runtime (Hex package)49* Getting nerves_system_bbb (Hex package)50* Getting nerves_system_mangopi_mq_pro (Hex package)51* Getting nerves_system_qemu_aarch64 (Hex package)52* Getting nerves_system_rpi0 (Hex package)53* Getting nerves_system_rpi4 (Hex package)54* Getting nerves_system_rpi5 (Hex package)55* Getting nerves_system_trellis (Hex package)56* Getting nerves_system_x86_64 (Hex package)57* Getting nerves_system_br (Hex package)58* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)59* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)60* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)61* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)62* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)63* Getting nerves_logging (Hex package)64* Getting nerves_uevent (Hex package)65* Getting uboot_env (Hex package)66* Getting elixir_make (Hex package)67* Getting property_table (Hex package)68* Getting circular_buffer (Hex package)69* Getting interactive_cmd (Hex package)70* Getting nerves_discovery (Hex package)71* Getting tablet (Hex package)72* Getting ecto (Hex package)73* Getting jason (Hex package)74* Getting jaxon (Hex package)75* Getting req (Hex package)76* Getting finch (Hex package)77* Getting mime (Hex package)78* Getting mint (Hex package)79* Getting nimble_options (Hex package)80* Getting nimble_pool (Hex package)81* Getting telemetry (Hex package)82* Getting hpax (Hex package)83* Getting decimal (Hex package)84==> nerves_system_br85Generated nerves_system_br app86==> mime87Compiling 1 file (.ex)88Generated mime app89==> circular_buffer90Compiling 1 file (.ex)91Generated circular_buffer app92==> nimble_options93Compiling 3 files (.ex)94Generated nimble_options app95==> hpax96Compiling 4 files (.ex)97Generated hpax app98==> mint99Compiling 1 file (.erl)100Compiling 21 files (.ex)101Generated mint app102==> tablet103Compiling 2 files (.ex)104Generated tablet app105==> elixir_make106Compiling 8 files (.ex)107Generated elixir_make app108==> nerves_logging109 CC kmsg_tailer.o110 LD kmsg_tailer111Compiling 5 files (.ex)112Generated nerves_logging app113==> nerves_discovery114Compiling 5 files (.ex)115Generated nerves_discovery app116==> ring_logger117Compiling 7 files (.ex)118Generated ring_logger app119==> decimal120Compiling 4 files (.ex)121Generated decimal app122==> jason123Compiling 10 files (.ex)124Generated jason app125==> interactive_cmd126Compiling 1 file (.ex)127Generated interactive_cmd app128==> nerves129Compiling 65 files (.ex)130    warning: redefining module Nerves (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.beam)131    │132  6 │ defmodule Nerves do133    │ ~~~~~~~~~~~~~~~~~~~134    │135    └─ lib/nerves.ex:6: Nerves (module)136137    warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)138    │139  6 │ defmodule Mix.Tasks.Nerves.Init do140    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~141    │142    └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)143144    warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)145    │146  5 │ defmodule Nerves.ArtifactResolver do147    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~148    │149    └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)150151    warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)152    │153  6 │ defmodule Nerves.BuildAction.AppModes do154    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~155    │156    └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)157158    warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)159    │160  5 │ defmodule Nerves.BuildAction.CheckExecutables do161    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~162    │163    └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)164165    warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)166    │167  8 │ defmodule Nerves.BuildAction.Erlinit do168    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~169    │170    └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)171172    warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)173    │174  5 │ defmodule Nerves.BuildAction.Firmware do175    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~176    │177    └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)178179    warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)180    │181  7 │ defmodule Nerves.BuildAction.IExStartupCheck do182    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~183    │184    └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)185186    warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)187    │188  5 │ defmodule Nerves.BuildAction.NervesV1System do189    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~190    │191    └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)192193    warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)194    │195  5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do196    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~197    │198    └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)199200    warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)201    │202  5 │ defmodule Nerves.BuildAction.Rootfs do203    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~204    │205    └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)206207    warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)208    │209  6 │ defmodule Nerves.BuildAction.SortApps do210    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~211    │212    └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)213214    warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)215    │216  5 │ defmodule Nerves.BuildAction.StripAll do217    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~218    │219    └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)220221    warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)222    │223  5 │ defmodule Nerves.BuildAction.Trimmer do224    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~225    │226    └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)227228    warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)229    │230  5 │ defmodule Nerves.BuildPlan do231    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~232    │233    └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)234235    warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)236    │237  5 │ defmodule Nerves.BuildPlan.Checks do238    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~239    │240    └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)241242    warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Container.beam)243    │244  6 │ defmodule Nerves.Container do245    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~246    │247    └─ lib/nerves/container.ex:6: Nerves.Container (module)248249    warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)250    │251  5 │ defmodule Nerves.Fingerprint do252    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~253    │254    └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)255256    warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)257    │258  5 │ defmodule Nerves.MixPackage do259    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~260    │261    └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)262263    warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.Paths.beam)264    │265  5 │ defmodule Nerves.Paths do266    │ ~~~~~~~~~~~~~~~~~~~~~~~~~267    │268    └─ lib/nerves/paths.ex:5: Nerves.Paths (module)269270    warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/qemu_aarch64/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)271    │272  5 │ defmodule Nerves.TargetTuple do273    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~274    │275    └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)276277Generated nerves app278==> nerves_toolchain_aarch64_nerves_linux_gnu279Compiling 1 file (.ex)280Generated nerves_toolchain_aarch64_nerves_linux_gnu app281==> nerves_system_qemu_aarch64282Compiling 1 file (.ex)283Generated nerves_system_qemu_aarch64 app284==> nerves_compatibility_test285===> Analyzing applications...286===> Compiling telemetry287==> ecto288Compiling 56 files (.ex)289Generated ecto app290==> jaxon291mkdir -p priv292gcc -shared -fpic -D_POSIX_C_SOURCE=199309L -std=c99 -O3 -I/usr/local/lib/erlang/erts-17.1/include c_src/decoder*.c -o priv/decoder.so293Compiling 11 files (.ex)294    warning: Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead295    │296  2 │   @parser Application.get_env(:jaxon, :parser, Jaxon.Parsers.NifParser)297    │                       ~298    │299    └─ lib/jaxon/parser.ex:2:23: Jaxon.Parser (module)300301Generated jaxon app302==> uboot_env303Compiling 5 files (.ex)304Generated uboot_env app305==> nimble_pool306Compiling 2 files (.ex)307Generated nimble_pool app308==> finch309Compiling 23 files (.ex)310Generated finch app311==> req312Compiling 24 files (.ex)313Generated req app314==> instructor315Compiling 17 files (.ex)316     warning: this clause cannot match because a previous clause at line 196 matches the same pattern as this clause317     │318 197 │       %{"content" => chunk} -> chunk319     │                             ~320     │321     └─ lib/instructor/adapters/openai.ex:197:29322323     warning: the following clause is redundant:324325         %{"content" => chunk} ->326327     previous clauses have already matched on the following types:328329         nil330         map()331332     where "chunk" was given the type:333334         # type: dynamic()335         # from: lib/instructor/adapters/openai.ex:197:7336         %{"content" => chunk}337338     type warning found at:339     │340 197 │       %{"content" => chunk} -> chunk341     │                             ~342     │343     └─ lib/instructor/adapters/openai.ex:197:29: Instructor.Adapters.OpenAI.parse_stream_chunk_for_mode/2344345     warning: the following clause will never match:346347         {:error, reason} ->348349     it is expected to match on type:350351         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})352353     type warning found at:354     │355 307 │                 {:error, reason} -> acc ++ [{:error, reason}]356     │                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~357     │358     └─ lib/instructor.ex:307: Instructor.do_streaming_partial_array_chat_completion/3359360     warning: the following clause is redundant:361362         e ->363364     previous clauses have already matched on the following types:365366         {:validation, not %Ecto.Changeset{valid?: true}}367368     where "e" was given the type:369370         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})371         # from: lib/instructor.ex:308:17372         e373374     type warning found at:375     │376 308 │                 e -> acc ++ [{:error, e}]377     │                   ~378     │379     └─ lib/instructor.ex:308:19: Instructor.do_streaming_partial_array_chat_completion/3380381     warning: the following clause will never match:382383         {:error, reason} ->384385     it is expected to match on type:386387         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})388389     type warning found at:390     │391 378 │           {:error, reason} -> {:error, reason}392     │           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~393     │394     └─ lib/instructor.ex:378: Instructor.do_streaming_partial_chat_completion/3395396     warning: the following clause is redundant:397398         e ->399400     previous clauses have already matched on the following types:401402         {:validation, not %Ecto.Changeset{valid?: true}}403404     where "e" was given the type:405406         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})407         # from: lib/instructor.ex:379:11408         e409410     type warning found at:411     │412 379 │           e -> {:error, e}413     │             ~414     │415     └─ lib/instructor.ex:379:13: Instructor.do_streaming_partial_chat_completion/3416417     warning: the following clause will never match:418419         {:error, reason} ->420421     it is expected to match on type:422423         dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})424425     type warning found at:426     │427 414 │         {:error, reason} -> {:error, reason}428     │         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~429     │430     └─ lib/instructor.ex:414: Instructor.do_streaming_array_chat_completion/3431432     warning: the following clause is redundant:433434         e ->435436     previous clauses have already matched on the following types:437438         {:validation, not %Ecto.Changeset{valid?: true}}439440     where "e" was given the type:441442         # type: dynamic({:validation, term()} and not {:validation, %Ecto.Changeset{valid?: true}})443         # from: lib/instructor.ex:415:9444         e445446     type warning found at:447     │448 415 │         e -> {:error, e}449     │           ~450     │451     └─ lib/instructor.ex:415:11: Instructor.do_streaming_array_chat_completion/3452453Generated instructor app454==> property_table455Compiling 8 files (.ex)456Generated property_table app457==> nerves_uevent458 CC uevent.o459 LD uevent460Compiling 5 files (.ex)461Generated nerves_uevent app462==> nerves_runtime463Compiling 14 files (.ex)464Generated nerves_runtime app465==> toolshed466Compiling 5 files (.ex)467Generated toolshed app468==> nerves_compatibility_test469Compiling 2 files (.ex)470Generated nerves_compatibility_test app471* skipping runtime configuration (config/runtime.exs not found)472* creating _build/qemu_aarch64/rel/nerves_compatibility_test/releases/0.1.0/vm.args473Building firmware...474** (Mix) Unexpected executable format for '/work/proj/_build/qemu_aarch64/rel/nerves_compatibility_test/lib/jaxon-2.0.8/priv/decoder.so'475476Got:477 %{endian: :little, flags: 0, machine: :x86_64, type: :elf, bits: 64}478479Expecting:480 %{endian: :little, flags: 0, machine: :aarch64, type: :elf, bits: 64}481482This file was compiled for the host or a different target and probably will not work.483484If you are very sure you know what you are doing, place an empty file in the same485directory as the offending file(s) called '.noscrub'. This disables scrubbing for486that directory.487