finance_rustler

Build log

nerves_system_x86_64

finance_rustler 0.2.0 · fail · run finance_rustler-0.2.0-1790925967709
140 of 140 lines
1Resolving Hex dependencies...2Resolution completed in 0.12s3Unchanged: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:   x86_6484  MIX_ENV:      prod8586Checking for prebuilt Nerves artifacts...87  Found nerves_system_x86_64 in cache88    /home/nerves/.nerves/artifacts/nerves_system_x86_64-portable-1.34.289  Found nerves_toolchain_x86_64_nerves_linux_musl in cache90    /home/nerves/.nerves/artifacts/nerves_toolchain_x86_64_nerves_linux_musl-linux_x86_64-15.3.191==> nerves92==> nerves_compatibility_test9394Nerves environment95  MIX_TARGET:   x86_6496  MIX_ENV:      prod9798==> finance99Compiling 12 files (.ex)100    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)101    │102 92 │   def to_amount(amount) when is_struct(amount, Decimal), do: Decimal.to_float(amount)103    │                                                                      ~104    │105    └─ lib/finance/shared.ex:92:70: Finance.Shared.to_amount/1106    └─ lib/finance/shared.ex:93:68: Finance.Shared.to_amount/1107108     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)109     │110 318 │   defp units_to_decimal(units, scale), do: Decimal.div(Decimal.new(units), scale)111     │                                                    ~112     │113     └─ lib/finance/tvm.ex:318:52: Finance.TVM.units_to_decimal/2114115     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)116     │117 318 │   defp units_to_decimal(units, scale), do: Decimal.div(Decimal.new(units), scale)118     │                                                                ~119     │120     └─ lib/finance/tvm.ex:318:64: Finance.TVM.units_to_decimal/2121122     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)123     │124 321 │   defp to_float(value) when is_struct(value, Decimal), do: Decimal.to_float(value)125     │                                                                    ~126     │127     └─ lib/finance/tvm.ex:321:68: Finance.TVM.to_float/1128129Generated finance app130==> finance_rustler131Compiling 1 file (.ex)132133== Compilation error in file lib/finance_rustler/solver.ex ==134** (RuntimeError) precompiled NIF is not available for this target: "x86_64-unknown-linux-musl".135The available targets are:136 - x86_64-unknown-linux-gnu137 - aarch64-unknown-linux-gnu138 - aarch64-apple-darwin139    lib/finance_rustler/solver.ex:30: (module)140could 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"