Build log
nerves_system_trellis
whatsapp_flow_crypto 0.1.0 · fail · run whatsapp_flow_crypto-0.1.0-1791283759568
446 of 446 lines
1Resolving Hex dependencies...2Resolution completed in 0.26s3Unchanged: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.044* Getting whatsapp_flow_crypto (Hex package)45* Getting nerves (Hex package)46* Getting logger_backends (Hex package)47* Getting ring_logger (Hex package)48* Getting toolshed (Hex package)49* Getting nerves_runtime (Hex package)50* Getting nerves_system_bbb (Hex package)51* Getting nerves_system_mangopi_mq_pro (Hex package)52* Getting nerves_system_qemu_aarch64 (Hex package)53* Getting nerves_system_rpi0 (Hex package)54* Getting nerves_system_rpi4 (Hex package)55* Getting nerves_system_rpi5 (Hex package)56* Getting nerves_system_trellis (Hex package)57* Getting nerves_system_x86_64 (Hex package)58* Getting nerves_system_br (Hex package)59* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)60* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)62* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)63* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)64* Getting nerves_logging (Hex package)65* Getting nerves_uevent (Hex package)66* Getting uboot_env (Hex package)67* Getting elixir_make (Hex package)68* Getting property_table (Hex package)69* Getting circular_buffer (Hex package)70* Getting interactive_cmd (Hex package)71* Getting nerves_discovery (Hex package)72* Getting tablet (Hex package)73* Getting rustler (Hex package)74* Getting jason (Hex package)75* Getting req (Hex package)76* Getting toml (Hex package)77* Getting finch (Hex package)78* Getting mime (Hex package)79* Getting mint (Hex package)80* Getting nimble_options (Hex package)81* Getting nimble_pool (Hex package)82* Getting telemetry (Hex package)83* Getting hpax (Hex package)84==> tablet85Compiling 2 files (.ex)86Generated tablet app87==> nerves_discovery88Compiling 5 files (.ex)89Generated nerves_discovery app90==> interactive_cmd91Compiling 1 file (.ex)92Generated interactive_cmd app93==> nerves94Compiling 65 files (.ex)95Generated nerves app96==> nerves_system_br97Generated nerves_system_br app98==> mime99Compiling 1 file (.ex)100Generated mime app101==> toml102Compiling 10 files (.ex)103 warning: using single-quoted strings to represent charlists is deprecated.104 Use ~c"" if you indeed want a charlist or use "" instead.105 You may run "mix format --migrate" to change all single-quoted106 strings to use the ~c sigil and fix this warning.107 │108 264 │ defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do109 │ ~110 │111 └─ lib/decoder.ex:264:82112113 warning: using single-quoted strings to represent charlists is deprecated.114 Use ~c"" if you indeed want a charlist or use "" instead.115 You may run "mix format --migrate" to change all single-quoted116 strings to use the ~c sigil and fix this warning.117 │118 371 │ {:ok, {type, _skip, _data, _lines}} when type in '-+' ->119 │ ~120 │121 └─ lib/decoder.ex:371:56122123 warning: using single-quoted strings to represent charlists is deprecated.124 Use ~c"" if you indeed want a charlist or use "" instead.125 You may run "mix format --migrate" to change all single-quoted126 strings to use the ~c sigil and fix this warning.127 │128 419 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->129 │ ~130 │131 └─ lib/decoder.ex:419:56132133 warning: using single-quoted strings to represent charlists is deprecated.134 Use ~c"" if you indeed want a charlist or use "" instead.135 You may run "mix format --migrate" to change all single-quoted136 strings to use the ~c sigil and fix this warning.137 │138 474 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->139 │ ~140 │141 └─ lib/decoder.ex:474:52142143 warning: using single-quoted strings to represent charlists is deprecated.144 Use ~c"" if you indeed want a charlist or use "" instead.145 You may run "mix format --migrate" to change all single-quoted146 strings to use the ~c sigil and fix this warning.147 │148 514 │ {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->149 │ ~150 │151 └─ lib/decoder.ex:514:43152153 warning: using single-quoted strings to represent charlists is deprecated.154 Use ~c"" if you indeed want a charlist or use "" instead.155 You may run "mix format --migrate" to change all single-quoted156 strings to use the ~c sigil and fix this warning.157 │158 518 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->159 │ ~160 │161 └─ lib/decoder.ex:518:52162163 warning: using single-quoted strings to represent charlists is deprecated.164 Use ~c"" if you indeed want a charlist or use "" instead.165 You may run "mix format --migrate" to change all single-quoted166 strings to use the ~c sigil and fix this warning.167 │168 522 │ {:ok, {?_, skip, _, lines}} when last not in '_e.' ->169 │ ~170 │171 └─ lib/decoder.ex:522:52172173 warning: using single-quoted strings to represent charlists is deprecated.174 Use ~c"" if you indeed want a charlist or use "" instead.175 You may run "mix format --migrate" to change all single-quoted176 strings to use the ~c sigil and fix this warning.177 │178 538 │ {:ok, {type, skip, data, lines}} when last in 'e.' ->179 │ ~180 │181 └─ lib/decoder.ex:538:53182183 warning: using single-quoted strings to represent charlists is deprecated.184 Use ~c"" if you indeed want a charlist or use "" instead.185 You may run "mix format --migrate" to change all single-quoted186 strings to use the ~c sigil and fix this warning.187 │188 542 │ {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->189 │ ~190 │191 └─ lib/decoder.ex:542:67192193 warning: using single-quoted strings to represent charlists is deprecated.194 Use ~c"" if you indeed want a charlist or use "" instead.195 You may run "mix format --migrate" to change all single-quoted196 strings to use the ~c sigil and fix this warning.197 │198 682 │ {:ok, {sign, _, _, _}} when sign in '-+' ->199 │ ~200 │201 └─ lib/decoder.ex:682:45202203 warning: using single-quoted strings to represent charlists is deprecated.204 Use ~c"" if you indeed want a charlist or use "" instead.205 You may run "mix format --migrate" to change all single-quoted206 strings to use the ~c sigil and fix this warning.207 │208 796 │ {:ok, {sign, _, _, _}} when sign in '-+' ->209 │ ~210 │211 └─ lib/decoder.ex:796:43212213 warning: using single-quoted strings to represent charlists is deprecated.214 Use ~c"" if you indeed want a charlist or use "" instead.215 You may run "mix format --migrate" to change all single-quoted216 strings to use the ~c sigil and fix this warning.217 │218 916 │ {:ok, {type, skip, _, lines}} when type in '-_' ->219 │ ~220 │221 └─ lib/decoder.ex:916:52222223 warning: using single-quoted strings to represent charlists is deprecated.224 Use ~c"" if you indeed want a charlist or use "" instead.225 You may run "mix format --migrate" to change all single-quoted226 strings to use the ~c sigil and fix this warning.227 │228 954 │ {:ok, {type, _, _, _}} when type in '-_' ->229 │ ~230 │231 └─ lib/decoder.ex:954:51232233 warning: using single-quoted strings to represent charlists is deprecated.234 Use ~c"" if you indeed want a charlist or use "" instead.235 You may run "mix format --migrate" to change all single-quoted236 strings to use the ~c sigil and fix this warning.237 │238 969 │ {:ok, {type, _, _, _}} when type in '-_' ->239 │ ~240 │241 └─ lib/decoder.ex:969:43242243 warning: using single-quoted strings to represent charlists is deprecated.244 Use ~c"" if you indeed want a charlist or use "" instead.245 You may run "mix format --migrate" to change all single-quoted246 strings to use the ~c sigil and fix this warning.247 │248 983 │ {:ok, {type, _, _, _}} when type in '-_' ->249 │ ~250 │251 └─ lib/decoder.ex:983:47252253 warning: the following clause will never match:254255 {:datetime, {:error, :invalid_date}} ->256257 it is expected to match on type:258259 dynamic(260 {:date,261 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or262 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and263 not {:date, {:ok, %Date{}}}264 )265266 type warning found at:267 │268 722 │ {:datetime, {:error, :invalid_date}} ->269 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~270 │271 └─ lib/decoder.ex:722: Toml.Decoder.datetime/3272273 warning: the following clause will never match:274275 {:datetime, {:error, reason}} ->276277 it is expected to match on type:278279 dynamic(280 {:date,281 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or282 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and283 not {:date, {:ok, %Date{}}}284 )285286 type warning found at:287 │288 725 │ {:datetime, {:error, reason}} ->289 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~290 │291 └─ lib/decoder.ex:725: Toml.Decoder.datetime/3292293 warning: the following clause will never match:294295 {:error, _, _, _} = err ->296297 it is expected to match on type:298299 dynamic(300 {:date,301 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or302 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and303 not {:date, {:ok, %Date{}}}304 )305306 type warning found at:307 │308 728 │ {:error, _, _, _} = err ->309 │ ~310 │311 └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3312313 warning: the following clause will never match:314315 {:ok, {type, skip, data, lines}} ->316317 it is expected to match on type:318319 dynamic(320 {:date,321 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or322 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and323 not {:date, {:ok, %Date{}}}324 )325326 type warning found at:327 │328 731 │ {:ok, {type, skip, data, lines}} ->329 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~330 │331 └─ lib/decoder.ex:731: Toml.Decoder.datetime/3332333Generated toml app334==> circular_buffer335Compiling 1 file (.ex)336Generated circular_buffer app337==> nimble_options338Compiling 3 files (.ex)339Generated nimble_options app340==> jason341Compiling 10 files (.ex)342Generated jason app343==> logger_backends344Compiling 7 files (.ex)345Generated logger_backends app346==> hpax347Compiling 4 files (.ex)348Generated hpax app349==> mint350Compiling 1 file (.erl)351Compiling 21 files (.ex)352Generated mint app353==> elixir_make354Compiling 8 files (.ex)355Generated elixir_make app356==> nerves_logging357 CC kmsg_tailer.o358 LD kmsg_tailer359Compiling 5 files (.ex)360Generated nerves_logging app361==> ring_logger362Compiling 7 files (.ex)363Generated ring_logger app364==> nerves_toolchain_armv7_nerves_linux_gnueabihf365Compiling 1 file (.ex)366Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app367==> nerves_system_trellis368Generated nerves_system_trellis app369==> nerves_compatibility_test370===> Analyzing applications...371===> Compiling telemetry372==> uboot_env373Compiling 5 files (.ex)374Generated uboot_env app375==> nimble_pool376Compiling 2 files (.ex)377Generated nimble_pool app378==> finch379Compiling 23 files (.ex)380Generated finch app381==> req382Compiling 24 files (.ex)383Generated req app384==> rustler385Compiling 6 files (.ex)386 warning: incompatible types given to throw_error/1:387388 throw_error(389 {:unknown_target,390 <<to_string(target)::binary,391 " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}392 )393394 given types:395396 -dynamic({:unknown_target, binary()})-397398 but expected one of:399400 :rustup_not_installed or {:no_rustler_deps, term(), term()} or401 {:unsupported_rustler_version, term(), term(), term()} or402 {:cargo_toml_not_found or :nonexistent_crate_directory or :rust_version_not_installed, term()}403404 where "target" was given the types:405406 # type: binary()407 # from: lib/rustler/compiler.ex:143:27408 target409410 # type: binary()411 # from: lib/rustler/compiler.ex:143:40412 is_binary(target)413414 type warning found at:415 │416 159 │ throw_error(417 │ ~418 │419 └─ lib/rustler/compiler.ex:159:7: Rustler.Compiler.get_target_os_type/1420421Generated rustler app422==> whatsapp_flow_crypto423Compiling 2 files (.ex)424 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity425 │426 109 │ flip_initial_vector(rest, [<<(~~~a)>> | acc])427 │ ~428 │429 └─ lib/whatsapp_flow_crypto.ex:109:35430431 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 operator432 │433 54 │ <<encrypted_flow_data_body::binary-size(data_size),434 │ ~435 │436 └─ lib/whatsapp_flow_crypto.ex:54:47: WhatsappFlowCrypto.decrypt_request/4437438439== Compilation error in file lib/r_crypto.ex ==440** (ErlangError) Erlang error: :enoent441 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/rcrypto"])442 (rustler 0.34.0) lib/rustler/compiler/config.ex:76: Rustler.Compiler.Config.metadata!/1443 (rustler 0.34.0) lib/rustler/compiler/config.ex:63: Rustler.Compiler.Config.build/1444 (rustler 0.34.0) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3445 lib/r_crypto.ex:6: (module)446could 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"