nerves_hub_cli

Build log

nerves_system_x86_64

nerves_hub_cli 2.1.0 · fail · run nerves_hub_cli-2.1.0-1791010422035
282 of 282 lines
1Resolving Hex dependencies...2Resolution completed in 0.231s3Unchanged: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==> tesla79Compiling 57 files (.ex)80Generated tesla app81==> pbcs82Compiling 9 files (.ex)83    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 operator84    │85 20 │     <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key86    │                            ~87    │88    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:28: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/38990    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 operator91    │92 20 │     <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key93    │                                                            ~94    │95    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:60: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/39697    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 operator98    │99 24 │     <<cipher_tag::binary-size(tag_size), _::binary>> = hmac_sha2(mac_key, mac_data)100    │                               ~101    │102    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:24:31: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3103104    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 operator105    │106 36 │     <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key107    │                            ~108    │109    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:28: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3110111    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 operator112    │113 36 │     <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key114    │                                                            ~115    │116    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:60: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3117118    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 operator119    │120 41 │       <<^cipher_tag::binary-size(tag_size), _::binary>> ->121    │                                  ~122    │123    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:41:34: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3124125    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 operator126    │127 15 │       <<derived_key::binary-size(derived_key_length), _::binary>> =128    │                                  ~129    │130    └─ lib/pbcs/pkcs5.ex:15:34: PBCS.PKCS5.pbkdf2/5131132    warning: incompatible types given to aes_cbc_encrypt/3:133134        aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))135136    given types:137138        binary(), dynamic(bitstring()), -binary()-139140    but expected one of:141142        bitstring(), term(), {term(), term()}143144    where "enc_key" was given the type:145146        # type: binary()147        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:20:46148        <<..., enc_key::binary-size(enc_size)>>149150    where "iv" was given the types:151152        # type: dynamic(bitstring())153        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:14:47154        iv155156        # type: bitstring()157        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:16:14158        bit_size(iv)159160    where "plain_text" was given the types:161162        # type: binary()163        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:15:31164        is_binary(plain_text)165166        # type: binary()167        # from: lib/pbcs/aes_cbc_hmac_sha2.ex168        {aad, plain_text}169170    type warning found at:171    │172 21 │     cipher_text = aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))173    │                   ~174    │175    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:21:19: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3176177    warning: incompatible types given to aes_cbc_decrypt/3:178179        aes_cbc_decrypt(enc_key, iv, cipher_text)180181    given types:182183        binary(), binary(), -binary()-184185    but expected one of:186187        bitstring(), term(), {term(), term(), term()}188189    where "cipher_text" was given the types:190191        # type: binary()192        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:23193        {aad, cipher_text, cipher_tag}194195        # type: binary()196        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:31:31197        is_binary(cipher_text)198199    where "enc_key" was given the type:200201        # type: binary()202        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:36:46203        <<..., enc_key::binary-size(enc_size)>>204205    where "iv" was given the types:206207        # type: dynamic(bitstring())208        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:60209        iv210211        # type: bitstring()212        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:32:51213        bit_size(iv)214215        # type: binary()216        # from: lib/pbcs/aes_cbc_hmac_sha2.ex:38217        <<..., iv::binary, ...>>218219    type warning found at:220    │221 42 │         case aes_cbc_decrypt(enc_key, iv, cipher_text) do222    │              ~223    │224    └─ lib/pbcs/aes_cbc_hmac_sha2.ex:42:14: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3225226    warning: the following clause cannot match because the previous clauses already matched all possible values:227228        content_encryptor_error ->229230    it attempts to match on the result of:231232        module.init(protected, opts)233234    which has the already matched type:235236        dynamic({:ok, %{key_length: integer()}})237238    where "content_encryptor_error" was given the type:239240        # type: dynamic({:ok, %{key_length: integer()}})241        # from: lib/pbcs/content_encryptor.ex:52:11242        content_encryptor_error243244    type warning found at:245    │246 52 │           content_encryptor_error ->247    │                                   ~248    │249    └─ lib/pbcs/content_encryptor.ex:52:35: PBCS.ContentEncryptor.init/2250251Generated pbcs app252==> nerves_hub_cli253Compiling 45 files (.ex)254warning: `use Tesla.Builder` and `use Tesla` in NervesHubCLI.API are soft-deprecated. It will be removed in future major version in favor of255Runtime Configuration instead. Please share your feedback at https://github.com/elixir-tesla/tesla/discussions/732256257If you can turn off this warning, add the following to your config.exs:258259```elixir260config :tesla, disable_deprecated_builder_warning: true261```262263  (tesla 1.21.3) lib/tesla/builder.ex:12: Tesla.Builder."MACRO-__using__"/2264  (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7265  (elixir 1.20.3) src/elixir_dispatch.erl:155: :elixir_dispatch.dispatch_require/7266  (elixir 1.20.3) src/elixir_expand.erl:670: :elixir_expand.expand_block/5267  (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3268  (elixir 1.20.3) src/elixir_dispatch.erl:277: :elixir_dispatch.expand_quoted/7269270     warning: function config/0 is unused271     │272 204 │   defp config() do273     │        ~274     │275     └─ lib/nerves_hub_cli/cli/utils.ex:204:8: NervesHubCLI.CLI.Utils (module)276277278== Compilation error in file lib/nerves_hub_cli/api.ex ==279** (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)280    CAStore.file_path()281    lib/nerves_hub_cli/api.ex:8: (module)282could 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"