Build log
host
chromex 0.1.5 · fail · run chromex-0.1.5-1790959727342
369 of 369 lines
1Resolving Hex dependencies...2Resolution completed in 0.462s3Unchanged:4 castore 1.0.215 chromex 0.1.56 circular_buffer 1.1.07 complex 0.7.08 elixir_make 0.10.09 interactive_cmd 0.1.410 jason 1.4.511 nerves 2.0.0-pre.212 nerves_discovery 0.1.513 nerves_logging 0.2.414 nerves_runtime 0.13.1315 nerves_system_bbb 2.30.216 nerves_system_br 1.34.417 nerves_system_mangopi_mq_pro 0.17.218 nerves_system_qemu_aarch64 0.4.219 nerves_system_rpi0 2.1.220 nerves_system_rpi4 2.1.221 nerves_system_rpi5 2.1.222 nerves_system_trellis 0.5.023 nerves_system_x86_64 1.34.224 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.125 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.126 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.128 nerves_toolchain_x86_64_nerves_linux_musl 15.3.129 nerves_uevent 0.1.730 nimble_pool 1.1.031 nx 0.10.032 ortex 0.1.1033 property_table 0.3.434 ring_logger 0.11.735 rustler 0.37.336 rustler_precompiled 0.10.037 tablet 0.3.338 telemetry 1.4.239 tokenizers 0.5.140 toolshed 0.5.041 uboot_env 1.0.242All dependencies have been fetched43==> complex44Compiling 2 files (.ex)45 warning: the following clause is redundant:4647 def divide(n, b) when is_number(n) and (b === :infinity or b === :neg_infinity)4849 it has type:5051 dynamic(float() or integer()), dynamic(:infinity or :neg_infinity)5253 previous clauses have already matched on the following types:5455 :infinity or :nan or :neg_infinity, :infinity or :nan or :neg_infinity56 :nan, float() or integer()57 float() or integer(), :nan58 float() or integer(), :infinity59 float() or integer(), :neg_infinity60 float() or integer(), float() or integer()6162 │63 590 │ def divide(n, b) when is_number(n) and b in [:infinity, :neg_infinity] do64 │ ~65 │66 └─ lib/complex.ex:590:7: Complex.divide/26768 warning: the following clause is redundant:6970 def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 07172 it has type:7374 dynamic(%Complex{re: float() or integer(), im: float() or integer()}), :neg_infinity7576 previous clauses have already matched on the following types:7778 :infinity or :nan or :neg_infinity, %Complex{}79 %Complex{}, :infinity or :nan or :neg_infinity80 %Complex{re: :infinity or :nan or :neg_infinity}, term()81 %Complex{im: :infinity or :nan or :neg_infinity}, term()82 term(), %Complex{re: :infinity or :nan or :neg_infinity}83 term(), %Complex{im: :infinity or :nan or :neg_infinity}84 :nan, term()85 term(), :nan8687 │88 1143 │ def pow(%Complex{re: re, im: im}, :neg_infinity) when re == 0 and im == 0, do: new(:infinity, 0)89 │ ~90 │91 └─ lib/complex.ex:1143:7: Complex.pow/29293 warning: the following clause is redundant:9495 def atan2(:nan, :nan)9697 it has type:9899 :nan, :nan100101 previous clauses have already matched on the following types:102103 float() or integer(), float() or integer()104 :infinity, :infinity105 :infinity, :neg_infinity106 :infinity, :nan107 :infinity, float() or integer()108 :neg_infinity, :infinity109 :neg_infinity, :neg_infinity110 :neg_infinity, :nan111 :neg_infinity, float() or integer()112 :nan, :infinity or :nan or :neg_infinity or float() or integer()113 :infinity or :nan or :neg_infinity or float() or integer(), :nan114115 │116 1458 │ def atan2(:nan, :nan), do: :nan117 │ ~118 │119 └─ lib/complex.ex:1458:7: Complex.atan2/2120121Generated complex app122==> nx123Compiling 38 files (.ex)124 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity125 │126 655 │ def ~~~tensor when is_number(tensor), do: Bitwise.~~~(tensor)127 │ ~128 │129 └─ lib/nx/defn/kernel.ex:655:7130131 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity132 │133 656 │ def ~~~tensor, do: Nx.bitwise_not(tensor)134 │ ~135 │136 └─ lib/nx/defn/kernel.ex:656:7137138 warning: unused require Nx139 │140 11 │ require Nx141 │ ~142 │143 └─ lib/nx/lin_alg/block_eigh.ex:11:3144145 warning: the following conditional expression will always succeed:146147 is_float(split)148149 because it evaluates to:150151 dynamic(true)152153 where "split" was given the types:154155 # type: dynamic(float() or integer())156 # from: lib/nx.ex:3505:43157 split * axis_size158159 # type: float()160 # from: lib/nx.ex:3515:9161 is_integer(split)162163 type warning found at:164 │165 3519 │ is_float(split) and float_split_index > 0 and float_split_index < axis_size ->166 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~167 │168 └─ lib/nx.ex:3519: Nx.split/3169170 warning: this clause in cond will always match:171172 is_float(split)173174 since it has type:175176 dynamic(true)177178 where "split" was given the types:179180 # type: dynamic(float() or integer())181 # from: lib/nx.ex:3505:43182 split * axis_size183184 # type: float()185 # from: lib/nx.ex:3515:9186 is_integer(split)187188 type warning found at:189 │190 3522 │ is_float(split) ->191 │ ~192 │193 └─ lib/nx.ex:3522:25: Nx.split/3194195 warning: incompatible types given to Kernel.trunc/1:196197 trunc(x)198199 given types:200201 -dynamic(%Complex{202 re: :infinity or :nan or :neg_infinity or float(),203 im: :infinity or :nan or :neg_infinity or float()204 })-205206 but expected one of:207208 float() or integer()209210 where "x" was given the type:211212 # type: dynamic(%Complex{213 re: :infinity or :nan or :neg_infinity or float(),214 im: :infinity or :nan or :neg_infinity or float()215 })216 # from: lib/nx/binary_backend.ex:2057:17217 x =218 Nx.Shared.read_complex(219 x,220 arg1221 )222223 type warning found at:224 │225 2070 │ number_to_binary(trunc(x), output_type)226 │ ~227 │228 └─ lib/nx/binary_backend.ex:2070:36: Nx.BinaryBackend.as_type/2229230 warning: comparison with structs found:231232 a >= b233234 given types:235236 dynamic(237 %Complex{238 re: :infinity or :nan or :neg_infinity or float(),239 im: :infinity or :nan or :neg_infinity or float()240 } or float() or integer()241 ) >=242 dynamic(243 %Complex{244 re: :infinity or :nan or :neg_infinity or float(),245 im: :infinity or :nan or :neg_infinity or float()246 } or float() or integer()247 )248249 where "a" was given the type:250251 # type: dynamic(252 %Complex{253 re: :infinity or :nan or :neg_infinity or float(),254 im: :infinity or :nan or :neg_infinity or float()255 } or float() or integer()256 )257 # from: lib/nx/binary_backend.ex258 {a, b}259260 where "b" was given the type:261262 # type: dynamic(263 %Complex{264 re: :infinity or :nan or :neg_infinity or float(),265 im: :infinity or :nan or :neg_infinity or float()266 } or float() or integer()267 )268 # from: lib/nx/binary_backend.ex269 {a, b}270271 Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Structs that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison.272273 type warning found at:274 │275 2115 │ {a, b} -> a >= b276 │ ~277 │278 └─ lib/nx/binary_backend.ex:2115:27: Nx.BinaryBackend.do_sort/4279280 warning: comparison with structs found:281282 a <= b283284 given types:285286 dynamic(287 %Complex{288 re: :infinity or :nan or :neg_infinity or float(),289 im: :infinity or :nan or :neg_infinity or float()290 } or float() or integer()291 ) <=292 dynamic(293 %Complex{294 re: :infinity or :nan or :neg_infinity or float(),295 im: :infinity or :nan or :neg_infinity or float()296 } or float() or integer()297 )298299 where "a" was given the type:300301 # type: dynamic(302 %Complex{303 re: :infinity or :nan or :neg_infinity or float(),304 im: :infinity or :nan or :neg_infinity or float()305 } or float() or integer()306 )307 # from: lib/nx/binary_backend.ex308 {a, b}309310 where "b" was given the type:311312 # type: dynamic(313 %Complex{314 re: :infinity or :nan or :neg_infinity or float(),315 im: :infinity or :nan or :neg_infinity or float()316 } or float() or integer()317 )318 # from: lib/nx/binary_backend.ex319 {a, b}320321 Comparison operators (>, <, >=, <=, min, and max) perform structural and not semantic comparison. Comparing with a struct won't give meaningful results. Structs that can be compared typically define a compare/2 function within their modules that can be used for semantic comparison.322323 type warning found at:324 │325 2129 │ {a, b} -> a <= b326 │ ~327 │328 └─ lib/nx/binary_backend.ex:2129:27: Nx.BinaryBackend.do_sort/4329330 warning: the following conditional expression:331332 is_list(axes)333334 will always evaluate to:335336 dynamic(true)337338 where "axes" was given the type:339340 # type: dynamic(list(term()))341 # from: lib/nx.ex:9277:49342 length(axes)343344 type warning found at:345 │346 9282 │ checked_axes = if is_list(axes), do: Enum.at(axes, 0), else: axes347 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~348 │349 └─ lib/nx.ex:9282: Nx.weighted_mean/3350351 warning: this clause of defp boolean_to_number/1 is never used (or it will always fail/warn when invoked)352 │353 852 │ defp boolean_to_number(value), do: value354 │ ~355 │356 └─ lib/nx/defn/kernel.ex:852:8: Nx.Defn.Kernel.boolean_to_number/1357358Generated nx app359==> ortex360Compiling 6 files (.ex)361362== Compilation error in file lib/ortex/native.ex ==363** (ErlangError) Erlang error: :enoent364 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/ortex"])365 (rustler 0.37.3) lib/rustler/compiler/config.ex:74: Rustler.Compiler.Config.metadata!/1366 (rustler 0.37.3) lib/rustler/compiler/config.ex:61: Rustler.Compiler.Config.build/1367 (rustler 0.37.3) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3368 lib/ortex/native.ex:11: (module)369could not compile dependency :ortex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile ortex --force", update it with "mix deps.update ortex" or clean it with "mix deps.clean ortex"