extism

Build log

nerves_system_x86_64

extism 1.0.0 · fail · run extism-1.0.0-1791182235165
276 of 276 lines
1Resolving Hex dependencies...2Resolution completed in 0.122s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  extism 1.0.07  interactive_cmd 0.1.48  jason 1.4.59  json 1.4.110  nerves 2.0.0-pre.211  nerves_discovery 0.1.512  nerves_logging 0.2.413  nerves_runtime 0.13.1314  nerves_system_bbb 2.30.215  nerves_system_br 1.34.416  nerves_system_mangopi_mq_pro 0.17.217  nerves_system_qemu_aarch64 0.4.218  nerves_system_rpi0 2.1.219  nerves_system_rpi4 2.1.220  nerves_system_rpi5 2.1.221  nerves_system_trellis 0.5.022  nerves_system_x86_64 1.34.223  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.125  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.126  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.127  nerves_toolchain_x86_64_nerves_linux_musl 15.3.128  nerves_uevent 0.1.729  property_table 0.3.430  ring_logger 0.11.731  rustler 0.38.032  tablet 0.3.333  toolshed 0.5.034  uboot_env 1.0.235* Getting extism (Hex package)36* Getting nerves (Hex package)37* Getting ring_logger (Hex package)38* Getting toolshed (Hex package)39* Getting nerves_runtime (Hex package)40* Getting nerves_system_bbb (Hex package)41* Getting nerves_system_mangopi_mq_pro (Hex package)42* Getting nerves_system_qemu_aarch64 (Hex package)43* Getting nerves_system_rpi0 (Hex package)44* Getting nerves_system_rpi4 (Hex package)45* Getting nerves_system_rpi5 (Hex package)46* Getting nerves_system_trellis (Hex package)47* Getting nerves_system_x86_64 (Hex package)48* Getting nerves_system_br (Hex package)49* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)50* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)51* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)52* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)53* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)54* Getting nerves_logging (Hex package)55* Getting nerves_uevent (Hex package)56* Getting uboot_env (Hex package)57* Getting elixir_make (Hex package)58* Getting property_table (Hex package)59* Getting circular_buffer (Hex package)60* Getting interactive_cmd (Hex package)61* Getting nerves_discovery (Hex package)62* Getting tablet (Hex package)63* Getting json (Hex package)64* Getting rustler (Hex package)65* Getting jason (Hex package)66==> json67Compiling 13 files (.ex)68    warning: redefining module JSON (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.beam)69    │70  1 │ defmodule JSON do71    │ ~~~~~~~~~~~~~~~~~72    │73    └─ lib/json.ex:1: JSON (module)7475    warning: redefining module JSON.Encoder (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.beam)76    │77  1 │ defprotocol JSON.Encoder do78    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~79    │80    └─ lib/json/encoder.ex:1: JSON.Encoder (module)8182    warning: redefining module JSON.Encoder.List (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.List.beam)83    │84 25 │ defimpl JSON.Encoder, for: List do85    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~86    │87    └─ lib/json/encoder/default_implementations.ex:25: JSON.Encoder.List (module)8889    warning: redefining module JSON.Encoder.Integer (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Integer.beam)90    │91 53 │ defimpl JSON.Encoder, for: [Integer, Float] do92    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~93    │94    └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Integer (module)9596    warning: redefining module JSON.Encoder.Float (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Float.beam)97    │98 53 │ defimpl JSON.Encoder, for: [Integer, Float] do99    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~100    │101    └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Float (module)102103    warning: redefining module JSON.Encoder.Atom (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Atom.beam)104    │105 66 │ defimpl JSON.Encoder, for: Atom do106    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~107    │108    └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)109110    warning: redefining module JSON.Encoder.BitString (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.BitString.beam)111    │112 83 │ defimpl JSON.Encoder, for: BitString do113    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~114    │115    └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)116117    warning: unused require Logger118    │119 14 │   require Logger120    │   ~121    │122    └─ lib/json/logger.ex:14:3123124     warning: redefining module JSON.Encoder.Map (current version loaded from /home/nerves/.elixir/lib/elixir/ebin/Elixir.JSON.Encoder.Map.beam)125     │126 147 │ defimpl JSON.Encoder, for: Map do127     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~128     │129     └─ lib/json/encoder/default_implementations.ex:147: JSON.Encoder.Map (module)130131    warning: using single-quoted strings to represent charlists is deprecated.132    Use ~c"" if you indeed want a charlist or use "" instead.133    You may run "mix format --migrate" to change all single-quoted134    strings to use the ~c sigil and fix this warning.135    │136 89 │   defp apply_exponent({:ok, acc, <<exponent::utf8, rest::binary>>}) when exponent in 'eE' do137    │                                                                                      ~138    │139    └─ lib/json/parser/number.ex:89:86140141    warning: use Bitwise is deprecated. import Bitwise instead142    │143  8 │   use Bitwise144    │   ~~~~~~~~~~~145    │146    └─ lib/json/parser/string.ex:8: JSON.Parser.String (module)147148    warning: use Bitwise is deprecated. import Bitwise instead149    │150  6 │   use Bitwise151    │   ~~~~~~~~~~~152    │153    └─ lib/json/parser/unicode.ex:6: JSON.Parser.Unicode (module)154155     warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Any)156     │157 159 │ defimpl JSON.Encoder, for: Any do158     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~159     │160     └─ lib/json/encoder/default_implementations.ex:159: JSON.Encoder.Any (module)161162     warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:163164         * encode/2165166     │167 176 │     |> JSON.Encoder.encode()168     │                     ~169     │170     └─ lib/json/encoder/default_implementations.ex:176:21: JSON.Encoder.Any.encode/1171172    warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:173174        * encode/2175176    │177 25 │   defdelegate encode(term), to: Encoder178    │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~179    │180    └─ (elixir 1.20.3) lib/json.ex:25: JSON.encode/1181182     warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Map)183     │184 147 │ defimpl JSON.Encoder, for: Map do185     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~186     │187     └─ lib/json/encoder/default_implementations.ex:147: JSON.Encoder.Map (module)188189    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.BitString)190    │191 83 │ defimpl JSON.Encoder, for: BitString do192    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~193    │194    └─ lib/json/encoder/default_implementations.ex:83: JSON.Encoder.BitString (module)195196     warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Record)197     │198 135 │ defimpl JSON.Encoder, for: Record do199     │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~200     │201     └─ lib/json/encoder/default_implementations.ex:135: JSON.Encoder.Record (module)202203    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Atom)204    │205 66 │ defimpl JSON.Encoder, for: Atom do206    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~207    │208    └─ lib/json/encoder/default_implementations.ex:66: JSON.Encoder.Atom (module)209210    warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:211212        * encode/2213214    │215 28 │     case Encoder.encode(item) do216    │                  ~217    │218    └─ lib/json/encoder/helpers.ex:28:18: JSON.Encoder.Helpers.encode_item/1219220    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Float)221    │222 53 │ defimpl JSON.Encoder, for: [Integer, Float] do223    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~224    │225    └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Float (module)226227    warning: JSON.Encoder.encode/1 is undefined or private. Did you mean:228229        * encode/2230231    │232 73 │   def encode(atom) when is_atom(atom), do: atom |> Atom.to_string() |> JSON.Encoder.encode()233    │                                                                                     ~234    │235    └─ (elixir 1.20.3) lib/json/encoder/default_implementations.ex:73:85: JSON.Encoder.Atom.encode/1236237    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Integer)238    │239 53 │ defimpl JSON.Encoder, for: [Integer, Float] do240    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~241    │242    └─ lib/json/encoder/default_implementations.ex:53: JSON.Encoder.Integer (module)243244    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.HashDict)245    │246 13 │ defimpl JSON.Encoder, for: HashDict do247    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~248    │249    └─ lib/json/encoder/default_implementations.ex:13: JSON.Encoder.HashDict (module)250251    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.List)252    │253 25 │ defimpl JSON.Encoder, for: List do254    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~255    │256    └─ lib/json/encoder/default_implementations.ex:25: JSON.Encoder.List (module)257258    warning: function encode/2 required by protocol JSON.Encoder is not implemented (in module JSON.Encoder.Tuple)259    │260  1 │ defimpl JSON.Encoder, for: Tuple do261    │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~262    │263    └─ lib/json/encoder/default_implementations.ex:1: JSON.Encoder.Tuple (module)264265Generated json app266==> extism267Compiling 4 files (.ex)268269== Compilation error in file lib/extism/native.ex ==270** (ErlangError) Erlang error: :enoent271    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/extism_nif"])272    (rustler 0.38.0) lib/rustler/compiler/config.ex:74: Rustler.Compiler.Config.metadata!/1273    (rustler 0.38.0) lib/rustler/compiler/config.ex:61: Rustler.Compiler.Config.build/1274    (rustler 0.38.0) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3275    lib/extism/native.ex:6: (module)276could not compile dependency :extism, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile extism --force", update it with "mix deps.update extism" or clean it with "mix deps.clean extism"