Build log
nerves_system_mangopi_mq_pro
nerves_hub_cli 2.1.0 · fail · run nerves_hub_cli-2.1.0-1791010422035
355 of 355 lines
1Resolving Hex dependencies...2Resolution completed in 0.184s3Unchanged:4 circular_buffer 1.1.05 elixir_make 0.10.06 hpax 1.1.07 interactive_cmd 0.1.48 jason 1.4.59 mime 2.0.710 mint 1.11.011 nerves 2.0.0-pre.212 nerves_discovery 0.1.513 nerves_hub_cli 2.1.014 nerves_logging 0.2.415 nerves_runtime 0.13.1316 nerves_system_bbb 2.30.217 nerves_system_br 1.34.418 nerves_system_mangopi_mq_pro 0.17.219 nerves_system_qemu_aarch64 0.4.220 nerves_system_rpi0 2.1.221 nerves_system_rpi4 2.1.222 nerves_system_rpi5 2.1.223 nerves_system_trellis 0.5.024 nerves_system_x86_64 1.34.225 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.126 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.127 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.128 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.129 nerves_toolchain_x86_64_nerves_linux_musl 15.3.130 nerves_uevent 0.1.731 nimble_csv 1.3.032 pbcs 0.1.433 property_table 0.3.434 ring_logger 0.11.735 table_rex 4.1.036 tablet 0.3.337 tesla 1.21.338 toolshed 0.5.039 uboot_env 1.0.240 x509 0.9.241* Getting nerves_hub_cli (Hex package)42* Getting nerves (Hex package)43* Getting ring_logger (Hex package)44* Getting toolshed (Hex package)45* Getting nerves_runtime (Hex package)46* Getting nerves_system_bbb (Hex package)47* Getting nerves_system_mangopi_mq_pro (Hex package)48* Getting nerves_system_qemu_aarch64 (Hex package)49* Getting nerves_system_rpi0 (Hex package)50* Getting nerves_system_rpi4 (Hex package)51* Getting nerves_system_rpi5 (Hex package)52* Getting nerves_system_trellis (Hex package)53* Getting nerves_system_x86_64 (Hex package)54* Getting nerves_system_br (Hex package)55* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)56* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)57* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)58* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)59* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)60* Getting nerves_logging (Hex package)61* Getting nerves_uevent (Hex package)62* Getting uboot_env (Hex package)63* Getting elixir_make (Hex package)64* Getting property_table (Hex package)65* Getting circular_buffer (Hex package)66* Getting interactive_cmd (Hex package)67* Getting nerves_discovery (Hex package)68* Getting tablet (Hex package)69* Getting jason (Hex package)70* Getting mint (Hex package)71* Getting nimble_csv (Hex package)72* Getting pbcs (Hex package)73* Getting table_rex (Hex package)74* Getting tesla (Hex package)75* Getting x509 (Hex package)76* Getting mime (Hex package)77* Getting hpax (Hex package)78==> nerves_system_br79Generated nerves_system_br app80==> mime81Compiling 1 file (.ex)82Generated mime app83warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"84 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/285 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/186 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/587 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/288 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/489 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/29091==> x50992Compiling 24 files (.ex)93 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 operator94 │95 371 │ <<i::unsigned-size(size)-unit(8)>> = :crypto.strong_rand_bytes(size)96 │ ~97 │98 └─ lib/x509/certificate.ex:371:24: X509.Certificate.random_serial/199100Generated x509 app101==> circular_buffer102Compiling 1 file (.ex)103Generated circular_buffer app104==> jason105Compiling 10 files (.ex)106Generated jason app107==> hpax108Compiling 4 files (.ex)109Generated hpax app110==> mint111Compiling 1 file (.erl)112Compiling 21 files (.ex)113Generated mint app114==> tesla115Compiling 57 files (.ex)116Generated tesla app117==> nimble_csv118Compiling 1 file (.ex)119Generated nimble_csv app120==> pbcs121Compiling 9 files (.ex)122 warning: the variable "mac_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator123 │124 20 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key125 │ ~126 │127 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:28: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3128129 warning: the variable "enc_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator130 │131 20 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key132 │ ~133 │134 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:60: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3135136 warning: the variable "tag_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator137 │138 24 │ <<cipher_tag::binary-size(tag_size), _::binary>> = hmac_sha2(mac_key, mac_data)139 │ ~140 │141 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:24:31: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3142143 warning: the variable "mac_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator144 │145 36 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key146 │ ~147 │148 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:28: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3149150 warning: the variable "enc_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator151 │152 36 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key153 │ ~154 │155 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:60: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3156157 warning: the variable "tag_size" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator158 │159 41 │ <<^cipher_tag::binary-size(tag_size), _::binary>> ->160 │ ~161 │162 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:41:34: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3163164 warning: the variable "derived_key_length" is accessed inside size(...) of a bitstring but it was defined outside of the match. You must precede it with the pin operator165 │166 15 │ <<derived_key::binary-size(derived_key_length), _::binary>> =167 │ ~168 │169 └─ lib/pbcs/pkcs5.ex:15:34: PBCS.PKCS5.pbkdf2/5170171 warning: incompatible types given to aes_cbc_encrypt/3:172173 aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))174175 given types:176177 binary(), dynamic(bitstring()), -binary()-178179 but expected one of:180181 bitstring(), term(), {term(), term()}182183 where "enc_key" was given the type:184185 # type: binary()186 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:20:46187 <<..., enc_key::binary-size(enc_size)>>188189 where "iv" was given the types:190191 # type: dynamic(bitstring())192 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:14:47193 iv194195 # type: bitstring()196 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:16:14197 bit_size(iv)198199 where "plain_text" was given the types:200201 # type: binary()202 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:15:31203 is_binary(plain_text)204205 # type: binary()206 # from: lib/pbcs/aes_cbc_hmac_sha2.ex207 {aad, plain_text}208209 type warning found at:210 │211 21 │ cipher_text = aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))212 │ ~213 │214 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:21:19: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3215216 warning: incompatible types given to aes_cbc_decrypt/3:217218 aes_cbc_decrypt(enc_key, iv, cipher_text)219220 given types:221222 binary(), binary(), -binary()-223224 but expected one of:225226 bitstring(), term(), {term(), term(), term()}227228 where "cipher_text" was given the types:229230 # type: binary()231 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:23232 {aad, cipher_text, cipher_tag}233234 # type: binary()235 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:31:31236 is_binary(cipher_text)237238 where "enc_key" was given the type:239240 # type: binary()241 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:36:46242 <<..., enc_key::binary-size(enc_size)>>243244 where "iv" was given the types:245246 # type: dynamic(bitstring())247 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:60248 iv249250 # type: bitstring()251 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:32:51252 bit_size(iv)253254 # type: binary()255 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:38256 <<..., iv::binary, ...>>257258 type warning found at:259 │260 42 │ case aes_cbc_decrypt(enc_key, iv, cipher_text) do261 │ ~262 │263 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:42:14: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3264265 warning: the following clause cannot match because the previous clauses already matched all possible values:266267 content_encryptor_error ->268269 it attempts to match on the result of:270271 module.init(protected, opts)272273 which has the already matched type:274275 dynamic({:ok, %{key_length: integer()}})276277 where "content_encryptor_error" was given the type:278279 # type: dynamic({:ok, %{key_length: integer()}})280 # from: lib/pbcs/content_encryptor.ex:52:11281 content_encryptor_error282283 type warning found at:284 │285 52 │ content_encryptor_error ->286 │ ~287 │288 └─ lib/pbcs/content_encryptor.ex:52:35: PBCS.ContentEncryptor.init/2289290Generated pbcs app291==> table_rex292Compiling 7 files (.ex)293 warning: incompatible types given to Map.get/3:294295 Map.get(cell, :width_calc, nil)296297 the map:298299 dynamic(%TableRex.Cell{})300301 does not have all required keys:302303 :width_calc304305 therefore this function will always return nil306307 where "cell" was given the types:308309 # type: dynamic(%TableRex.Cell{})310 # from: lib/table_rex/renderer/text.ex:305:63311 %TableRex.Cell{} = cell312313 # type: dynamic(%TableRex.Cell{})314 # from: lib/table_rex/renderer/text.ex315 {%TableRex.Cell{} = cell, col_index}316317 type warning found at:318 │319 312 │ Map.get(cell, :width_calc, nil) || Table.get_column_meta(table, col_index, :width_calc)320 │ ~321 │322 └─ lib/table_rex/renderer/text.ex:312:11: TableRex.Renderer.Text.render_cell/3323324Generated table_rex app325==> nerves_hub_cli326Compiling 45 files (.ex)327warning: `use Tesla.Builder` and `use Tesla` in NervesHubCLI.API are soft-deprecated. It will be removed in future major version in favor of328Runtime Configuration instead. Please share your feedback at https://github.com/elixir-tesla/tesla/discussions/732329330If you can turn off this warning, add the following to your config.exs:331332```elixir333config :tesla, disable_deprecated_builder_warning: true334```335336 (tesla 1.21.3) lib/tesla/builder.ex:12: Tesla.Builder."MACRO-__using__"/2337 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7338 (elixir 1.20.3) src/elixir_dispatch.erl:155: :elixir_dispatch.dispatch_require/7339 (elixir 1.20.3) src/elixir_expand.erl:670: :elixir_expand.expand_block/5340 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3341 (elixir 1.20.3) src/elixir_dispatch.erl:277: :elixir_dispatch.expand_quoted/7342343 warning: function config/0 is unused344 │345 204 │ defp config() do346 │ ~347 │348 └─ lib/nerves_hub_cli/cli/utils.ex:204:8: NervesHubCLI.CLI.Utils (module)349350351== Compilation error in file lib/nerves_hub_cli/api.ex ==352** (UndefinedFunctionError) function CAStore.file_path/0 is undefined (module CAStore is not available). Make sure the module name is correct and has been specified in full (or that an alias has been defined)353 CAStore.file_path()354 lib/nerves_hub_cli/api.ex:8: (module)355could not compile dependency :nerves_hub_cli, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nerves_hub_cli --force", update it with "mix deps.update nerves_hub_cli" or clean it with "mix deps.clean nerves_hub_cli"