whatsapp_flow_crypto

Build log

host

whatsapp_flow_crypto 0.1.0 · fail · run whatsapp_flow_crypto-0.1.0-1791283759568
350 of 350 lines
1Resolving Hex dependencies...2Resolution completed in 0.345s3Unchanged:4  circular_buffer 1.1.05  elixir_make 0.10.06  finch 0.24.07  hpax 1.1.08  interactive_cmd 0.1.49  jason 1.4.510  logger_backends 1.0.111  mime 2.0.712  mint 1.11.013  nerves 2.0.0-pre.214  nerves_discovery 0.1.515  nerves_logging 0.2.416  nerves_runtime 0.13.1317  nerves_system_bbb 2.30.218  nerves_system_br 1.34.419  nerves_system_mangopi_mq_pro 0.17.220  nerves_system_qemu_aarch64 0.4.221  nerves_system_rpi0 2.1.222  nerves_system_rpi4 2.1.223  nerves_system_rpi5 2.1.224  nerves_system_trellis 0.5.025  nerves_system_x86_64 1.34.226  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.127  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.130  nerves_toolchain_x86_64_nerves_linux_musl 15.3.131  nerves_uevent 0.1.732  nimble_options 1.1.133  nimble_pool 1.1.034  property_table 0.3.435  req 0.7.536  ring_logger 0.11.737  rustler 0.34.038  tablet 0.3.339  telemetry 1.4.240  toml 0.7.041  toolshed 0.5.042  uboot_env 1.0.243  whatsapp_flow_crypto 0.1.044All dependencies have been fetched45==> toml46Compiling 10 files (.ex)47     warning: using single-quoted strings to represent charlists is deprecated.48     Use ~c"" if you indeed want a charlist or use "" instead.49     You may run "mix format --migrate" to change all single-quoted50     strings to use the ~c sigil and fix this warning.51     │52 264 │   defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do53     │                                                                                  ~54     │55     └─ lib/decoder.ex:264:825657     warning: using single-quoted strings to represent charlists is deprecated.58     Use ~c"" if you indeed want a charlist or use "" instead.59     You may run "mix format --migrate" to change all single-quoted60     strings to use the ~c sigil and fix this warning.61     │62 371 │       {:ok, {type, _skip, _data, _lines}} when type in '-+' ->63     │                                                        ~64     │65     └─ lib/decoder.ex:371:566667     warning: using single-quoted strings to represent charlists is deprecated.68     Use ~c"" if you indeed want a charlist or use "" instead.69     You may run "mix format --migrate" to change all single-quoted70     strings to use the ~c sigil and fix this warning.71     │72 419 │           {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->73     │                                                        ~74     │75     └─ lib/decoder.ex:419:567677     warning: using single-quoted strings to represent charlists is deprecated.78     Use ~c"" if you indeed want a charlist or use "" instead.79     You may run "mix format --migrate" to change all single-quoted80     strings to use the ~c sigil and fix this warning.81     │82 474 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->83     │                                                    ~84     │85     └─ lib/decoder.ex:474:528687     warning: using single-quoted strings to represent charlists is deprecated.88     Use ~c"" if you indeed want a charlist or use "" instead.89     You may run "mix format --migrate" to change all single-quoted90     strings to use the ~c sigil and fix this warning.91     │92 514 │       {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->93     │                                           ~94     │95     └─ lib/decoder.ex:514:439697     warning: using single-quoted strings to represent charlists is deprecated.98     Use ~c"" if you indeed want a charlist or use "" instead.99     You may run "mix format --migrate" to change all single-quoted100     strings to use the ~c sigil and fix this warning.101     │102 518 │       {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->103     │                                                    ~104     │105     └─ lib/decoder.ex:518:52106107     warning: using single-quoted strings to represent charlists is deprecated.108     Use ~c"" if you indeed want a charlist or use "" instead.109     You may run "mix format --migrate" to change all single-quoted110     strings to use the ~c sigil and fix this warning.111     │112 522 │       {:ok, {?_, skip, _, lines}} when last not in '_e.' ->113     │                                                    ~114     │115     └─ lib/decoder.ex:522:52116117     warning: using single-quoted strings to represent charlists is deprecated.118     Use ~c"" if you indeed want a charlist or use "" instead.119     You may run "mix format --migrate" to change all single-quoted120     strings to use the ~c sigil and fix this warning.121     │122 538 │       {:ok, {type, skip, data, lines}} when last in 'e.' ->123     │                                                     ~124     │125     └─ lib/decoder.ex:538:53126127     warning: using single-quoted strings to represent charlists is deprecated.128     Use ~c"" if you indeed want a charlist or use "" instead.129     You may run "mix format --migrate" to change all single-quoted130     strings to use the ~c sigil and fix this warning.131     │132 542 │       {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->133     │                                                                   ~134     │135     └─ lib/decoder.ex:542:67136137     warning: using single-quoted strings to represent charlists is deprecated.138     Use ~c"" if you indeed want a charlist or use "" instead.139     You may run "mix format --migrate" to change all single-quoted140     strings to use the ~c sigil and fix this warning.141     │142 682 │         {:ok, {sign, _, _, _}} when sign in '-+' ->143     │                                             ~144     │145     └─ lib/decoder.ex:682:45146147     warning: using single-quoted strings to represent charlists is deprecated.148     Use ~c"" if you indeed want a charlist or use "" instead.149     You may run "mix format --migrate" to change all single-quoted150     strings to use the ~c sigil and fix this warning.151     │152 796 │       {:ok, {sign, _, _, _}} when sign in '-+' ->153     │                                           ~154     │155     └─ lib/decoder.ex:796:43156157     warning: using single-quoted strings to represent charlists is deprecated.158     Use ~c"" if you indeed want a charlist or use "" instead.159     You may run "mix format --migrate" to change all single-quoted160     strings to use the ~c sigil and fix this warning.161     │162 916 │         {:ok, {type, skip, _, lines}} when type in '-_' ->163     │                                                    ~164     │165     └─ lib/decoder.ex:916:52166167     warning: using single-quoted strings to represent charlists is deprecated.168     Use ~c"" if you indeed want a charlist or use "" instead.169     You may run "mix format --migrate" to change all single-quoted170     strings to use the ~c sigil and fix this warning.171     │172 954 │               {:ok, {type, _, _, _}} when type in '-_' ->173     │                                                   ~174     │175     └─ lib/decoder.ex:954:51176177     warning: using single-quoted strings to represent charlists is deprecated.178     Use ~c"" if you indeed want a charlist or use "" instead.179     You may run "mix format --migrate" to change all single-quoted180     strings to use the ~c sigil and fix this warning.181     │182 969 │       {:ok, {type, _, _, _}} when type in '-_' ->183     │                                           ~184     │185     └─ lib/decoder.ex:969:43186187     warning: using single-quoted strings to represent charlists is deprecated.188     Use ~c"" if you indeed want a charlist or use "" instead.189     You may run "mix format --migrate" to change all single-quoted190     strings to use the ~c sigil and fix this warning.191     │192 983 │           {:ok, {type, _, _, _}} when type in '-_' ->193     │                                               ~194     │195     └─ lib/decoder.ex:983:47196197     warning: the following clause will never match:198199         {:datetime, {:error, :invalid_date}} ->200201     it is expected to match on type:202203         dynamic(204           {:date,205            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or206              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and207             not {:date, {:ok, %Date{}}}208         )209210     type warning found at:211     │212 722 │       {:datetime, {:error, :invalid_date}} ->213     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~214     │215     └─ lib/decoder.ex:722: Toml.Decoder.datetime/3216217     warning: the following clause will never match:218219         {:datetime, {:error, reason}} ->220221     it is expected to match on type:222223         dynamic(224           {:date,225            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or226              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and227             not {:date, {:ok, %Date{}}}228         )229230     type warning found at:231     │232 725 │       {:datetime, {:error, reason}} ->233     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~234     │235     └─ lib/decoder.ex:725: Toml.Decoder.datetime/3236237     warning: the following clause will never match:238239         {:error, _, _, _} = err ->240241     it is expected to match on type:242243         dynamic(244           {:date,245            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or246              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and247             not {:date, {:ok, %Date{}}}248         )249250     type warning found at:251     │252 728 │       {:error, _, _, _} = err ->253     │                         ~254     │255     └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3256257     warning: the following clause will never match:258259         {:ok, {type, skip, data, lines}} ->260261     it is expected to match on type:262263         dynamic(264           {:date,265            ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or266              {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and267             not {:date, {:ok, %Date{}}}268         )269270     type warning found at:271     │272 731 │       {:ok, {type, skip, data, lines}} ->273     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~274     │275     └─ lib/decoder.ex:731: Toml.Decoder.datetime/3276277Generated toml app278==> mint279Compiling 1 file (.erl)280Compiling 21 files (.ex)281Generated mint app282==> finch283Compiling 23 files (.ex)284Generated finch app285==> req286Compiling 24 files (.ex)287Generated req app288==> rustler289Compiling 6 files (.ex)290     warning: incompatible types given to throw_error/1:291292         throw_error(293           {:unknown_target,294            <<to_string(target)::binary,295              " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}296         )297298     given types:299300         -dynamic({:unknown_target, binary()})-301302     but expected one of:303304         :rustup_not_installed or {:no_rustler_deps, term(), term()} or305           {:unsupported_rustler_version, term(), term(), term()} or306           {:cargo_toml_not_found or :nonexistent_crate_directory or :rust_version_not_installed, term()}307308     where "target" was given the types:309310         # type: binary()311         # from: lib/rustler/compiler.ex:143:27312         target313314         # type: binary()315         # from: lib/rustler/compiler.ex:143:40316         is_binary(target)317318     type warning found at:319     │320 159 │       throw_error(321     │       ~322     │323     └─ lib/rustler/compiler.ex:159:7: Rustler.Compiler.get_target_os_type/1324325Generated rustler app326==> whatsapp_flow_crypto327Compiling 2 files (.ex)328     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity329     │330 109 │     flip_initial_vector(rest, [<<(~~~a)>> | acc])331     │                                   ~332     │333     └─ lib/whatsapp_flow_crypto.ex:109:35334335    warning: the variable "data_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator336    │337 54 │       <<encrypted_flow_data_body::binary-size(data_size),338    │                                               ~339    │340    └─ lib/whatsapp_flow_crypto.ex:54:47: WhatsappFlowCrypto.decrypt_request/4341342343== Compilation error in file lib/r_crypto.ex ==344** (ErlangError) Erlang error: :enoent345    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/rcrypto"])346    (rustler 0.34.0) lib/rustler/compiler/config.ex:76: Rustler.Compiler.Config.metadata!/1347    (rustler 0.34.0) lib/rustler/compiler/config.ex:63: Rustler.Compiler.Config.build/1348    (rustler 0.34.0) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3349    lib/r_crypto.ex:6: (module)350could not compile dependency :whatsapp_flow_crypto, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile whatsapp_flow_crypto --force", update it with "mix deps.update whatsapp_flow_crypto" or clean it with "mix deps.clean whatsapp_flow_crypto"