Build log
host
ex_maxsim_cpu 0.3.0 · fail · run ex_maxsim_cpu-0.3.0-1793124078993
138 of 138 lines
1Resolving Hex dependencies...2Resolution completed in 0.014s3All dependencies have been fetched4==> tablet5Compiling 2 files (.ex)6Generated tablet app7==> nerves_discovery8Compiling 5 files (.ex)9Generated nerves_discovery app10==> interactive_cmd11Compiling 1 file (.ex)12Generated interactive_cmd app13==> nerves14Compiling 65 files (.ex)15Generated nerves app16==> circular_buffer17Compiling 1 file (.ex)18Generated circular_buffer app19==> jason20Compiling 10 files (.ex)21Generated jason app22==> logger_backends23Compiling 7 files (.ex)24Generated logger_backends app25==> complex26Compiling 2 files (.ex)27 warning: the following clause is redundant:2829 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)3031 it has type:3233 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)3435 previous clauses have already matched on the following types:3637 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity38 :nan, float() or integer()39 float() or integer(), :nan40 float() or integer(), :infinity41 float() or integer(), :neg_infinity42 float() or integer(), float() or integer()4344 │45 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do46 │ ~47 │48 └─ lib/complex.ex:590:7: Complex.divide/24950 warning: the following clause is redundant:5152 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 05354 it has type:5556 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity5758 previous clauses have already matched on the following types:5960 :infinity or :nan or :neg_infinity, %Complex{}61 %Complex{}, :infinity or :nan or :neg_infinity62 %Complex{re: :infinity or :nan or :neg_infinity}, term()63 %Complex{im: :infinity or :nan or :neg_infinity}, term()64 term(), %Complex{re: :infinity or :nan or :neg_infinity}65 term(), %Complex{im: :infinity or :nan or :neg_infinity}66 :nan, term()67 term(), :nan6869 │70 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)71 │ ~72 │73 └─ lib/complex.ex:1143:7: Complex.pow/27475 warning: the following clause is redundant:7677 def atan2(:nan, :nan)7879 it has type:8081 :nan, :nan8283 previous clauses have already matched on the following types:8485 float() or integer(), float() or integer()86 :infinity, :infinity87 :infinity, :neg_infinity88 :infinity, :nan89 :infinity, float() or integer()90 :neg_infinity, :infinity91 :neg_infinity, :neg_infinity92 :neg_infinity, :nan93 :neg_infinity, float() or integer()94 :nan, :infinity or :nan or :neg_infinity or float() or integer()95 :infinity or :nan or :neg_infinity or float() or integer(), :nan9697 │98 1458 │ def atan2(:nan, :nan), do: :nan99 │ ~100 │101 └─ lib/complex.ex:1458:7: Complex.atan2/2102103Generated complex app104==> rustler105Compiling 7 files (.ex)106Generated rustler app107==> elixir_make108Compiling 8 files (.ex)109Generated elixir_make app110==> nerves_logging111 CC kmsg_tailer.o112 LD kmsg_tailer113Not crosscompiling. To test locally, the port binary needs extra permissions.114Set SUDO=sudo to set permissions. The default is to skip this step.115SUDO_ASKPASS=/usr/bin/ssh-askpass116SUDO=true117Compiling 5 files (.ex)118Generated nerves_logging app119==> ring_logger120Compiling 7 files (.ex)121Generated ring_logger app122==> nerves_compatibility_test123===> Analyzing applications...124===> Compiling telemetry125==> nx126Compiling 43 files (.ex)127Generated nx app128==> ex_maxsim_cpu129Compiling 2 files (.ex)130131== Compilation error in file lib/ex_maxsim_cpu/nif.ex ==132** (ErlangError) Erlang error: :enoent133 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/maxsim_cpu"])134 (rustler 0.37.3) lib/rustler/compiler/config.ex:74: Rustler.Compiler.Config.metadata!/1135 (rustler 0.37.3) lib/rustler/compiler/config.ex:61: Rustler.Compiler.Config.build/1136 (rustler 0.37.3) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3137 lib/ex_maxsim_cpu/nif.ex:5: (module)138could not compile dependency :ex_maxsim_cpu, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ex_maxsim_cpu --force", update it with "mix deps.update ex_maxsim_cpu" or clean it with "mix deps.clean ex_maxsim_cpu"