thumb_hash

Build log

host

thumb_hash 0.2.1 · fail · run thumb_hash-0.2.1-1791139685796
277 of 277 lines
1Resolving Hex dependencies...2Resolution completed in 0.12s3Unchanged:4  cc_precompiler 0.1.115  circular_buffer 1.1.06  elixir_make 0.10.07  image 0.55.28  interactive_cmd 0.1.49  jason 1.4.510  nerves 2.0.0-pre.211  nerves_discovery 0.1.512  nerves_logging 0.2.413  nerves_runtime 0.13.1314  nerves_system_bbb 2.30.215  nerves_system_br 1.34.416  nerves_system_mangopi_mq_pro 0.17.217  nerves_system_qemu_aarch64 0.4.218  nerves_system_rpi0 2.1.219  nerves_system_rpi4 2.1.220  nerves_system_rpi5 2.1.221  nerves_system_trellis 0.5.022  nerves_system_x86_64 1.34.223  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.124  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.125  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.126  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.127  nerves_toolchain_x86_64_nerves_linux_musl 15.3.128  nerves_uevent 0.1.729  phoenix_html 4.3.030  property_table 0.3.431  ring_logger 0.11.732  rustler 0.38.033  sweet_xml 0.7.534  tablet 0.3.335  thumb_hash 0.2.136  toolshed 0.5.037  uboot_env 1.0.238  vix 0.42.039All dependencies have been fetched40==> image41Compiling 70 files (.ex)42    warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator43    │44 99 │       <<_::binary-size(offset), tag_count::binary-size(2), tags::binary>> ->45    │                        ~46    │47    └─ lib/image/exif.ex:99:24: Image.Exif.read_ifd/14849     warning: the variable "exif_offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator50     │51 143 │     <<_::binary-size(exif_offset), count::binary-size(2), tags::binary>> = exif52     │                      ~53     │54     └─ lib/image/exif.ex:143:22: Image.Exif.read_exif/25556     warning: the variable "gps_offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator57     │58 151 │       <<_::binary-size(gps_offset), count::binary-size(2), tags::binary>> ->59     │                        ~60     │61     └─ lib/image/exif.ex:151:24: Image.Exif.read_gps/26263    warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator64    │65 24 │         <<_::binary-size(offset), string::binary-size(length), _::binary>> = exif66    │                          ~67    │68    └─ lib/image/exif/tag.ex:24:26: Image.Exif.Tag.value/46970    warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator71    │72 24 │         <<_::binary-size(offset), string::binary-size(length), _::binary>> = exif73    │                                                       ~74    │75    └─ lib/image/exif/tag.ex:24:55: Image.Exif.Tag.value/47677    warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator78    │79 31 │         <<string::binary-size(length), _::binary>> = value80    │                               ~81    │82    └─ lib/image/exif/tag.ex:31:31: Image.Exif.Tag.value/48384    warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator85    │86 76 │         <<data::binary-size(length), _::binary>> = value87    │                             ~88    │89    └─ lib/image/exif/tag.ex:76:29: Image.Exif.Tag.decode_numeric/49091    warning: the variable "value" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator92    │93 71 │           <<_::binary-size(value), data::binary-size(length), _::binary>> -> data94    │                            ~95    │96    └─ lib/image/exif/tag.ex:71:28: Image.Exif.Tag.decode_numeric/49798    warning: the variable "length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator99    │100 71 │           <<_::binary-size(value), data::binary-size(length), _::binary>> -> data101    │                                                      ~102    │103    └─ lib/image/exif/tag.ex:71:54: Image.Exif.Tag.decode_numeric/4104105     warning: the variable "offset" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator106     │107 116 │       <<_::binary-size(offset), numerator::binary-size(4), denominator::binary-size(4),108     │                        ~109     │110     └─ lib/image/exif/tag.ex:116:24: Image.Exif.Tag.decode_ratios/5111112     warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator113     │114 140 │     <<number::binary-size(size), rest::binary>> = data115     │                           ~116     │117     └─ lib/image/exif/tag.ex:140:27: Image.Exif.Tag.read_unsigned_many/3118119     warning: the variable "y_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator120     │121 485 │       <<y::bytes-size(y_bytes), u::bytes-size(y_bytes), v::bytes-size(y_bytes)>> ->122     │                       ~123     │124     └─ lib/image/yuv.ex:485:23: Image.YUV.decode/4125126     warning: the variable "y_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator127     │128 485 │       <<y::bytes-size(y_bytes), u::bytes-size(y_bytes), v::bytes-size(y_bytes)>> ->129     │                                               ~130     │131     └─ lib/image/yuv.ex:485:47: Image.YUV.decode/4132133     warning: the variable "y_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator134     │135 485 │       <<y::bytes-size(y_bytes), u::bytes-size(y_bytes), v::bytes-size(y_bytes)>> ->136     │                                                                       ~137     │138     └─ lib/image/yuv.ex:485:71: Image.YUV.decode/4139140     warning: the variable "y_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator141     │142 498 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->143     │                       ~144     │145     └─ lib/image/yuv.ex:498:23: Image.YUV.decode/4146147     warning: the variable "uv_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator148     │149 498 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->150     │                                               ~151     │152     └─ lib/image/yuv.ex:498:47: Image.YUV.decode/4153154     warning: the variable "uv_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator155     │156 498 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->157     │                                                                        ~158     │159     └─ lib/image/yuv.ex:498:72: Image.YUV.decode/4160161     warning: the variable "y_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator162     │163 511 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->164     │                       ~165     │166     └─ lib/image/yuv.ex:511:23: Image.YUV.decode/4167168     warning: the variable "uv_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator169     │170 511 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->171     │                                               ~172     │173     └─ lib/image/yuv.ex:511:47: Image.YUV.decode/4174175     warning: the variable "uv_bytes" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator176     │177 511 │       <<y::bytes-size(y_bytes), u::bytes-size(uv_bytes), v::bytes-size(uv_bytes)>> ->178     │                                                                        ~179     │180     └─ lib/image/yuv.ex:511:72: Image.YUV.decode/4181182      warning: the variable "size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator183      │184 1645 │         <<chunk::binary-size(size), rest::binary>> = bin185      │                              ~186      │187      └─ lib/image.ex:1645:30: Image.buffer!/2188189    warning: unused require Logger190    │191 11 │   require Logger192    │   ~193    │194    └─ lib/application.ex:11:3195196      warning: comparison with structs found:197198          min(width, height)199200      given types:201202          min(203            dynamic(%Vix.Vips.Image{} or float() or integer()),204            dynamic(%Vix.Vips.Image{} or float() or integer())205          )206207      where "height" was given the type:208209          # type: dynamic(%Vix.Vips.Image{} or float() or integer())210          # from: lib/image.ex:7657:36211          Image.Math./(height, 2.0)212213      where "width" was given the type:214215          # type: dynamic(%Vix.Vips.Image{} or float() or integer())216          # from: lib/image.ex:7657:22217          Image.Math./(width, 2.0)218219      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.220221      type warning found at:222      │223 7659 │     scale = min(width, height) / width224      │             ~225      │226      └─ lib/image.ex:7659:13: Image.to_polar_coordinates/1227228      warning: comparison with structs found:229230          min(width, height)231232      given types:233234          min(235            dynamic(%Vix.Vips.Image{} or float() or integer()),236            dynamic(%Vix.Vips.Image{} or float() or integer())237          )238239      where "height" was given the type:240241          # type: dynamic(242            %Vix.Vips.Image{} or empty_list() or float() or integer() or non_empty_list(term(), term())243          )244          # from: lib/image.ex:7726:27245          Image.Math./(360.0, height)246247      where "width" was given the types:248249          # type: dynamic()250          # from: lib/image.ex:7722:11251          width = width(image)252253          # type: dynamic(%Vix.Vips.Image{} or float() or integer())254          # from: lib/image.ex:7729:13255          min(width, height)256257      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.258259      type warning found at:260      │261 7729 │     scale = min(width, height) / width262      │             ~263      │264      └─ lib/image.ex:7729:13: Image.to_rectangular_coordinates/1265266Generated image app267==> thumb_hash268Compiling 1 file (.ex)269270== Compilation error in file lib/thumb_hash.ex ==271** (ErlangError) Erlang error: :enoent272    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/thumb_hash"])273    (rustler 0.38.0) lib/rustler/compiler/config.ex:74: Rustler.Compiler.Config.metadata!/1274    (rustler 0.38.0) lib/rustler/compiler/config.ex:61: Rustler.Compiler.Config.build/1275    (rustler 0.38.0) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3276    lib/thumb_hash.ex:9: (module)277could not compile dependency :thumb_hash, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile thumb_hash --force", update it with "mix deps.update thumb_hash" or clean it with "mix deps.clean thumb_hash"