tensorflex

Build log

nerves_system_rpi0_2

tensorflex 0.1.2 · fail · run tensorflex-0.1.2-1792982098845
642 of 642 lines
1Resolving Hex dependencies...2Resolution completed in 0.027s3* Getting tensorflex (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_rpi0_2 (Hex package)10* Getting nerves_system_br (Hex package)11* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)12* Getting nerves_logging (Hex package)13* Getting nerves_uevent (Hex package)14* Getting uboot_env (Hex package)15* Getting elixir_make (Hex package)16* Getting property_table (Hex package)17* Getting circular_buffer (Hex package)18* Getting interactive_cmd (Hex package)19* Getting nerves_discovery (Hex package)20* Getting tablet (Hex package)21==> tablet22Compiling 2 files (.ex)23Generated tablet app24==> interactive_cmd25Compiling 1 file (.ex)26Generated interactive_cmd app27==> nerves28Compiling 65 files (.ex)29Generated nerves app30==> nerves_system_br31Generated nerves_system_br app32==> circular_buffer33Compiling 1 file (.ex)34Generated circular_buffer app35==> logger_backends36Compiling 7 files (.ex)37Generated logger_backends app38==> elixir_make39Compiling 8 files (.ex)40Generated elixir_make app41==> tensorflex42make: 'priv/Tensorflex.so' is up to date.43Compiling 5 files (.ex)44     warning: the following pattern will never match:4546         {:ok, ref} = Tensorflex.NIFs.read_graph(filepath)4748     because the right-hand side has type:4950         none()5152     where "filepath" was given the type:5354         # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))55         # from: lib/tensorflex.ex:102:1756         File.exists?(filepath)5758     type warning found at:59     │60 110 │     {:ok, ref} = NIFs.read_graph(filepath)61     │                ~62     │63     └─ lib/tensorflex.ex:110:16: Tensorflex.read_graph/16465     warning: the following pattern will never match:6667         ref = Tensorflex.NIFs.create_matrix(nrows, ncols, datalist)6869     because the right-hand side has type:7071         none()7273     where "datalist" was given the type:7475         # type: dynamic(empty_list() or non_empty_list(term(), term()))76         # from: lib/tensorflex.ex:309:877         empty_list?(datalist)7879     where "ncols" was given the type:8081         # type: dynamic()82         # from: lib/tensorflex.ex:308:2883         ncols8485     where "nrows" was given the type:8687         # type: dynamic()88         # from: lib/tensorflex.ex:308:2189         nrows9091     type warning found at:92     │93 313 │     ref = NIFs.create_matrix(nrows, ncols, datalist)94     │         ~95     │96     └─ lib/tensorflex.ex:313:9: Tensorflex.create_matrix/39798     warning: the following pattern will never match:99100         new_ref = Tensorflex.NIFs.append_to_matrix(ref, datalist)101102     because the right-hand side has type:103104         none()105106     where "datalist" was given the type:107108         # type: dynamic()109         # from: lib/tensorflex.ex:428:72110         datalist111112     where "ref" was given the type:113114         # type: dynamic()115         # from: lib/tensorflex.ex:428:24116         %Tensorflex.Matrix{nrows: nrows, ncols: ncols, data: ref}117118     type warning found at:119     │120 432 │     new_ref = NIFs.append_to_matrix(ref, datalist)121     │             ~122     │123     └─ lib/tensorflex.ex:432:13: Tensorflex.append_to_matrix/2124125     warning: the following pattern will never match:126127         {:ok, ref} = Tensorflex.NIFs.float64_tensor(val_ref, dim_ref)128129     because the right-hand side has type:130131         none()132133     where "dim_ref" was given the type:134135         # type: dynamic()136         # from: lib/tensorflex.ex:498:82137         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}138139     where "val_ref" was given the type:140141         # type: dynamic()142         # from: lib/tensorflex.ex:498:22143         %Tensorflex.Matrix{nrows: _val_rows, ncols: _val_cols, data: val_ref}144145     type warning found at:146     │147 499 │     {:ok, ref} = NIFs.float64_tensor(val_ref, dim_ref)148     │                ~149     │150     └─ lib/tensorflex.ex:499:16: Tensorflex.float64_tensor/2151152     warning: the following pattern will never match:153154         {:ok, ref} = Tensorflex.NIFs.float64_tensor(floatval)155156     because the right-hand side has type:157158         none()159160     where "floatval" was given the types:161162         # type: float()163         # from: lib/tensorflex.ex:535:22164         floatval165166         # type: float()167         # from: lib/tensorflex.ex:535:37168         is_float(floatval)169170     type warning found at:171     │172 536 │     {:ok, ref} = NIFs.float64_tensor(floatval)173     │                ~174     │175     └─ lib/tensorflex.ex:536:16: Tensorflex.float64_tensor/1176177     warning: the following pattern will never match:178179         {:ok, ref} = Tensorflex.NIFs.float32_tensor(val_ref, dim_ref)180181     because the right-hand side has type:182183         none()184185     where "dim_ref" was given the type:186187         # type: dynamic()188         # from: lib/tensorflex.ex:578:82189         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}190191     where "val_ref" was given the type:192193         # type: dynamic()194         # from: lib/tensorflex.ex:578:22195         %Tensorflex.Matrix{nrows: _val_rows, ncols: _val_cols, data: val_ref}196197     type warning found at:198     │199 579 │     {:ok, ref} = NIFs.float32_tensor(val_ref, dim_ref)200     │                ~201     │202     └─ lib/tensorflex.ex:579:16: Tensorflex.float32_tensor/2203204     warning: the following pattern will never match:205206         {:ok, ref} = Tensorflex.NIFs.float32_tensor(floatval)207208     because the right-hand side has type:209210         none()211212     where "floatval" was given the types:213214         # type: float()215         # from: lib/tensorflex.ex:615:22216         floatval217218         # type: float()219         # from: lib/tensorflex.ex:615:37220         is_float(floatval)221222     type warning found at:223     │224 616 │     {:ok, ref} = NIFs.float32_tensor(floatval)225     │                ~226     │227     └─ lib/tensorflex.ex:616:16: Tensorflex.float32_tensor/1228229     warning: the following pattern will never match:230231         {:ok, ref} = Tensorflex.NIFs.int32_tensor(val_ref, dim_ref)232233     because the right-hand side has type:234235         none()236237     where "dim_ref" was given the type:238239         # type: dynamic()240         # from: lib/tensorflex.ex:662:80241         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}242243     where "val_ref" was given the type:244245         # type: dynamic()246         # from: lib/tensorflex.ex:662:20247         %Tensorflex.Matrix{nrows: _val_rows, ncols: _val_cols, data: val_ref}248249     type warning found at:250     │251 663 │     {:ok, ref} = NIFs.int32_tensor(val_ref, dim_ref)252     │                ~253     │254     └─ lib/tensorflex.ex:663:16: Tensorflex.int32_tensor/2255256     warning: the following pattern will never match:257258         {:ok, ref} = Tensorflex.NIFs.int32_tensor(intval)259260     because the right-hand side has type:261262         none()263264     where "intval" was given the types:265266         # type: integer()267         # from: lib/tensorflex.ex:699:20268         intval269270         # type: integer()271         # from: lib/tensorflex.ex:699:33272         is_integer(intval)273274     type warning found at:275     │276 700 │     {:ok, ref} = NIFs.int32_tensor(intval)277     │                ~278     │279     └─ lib/tensorflex.ex:700:16: Tensorflex.int32_tensor/1280281     warning: the following pattern will never match:282283         {:ok, ref} = Tensorflex.NIFs.string_tensor(stringval)284285     because the right-hand side has type:286287         none()288289     where "stringval" was given the types:290291         # type: binary()292         # from: lib/tensorflex.ex:736:21293         stringval294295         # type: binary()296         # from: lib/tensorflex.ex:736:37297         is_binary(stringval)298299     type warning found at:300     │301 737 │     {:ok, ref} = NIFs.string_tensor(stringval)302     │                ~303     │304     └─ lib/tensorflex.ex:737:16: Tensorflex.string_tensor/1305306     warning: the following pattern will never match:307308         {:ok, ref} = Tensorflex.NIFs.int32_tensor_alloc(dim_ref)309310     because the right-hand side has type:311312         none()313314     where "dim_ref" was given the type:315316         # type: dynamic()317         # from: lib/tensorflex.ex:772:26318         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}319320     type warning found at:321     │322 773 │     {:ok, ref} = NIFs.int32_tensor_alloc(dim_ref)323     │                ~324     │325     └─ lib/tensorflex.ex:773:16: Tensorflex.int32_tensor_alloc/1326327     warning: the following pattern will never match:328329         {:ok, ref} = Tensorflex.NIFs.float32_tensor_alloc(dim_ref)330331     because the right-hand side has type:332333         none()334335     where "dim_ref" was given the type:336337         # type: dynamic()338         # from: lib/tensorflex.ex:808:28339         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}340341     type warning found at:342     │343 809 │     {:ok, ref} = NIFs.float32_tensor_alloc(dim_ref)344     │                ~345     │346     └─ lib/tensorflex.ex:809:16: Tensorflex.float32_tensor_alloc/1347348     warning: the following pattern will never match:349350         {:ok, ref} = Tensorflex.NIFs.float64_tensor_alloc(dim_ref)351352     because the right-hand side has type:353354         none()355356     where "dim_ref" was given the type:357358         # type: dynamic()359         # from: lib/tensorflex.ex:844:28360         %Tensorflex.Matrix{nrows: _dim_rows, ncols: _dim_cols, data: dim_ref}361362     type warning found at:363     │364 845 │     {:ok, ref} = NIFs.float64_tensor_alloc(dim_ref)365     │                ~366     │367     └─ lib/tensorflex.ex:845:16: Tensorflex.float64_tensor_alloc/1368369      warning: the following pattern will never match:370371          {:ok, ref} = Tensorflex.NIFs.load_image_as_tensor(imagepath)372373      because the right-hand side has type:374375          none()376377      where "imagepath" was given the type:378379          # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))380          # from: lib/tensorflex.ex:998:17381          File.exists?(imagepath)382383      type warning found at:384      │385 1006 │     {:ok, ref} = NIFs.load_image_as_tensor(imagepath)386      │                ~387      │388      └─ lib/tensorflex.ex:1006:16: Tensorflex.load_image_as_tensor/1389390      warning: the following pattern will never match:391392          ref = Tensorflex.NIFs.load_csv_as_matrix(filepath, header, delimiter)393394      because the right-hand side has type:395396          none()397398      where "delimiter" was given the type:399400          # type: dynamic()401          # from: lib/tensorflex.ex:1139:45402          %{header: header, delimiter: delimiter} = opts403404      where "filepath" was given the type:405406          # type: dynamic(binary() or empty_list() or non_empty_list(term(), term()))407          # from: lib/tensorflex.ex:1129:17408          File.exists?(filepath)409410      where "header" was given the type:411412          # type: dynamic()413          # from: lib/tensorflex.ex:1139:45414          %{header: header, delimiter: delimiter} = opts415416      type warning found at:417      │418 1145 │     ref = NIFs.load_csv_as_matrix(filepath, header, delimiter)419      │         ~420      │421      └─ lib/tensorflex.ex:1145:9: Tensorflex.load_csv_as_matrix/2422423      warning: the following pattern will never match:424425          new_ref = Tensorflex.NIFs.add_scalar_to_matrix(ref, scalar / 1)426427      because the right-hand side has type:428429          none()430431      where "ref" was given the type:432433          # type: dynamic()434          # from: lib/tensorflex.ex:1220:28435          %Tensorflex.Matrix{nrows: nrows, ncols: ncols, data: ref}436437      where "scalar" was given the type:438439          # type: dynamic(float() or integer())440          # from: lib/tensorflex.ex:1221:52441          scalar / 1442443      type warning found at:444      │445 1221 │     new_ref = NIFs.add_scalar_to_matrix(ref, scalar/1)446      │             ~447      │448      └─ lib/tensorflex.ex:1221:13: Tensorflex.add_scalar_to_matrix/2449450      warning: the following pattern will never match:451452          new_ref = Tensorflex.NIFs.subtract_scalar_from_matrix(ref, scalar / 1)453454      because the right-hand side has type:455456          none()457458      where "ref" was given the type:459460          # type: dynamic()461          # from: lib/tensorflex.ex:1254:35462          %Tensorflex.Matrix{nrows: nrows, ncols: ncols, data: ref}463464      where "scalar" was given the type:465466          # type: dynamic(float() or integer())467          # from: lib/tensorflex.ex:1255:59468          scalar / 1469470      type warning found at:471      │472 1255 │     new_ref = NIFs.subtract_scalar_from_matrix(ref, scalar/1)473      │             ~474      │475      └─ lib/tensorflex.ex:1255:13: Tensorflex.subtract_scalar_from_matrix/2476477      warning: the following pattern will never match:478479          new_ref = Tensorflex.NIFs.multiply_matrix_with_scalar(ref, scalar / 1)480481      because the right-hand side has type:482483          none()484485      where "ref" was given the type:486487          # type: dynamic()488          # from: lib/tensorflex.ex:1288:35489          %Tensorflex.Matrix{nrows: nrows, ncols: ncols, data: ref}490491      where "scalar" was given the type:492493          # type: dynamic(float() or integer())494          # from: lib/tensorflex.ex:1289:59495          scalar / 1496497      type warning found at:498      │499 1289 │     new_ref = NIFs.multiply_matrix_with_scalar(ref, scalar/1)500      │             ~501      │502      └─ lib/tensorflex.ex:1289:13: Tensorflex.multiply_matrix_with_scalar/2503504      warning: the following pattern will never match:505506          new_ref = Tensorflex.NIFs.divide_matrix_by_scalar(ref, scalar / 1)507508      because the right-hand side has type:509510          none()511512      where "ref" was given the type:513514          # type: dynamic()515          # from: lib/tensorflex.ex:1323:31516          %Tensorflex.Matrix{nrows: nrows, ncols: ncols, data: ref}517518      where "scalar" was given the type:519520          # type: dynamic(float() or integer())521          # from: lib/tensorflex.ex:1324:55522          scalar / 1523524      type warning found at:525      │526 1324 │     new_ref = NIFs.divide_matrix_by_scalar(ref, scalar/1)527      │             ~528      │529      └─ lib/tensorflex.ex:1324:13: Tensorflex.divide_matrix_by_scalar/2530531      warning: the following pattern will never match:532533          new_ref = Tensorflex.NIFs.add_matrices(ref1, ref2)534535      because the right-hand side has type:536537          none()538539      where "ref1" was given the type:540541          # type: dynamic()542          # from: lib/tensorflex.ex:1364:20543          %Tensorflex.Matrix{nrows: nrows1, ncols: _ncols1, data: ref1}544545      where "ref2" was given the type:546547          # type: dynamic()548          # from: lib/tensorflex.ex:1364:72549          %Tensorflex.Matrix{nrows: _nrows2, ncols: ncols2, data: ref2}550551      type warning found at:552      │553 1365 │     new_ref = NIFs.add_matrices(ref1, ref2)554      │             ~555      │556      └─ lib/tensorflex.ex:1365:13: Tensorflex.add_matrices/2557558      warning: the following pattern will never match:559560          new_ref = Tensorflex.NIFs.subtract_matrices(ref1, ref2)561562      because the right-hand side has type:563564          none()565566      where "ref1" was given the type:567568          # type: dynamic()569          # from: lib/tensorflex.ex:1406:25570          %Tensorflex.Matrix{nrows: nrows1, ncols: _ncols1, data: ref1}571572      where "ref2" was given the type:573574          # type: dynamic()575          # from: lib/tensorflex.ex:1406:77576          %Tensorflex.Matrix{nrows: _nrows2, ncols: ncols2, data: ref2}577578      type warning found at:579      │580 1407 │     new_ref = NIFs.subtract_matrices(ref1, ref2)581      │             ~582      │583      └─ lib/tensorflex.ex:1407:13: Tensorflex.subtract_matrices/2584585      warning: the following pattern will never match:586587          matrix_ref = Tensorflex.NIFs.tensor_to_matrix(ref)588589      because the right-hand side has type:590591          none()592593      where "ref" was given the type:594595          # type: dynamic()596          # from: lib/tensorflex.ex:1523:24597          %Tensorflex.Tensor{datatype: _datatype, tensor: ref}598599      type warning found at:600      │601 1524 │     matrix_ref = NIFs.tensor_to_matrix(ref)602      │                ~603      │604      └─ lib/tensorflex.ex:1524:16: Tensorflex.tensor_to_matrix/1605606Generated tensorflex app607==> ring_logger608Compiling 7 files (.ex)609Generated ring_logger app610==> nerves_toolchain_aarch64_nerves_linux_gnu611Compiling 1 file (.ex)612Generated nerves_toolchain_aarch64_nerves_linux_gnu app613==> nerves_system_rpi0_2614Generated nerves_system_rpi0_2 app615==> uboot_env616Compiling 5 files (.ex)617Generated uboot_env app618==> property_table619Compiling 8 files (.ex)620Generated property_table app621==> toolshed622Compiling 5 files (.ex)623Generated toolshed app624==> nerves_compatibility_test625Compiling 2 files (.ex)626Generated nerves_compatibility_test app627* creating _build/rpi0_2/rel/nerves_compatibility_test/releases/0.1.0/vm.args628Building firmware...629** (Mix) Unexpected executable format for '/work/proj/_build/rpi0_2/rel/nerves_compatibility_test/lib/tensorflex-0.1.2/priv/Tensorflex.so'630631Got:632 %{endian: :little, flags: 0, machine: :x86_64, type: :elf, bits: 64}633634Expecting:635 %{endian: :little, flags: 0, machine: :aarch64, type: :elf, bits: 64}636637This file was compiled for the host or a different target and probably will not work.638639If you are very sure you know what you are doing, place an empty file in the same640directory as the offending file(s) called '.noscrub'. This disables scrubbing for641that directory.642