finance_rustler

Build log

nerves_system_trellis

finance_rustler 0.2.0 · fail · run finance_rustler-0.2.0-1790925967709
186 of 186 lines
1Resolving Hex dependencies...2Resolution completed in 0.126s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  finance 1.7.07  finance_rustler 0.2.08  interactive_cmd 0.1.49  jason 1.4.510  nerves 1.15.011  nerves_discovery 0.1.512  nerves_logging 0.2.413  nerves_runtime 0.13.1314  nerves_system_br 1.34.415  nerves_system_mangopi_mq_pro 0.17.216  nerves_system_rpi4 2.1.217  nerves_system_trellis 0.5.018  nerves_system_x86_64 1.34.219  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.120  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.121  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.122  nerves_toolchain_x86_64_nerves_linux_musl 15.3.123  nerves_uevent 0.1.724  nimble_options 1.1.125  property_table 0.3.426  ring_logger 0.11.727  rustler_precompiled 0.10.028  shoehorn 0.9.329  tablet 0.3.330  toolshed 0.5.031  uboot_env 1.0.232* Getting finance_rustler (Hex package)33* Getting nerves (Hex package)34* Getting shoehorn (Hex package)35* Getting ring_logger (Hex package)36* Getting toolshed (Hex package)37* Getting nerves_runtime (Hex package)38* Getting nerves_system_mangopi_mq_pro (Hex package)39* Getting nerves_system_rpi4 (Hex package)40* Getting nerves_system_trellis (Hex package)41* Getting nerves_system_x86_64 (Hex package)42* Getting nerves_system_br (Hex package)43* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)44* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)45* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)46* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)47* Getting nerves_logging (Hex package)48* Getting nerves_uevent (Hex package)49* Getting uboot_env (Hex package)50* Getting elixir_make (Hex package)51* Getting property_table (Hex package)52* Getting circular_buffer (Hex package)53* Getting interactive_cmd (Hex package)54* Getting jason (Hex package)55* Getting nerves_discovery (Hex package)56* Getting tablet (Hex package)57* Getting finance (Hex package)58* Getting rustler_precompiled (Hex package)59* Getting nimble_options (Hex package)60==> jason61Compiling 10 files (.ex)62Generated jason app63==> tablet64Compiling 2 files (.ex)65Generated tablet app66==> elixir_make67Compiling 8 files (.ex)68Generated elixir_make app69==> nerves_discovery70Compiling 5 files (.ex)71Generated nerves_discovery app72==> interactive_cmd73Compiling 1 file (.ex)74Generated interactive_cmd app75==> nerves76HOST_CC port.o77HOST_LD port78Compiling 55 files (.ex)79Generated nerves app80==> nerves_compatibility_test8182Nerves environment83  MIX_TARGET:   trellis84  MIX_ENV:      prod8586Checking for prebuilt Nerves artifacts...87  Found nerves_system_trellis in cache88    /home/nerves/.nerves/artifacts/nerves_system_trellis-portable-0.5.089  Found nerves_toolchain_armv7_nerves_linux_gnueabihf in cache90    /home/nerves/.nerves/artifacts/nerves_toolchain_armv7_nerves_linux_gnueabihf-linux_x86_64-15.3.191==> jason92Compiling 10 files (.ex)93Generated jason app94==> tablet95Compiling 2 files (.ex)96Generated tablet app97==> elixir_make98Compiling 8 files (.ex)99Generated elixir_make app100==> nerves_discovery101Compiling 5 files (.ex)102Generated nerves_discovery app103==> interactive_cmd104Compiling 1 file (.ex)105Generated interactive_cmd app106==> nerves107HOST_CC port.o108HOST_LD port109Compiling 55 files (.ex)110Generated nerves app111==> nerves_system_br112Generated nerves_system_br app113==> nerves_toolchain_armv7_nerves_linux_gnueabihf114Compiling 1 file (.ex)115Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app116==> nerves_system_trellis117Generated nerves_system_trellis app118==> nerves_compatibility_test119120Nerves environment121  MIX_TARGET:   trellis122  MIX_ENV:      prod123124==> circular_buffer125Compiling 1 file (.ex)126Generated circular_buffer app127==> nimble_options128Compiling 3 files (.ex)129Generated nimble_options app130==> nerves_logging131 CC kmsg_tailer.o132 LD kmsg_tailer133Compiling 5 files (.ex)134Generated nerves_logging app135==> finance136Compiling 12 files (.ex)137    warning: Decimal.to_float/1 is undefined (module Decimal 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)138    │139 92 │   def to_amount(amount) when is_struct(amount, Decimal), do: Decimal.to_float(amount)140    │                                                                      ~141    │142    └─ lib/finance/shared.ex:92:70: Finance.Shared.to_amount/1143    └─ lib/finance/shared.ex:93:68: Finance.Shared.to_amount/1144145     warning: Decimal.div/2 is undefined (module Decimal 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)146     │147 318 │   defp units_to_decimal(units, scale), do: Decimal.div(Decimal.new(units), scale)148     │                                                    ~149     │150     └─ lib/finance/tvm.ex:318:52: Finance.TVM.units_to_decimal/2151152     warning: Decimal.new/1 is undefined (module Decimal 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)153     │154 318 │   defp units_to_decimal(units, scale), do: Decimal.div(Decimal.new(units), scale)155     │                                                                ~156     │157     └─ lib/finance/tvm.ex:318:64: Finance.TVM.units_to_decimal/2158159     warning: Decimal.to_float/1 is undefined (module Decimal 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)160     │161 321 │   defp to_float(value) when is_struct(value, Decimal), do: Decimal.to_float(value)162     │                                                                    ~163     │164     └─ lib/finance/tvm.ex:321:68: Finance.TVM.to_float/1165166Generated finance app167==> ring_logger168Compiling 7 files (.ex)169Generated ring_logger app170==> shoehorn171Compiling 8 files (.ex)172Generated shoehorn app173==> rustler_precompiled174Compiling 4 files (.ex)175Generated rustler_precompiled app176==> finance_rustler177Compiling 1 file (.ex)178179== Compilation error in file lib/finance_rustler/solver.ex ==180** (RuntimeError) precompiled NIF is not available for this target: "arm-unknown-linux-gnueabihf".181The available targets are:182 - x86_64-unknown-linux-gnu183 - aarch64-unknown-linux-gnu184 - aarch64-apple-darwin185    lib/finance_rustler/solver.ex:30: (module)186could not compile dependency :finance_rustler, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile finance_rustler --force", update it with "mix deps.update finance_rustler" or clean it with "mix deps.clean finance_rustler"