Build log
nerves_system_x86_64
whatsapp_flow_crypto 0.1.0 · fail · run whatsapp_flow_crypto-0.1.0-1791283759568
429 of 429 lines
1Resolving Hex dependencies...2Resolution completed in 0.231s3Unchanged: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)86==> nerves_discovery87Compiling 5 files (.ex)88Generated nerves_discovery app89==> interactive_cmd90Compiling 1 file (.ex)91==> nerves92Compiling 65 files (.ex)93Generated nerves app94==> nerves_system_br95Generated nerves_system_br app96==> mime97Compiling 1 file (.ex)98Generated mime app99==> toml100Compiling 10 files (.ex)101 warning: using single-quoted strings to represent charlists is deprecated.102 Use ~c"" if you indeed want a charlist or use "" instead.103 You may run "mix format --migrate" to change all single-quoted104 strings to use the ~c sigil and fix this warning.105 │106 264 │ defp handle_token(lexer, original, doc, type, skip, _data, lines) when type in '-_' do107 │ ~108 │109 └─ lib/decoder.ex:264:82110111 warning: using single-quoted strings to represent charlists is deprecated.112 Use ~c"" if you indeed want a charlist or use "" instead.113 You may run "mix format --migrate" to change all single-quoted114 strings to use the ~c sigil and fix this warning.115 │116 371 │ {:ok, {type, _skip, _data, _lines}} when type in '-+' ->117 │ ~118 │119 └─ lib/decoder.ex:371:56120121 warning: using single-quoted strings to represent charlists is deprecated.122 Use ~c"" if you indeed want a charlist or use "" instead.123 You may run "mix format --migrate" to change all single-quoted124 strings to use the ~c sigil and fix this warning.125 │126 419 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->127 │ ~128 │129 └─ lib/decoder.ex:419:56130131 warning: using single-quoted strings to represent charlists is deprecated.132 Use ~c"" if you indeed want a charlist or use "" instead.133 You may run "mix format --migrate" to change all single-quoted134 strings to use the ~c sigil and fix this warning.135 │136 474 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' ->137 │ ~138 │139 └─ lib/decoder.ex:474:52140141 warning: using single-quoted strings to represent charlists is deprecated.142 Use ~c"" if you indeed want a charlist or use "" instead.143 You may run "mix format --migrate" to change all single-quoted144 strings to use the ~c sigil and fix this warning.145 │146 514 │ {:ok, {sign, _, _, _}} when sign in '-+' and last == ?e ->147 │ ~148 │149 └─ lib/decoder.ex:514:43150151 warning: using single-quoted strings to represent charlists is deprecated.152 Use ~c"" if you indeed want a charlist or use "" instead.153 You may run "mix format --migrate" to change all single-quoted154 strings to use the ~c sigil and fix this warning.155 │156 518 │ {:ok, {:alpha, _, <<c::utf8>>, _}} when c in 'eE' and signal == ?. ->157 │ ~158 │159 └─ lib/decoder.ex:518:52160161 warning: using single-quoted strings to represent charlists is deprecated.162 Use ~c"" if you indeed want a charlist or use "" instead.163 You may run "mix format --migrate" to change all single-quoted164 strings to use the ~c sigil and fix this warning.165 │166 522 │ {:ok, {?_, skip, _, lines}} when last not in '_e.' ->167 │ ~168 │169 └─ lib/decoder.ex:522:52170171 warning: using single-quoted strings to represent charlists is deprecated.172 Use ~c"" if you indeed want a charlist or use "" instead.173 You may run "mix format --migrate" to change all single-quoted174 strings to use the ~c sigil and fix this warning.175 │176 538 │ {:ok, {type, skip, data, lines}} when last in 'e.' ->177 │ ~178 │179 └─ lib/decoder.ex:538:53180181 warning: using single-quoted strings to represent charlists is deprecated.182 Use ~c"" if you indeed want a charlist or use "" instead.183 You may run "mix format --migrate" to change all single-quoted184 strings to use the ~c sigil and fix this warning.185 │186 542 │ {:ok, {_type, skip, _data, lines} = token} when last not in '_e.' ->187 │ ~188 │189 └─ lib/decoder.ex:542:67190191 warning: using single-quoted strings to represent charlists is deprecated.192 Use ~c"" if you indeed want a charlist or use "" instead.193 You may run "mix format --migrate" to change all single-quoted194 strings to use the ~c sigil and fix this warning.195 │196 682 │ {:ok, {sign, _, _, _}} when sign in '-+' ->197 │ ~198 │199 └─ lib/decoder.ex:682:45200201 warning: using single-quoted strings to represent charlists is deprecated.202 Use ~c"" if you indeed want a charlist or use "" instead.203 You may run "mix format --migrate" to change all single-quoted204 strings to use the ~c sigil and fix this warning.205 │206 796 │ {:ok, {sign, _, _, _}} when sign in '-+' ->207 │ ~208 │209 └─ lib/decoder.ex:796:43210211 warning: using single-quoted strings to represent charlists is deprecated.212 Use ~c"" if you indeed want a charlist or use "" instead.213 You may run "mix format --migrate" to change all single-quoted214 strings to use the ~c sigil and fix this warning.215 │216 916 │ {:ok, {type, skip, _, lines}} when type in '-_' ->217 │ ~218 │219 └─ lib/decoder.ex:916:52220221 warning: using single-quoted strings to represent charlists is deprecated.222 Use ~c"" if you indeed want a charlist or use "" instead.223 You may run "mix format --migrate" to change all single-quoted224 strings to use the ~c sigil and fix this warning.225 │226 954 │ {:ok, {type, _, _, _}} when type in '-_' ->227 │ ~228 │229 └─ lib/decoder.ex:954:51230231 warning: using single-quoted strings to represent charlists is deprecated.232 Use ~c"" if you indeed want a charlist or use "" instead.233 You may run "mix format --migrate" to change all single-quoted234 strings to use the ~c sigil and fix this warning.235 │236 969 │ {:ok, {type, _, _, _}} when type in '-_' ->237 │ ~238 │239 └─ lib/decoder.ex:969:43240241 warning: using single-quoted strings to represent charlists is deprecated.242 Use ~c"" if you indeed want a charlist or use "" instead.243 You may run "mix format --migrate" to change all single-quoted244 strings to use the ~c sigil and fix this warning.245 │246 983 │ {:ok, {type, _, _, _}} when type in '-_' ->247 │ ~248 │249 └─ lib/decoder.ex:983:47250251 warning: the following clause will never match:252253 {:datetime, {:error, :invalid_date}} ->254255 it is expected to match on type:256257 dynamic(258 {:date,259 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or260 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and261 not {:date, {:ok, %Date{}}}262 )263264 type warning found at:265 │266 722 │ {:datetime, {:error, :invalid_date}} ->267 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~268 │269 └─ lib/decoder.ex:722: Toml.Decoder.datetime/3270271 warning: the following clause will never match:272273 {:datetime, {:error, reason}} ->274275 it is expected to match on type:276277 dynamic(278 {:date,279 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or280 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and281 not {:date, {:ok, %Date{}}}282 )283284 type warning found at:285 │286 725 │ {:datetime, {:error, reason}} ->287 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~288 │289 └─ lib/decoder.ex:725: Toml.Decoder.datetime/3290291 warning: the following clause will never match:292293 {:error, _, _, _} = err ->294295 it is expected to match on type:296297 dynamic(298 {:date,299 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or300 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and301 not {:date, {:ok, %Date{}}}302 )303304 type warning found at:305 │306 728 │ {:error, _, _, _} = err ->307 │ ~308 │309 └─ lib/decoder.ex:728:25: Toml.Decoder.datetime/3310311 warning: the following clause will never match:312313 {:ok, {type, skip, data, lines}} ->314315 it is expected to match on type:316317 dynamic(318 {:date,319 ({:error, :invalid_date} and not {:ok, {integer(), integer(), integer()}}) or320 {:error, :incompatible_calendars or :invalid_format} or {:ok, %Date{}}} and321 not {:date, {:ok, %Date{}}}322 )323324 type warning found at:325 │326 731 │ {:ok, {type, skip, data, lines}} ->327 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328 │329 └─ lib/decoder.ex:731: Toml.Decoder.datetime/3330331Generated toml app332==> nimble_options333Compiling 3 files (.ex)334Generated nimble_options app335==> hpax336Compiling 4 files (.ex)337Generated hpax app338==> mint339Compiling 1 file (.erl)340Compiling 21 files (.ex)341Generated mint app342==> elixir_make343Compiling 8 files (.ex)344Generated elixir_make app345==> nerves_logging346 CC kmsg_tailer.o347 LD kmsg_tailer348Compiling 5 files (.ex)349Generated nerves_logging app350==> nerves_toolchain_x86_64_nerves_linux_musl351Compiling 1 file (.ex)352Generated nerves_toolchain_x86_64_nerves_linux_musl app353==> nerves_system_x86_64354Generated nerves_system_x86_64 app355==> nerves_compatibility_test356===> Analyzing applications...357===> Compiling telemetry358==> nimble_pool359Compiling 2 files (.ex)360Generated nimble_pool app361==> finch362Compiling 23 files (.ex)363Generated finch app364==> req365Compiling 24 files (.ex)366Generated req app367==> rustler368Compiling 6 files (.ex)369 warning: incompatible types given to throw_error/1:370371 throw_error(372 {:unknown_target,373 <<to_string(target)::binary,374 " is not in the support list yet. Please report it on https://github.com/rusterlium/rustler/issues.">>}375 )376377 given types:378379 -dynamic({:unknown_target, binary()})-380381 but expected one of:382383 :rustup_not_installed or {:no_rustler_deps, term(), term()} or384 {:unsupported_rustler_version, term(), term(), term()} or385 {:cargo_toml_not_found or :nonexistent_crate_directory or :rust_version_not_installed, term()}386387 where "target" was given the types:388389 # type: binary()390 # from: lib/rustler/compiler.ex:143:27391 target392393 # type: binary()394 # from: lib/rustler/compiler.ex:143:40395 is_binary(target)396397 type warning found at:398 │399 159 │ throw_error(400 │ ~401 │402 └─ lib/rustler/compiler.ex:159:7: Rustler.Compiler.get_target_os_type/1403404Generated rustler app405==> whatsapp_flow_crypto406Compiling 2 files (.ex)407 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity408 │409 109 │ flip_initial_vector(rest, [<<(~~~a)>> | acc])410 │ ~411 │412 └─ lib/whatsapp_flow_crypto.ex:109:35413414 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 operator415 │416 54 │ <<encrypted_flow_data_body::binary-size(data_size),417 │ ~418 │419 └─ lib/whatsapp_flow_crypto.ex:54:47: WhatsappFlowCrypto.decrypt_request/4420421422== Compilation error in file lib/r_crypto.ex ==423** (ErlangError) Erlang error: :enoent424 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["metadata", "--format-version=1"], [cd: "native/rcrypto"])425 (rustler 0.34.0) lib/rustler/compiler/config.ex:76: Rustler.Compiler.Config.metadata!/1426 (rustler 0.34.0) lib/rustler/compiler/config.ex:63: Rustler.Compiler.Config.build/1427 (rustler 0.34.0) lib/rustler/compiler.ex:8: Rustler.Compiler.compile_crate/3428 lib/r_crypto.ex:6: (module)429could 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"