Build log
nerves_system_rpi4
nerves_hub_cli 2.1.0 · fail · run nerves_hub_cli-2.1.0-1793133031535
334 of 334 lines
1Resolving Hex dependencies...2Resolution completed in 0.015s3* Getting nerves_hub_cli (Hex package)4* Getting nerves (Hex package)5* Getting logger_backends (Hex package)6* Getting ring_logger (Hex package)7* Getting toolshed (Hex package)8* Getting nerves_runtime (Hex package)9* Getting nerves_system_bbb (Hex package)10* Getting nerves_system_mangopi_mq_pro (Hex package)11* Getting nerves_system_qemu_aarch64 (Hex package)12* Getting nerves_system_rpi0 (Hex package)13* Getting nerves_system_rpi0_2 (Hex package)14* Getting nerves_system_rpi4 (Hex package)15* Getting nerves_system_rpi5 (Hex package)16* Getting nerves_system_trellis (Hex package)17* Getting nerves_system_x86_64 (Hex package)18* Getting nerves_system_br (Hex package)19* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)20* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)21* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)22* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)23* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)24* Getting nerves_logging (Hex package)25* Getting nerves_uevent (Hex package)26* Getting uboot_env (Hex package)27* Getting elixir_make (Hex package)28* Getting property_table (Hex package)29* Getting circular_buffer (Hex package)30* Getting interactive_cmd (Hex package)31* Getting nerves_discovery (Hex package)32* Getting tablet (Hex package)33* Getting jason (Hex package)34* Getting mint (Hex package)35* Getting nimble_csv (Hex package)36* Getting pbcs (Hex package)37* Getting table_rex (Hex package)38* Getting tesla (Hex package)39* Getting x509 (Hex package)40* Getting mime (Hex package)41* Getting hpax (Hex package)42==> tablet43Compiling 2 files (.ex)44Generated tablet app45==> nerves_discovery46Compiling 5 files (.ex)47Generated nerves_discovery app48==> interactive_cmd49Compiling 1 file (.ex)50Generated interactive_cmd app51==> nerves52Compiling 65 files (.ex)53Generated nerves app54==> nerves_system_br55Generated nerves_system_br app56==> mime57Compiling 1 file (.ex)58Generated mime app59warning: "xref: [exclude: ...]" in your mix.exs file is deprecated, instead use: "elixirc_options: [no_warn_undefined: ...]"60 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:243: Mix.Tasks.Compile.Elixir.xref_exclude_opts/261 (mix 1.20.3) lib/mix/tasks/compile.elixir.ex:142: Mix.Tasks.Compile.Elixir.run/162 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/563 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/264 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/465 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/26667==> x50968Compiling 24 files (.ex)69 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 operator70 │71 371 │ <<i::unsigned-size(size)-unit(8)>> = :crypto.strong_rand_bytes(size)72 │ ~73 │74 └─ lib/x509/certificate.ex:371:24: X509.Certificate.random_serial/17576Generated x509 app77==> circular_buffer78Compiling 1 file (.ex)79Generated circular_buffer app80==> jason81Compiling 10 files (.ex)82Generated jason app83==> logger_backends84Compiling 7 files (.ex)85Generated logger_backends app86==> hpax87Compiling 4 files (.ex)88Generated hpax app89==> mint90Compiling 1 file (.erl)91Compiling 21 files (.ex)92Generated mint app93==> tesla94Compiling 58 files (.ex)95Generated tesla app96==> nimble_csv97Compiling 1 file (.ex)98Generated nimble_csv app99==> pbcs100Compiling 9 files (.ex)101 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 operator102 │103 20 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key104 │ ~105 │106 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:28: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3107108 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 operator109 │110 20 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key111 │ ~112 │113 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:20:60: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3114115 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 operator116 │117 24 │ <<cipher_tag::binary-size(tag_size), _::binary>> = hmac_sha2(mac_key, mac_data)118 │ ~119 │120 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:24:31: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3121122 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 36 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key125 │ ~126 │127 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:28: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/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 36 │ <<mac_key::binary-size(mac_size), enc_key::binary-size(enc_size)>> = key132 │ ~133 │134 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:36:60: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/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 41 │ <<^cipher_tag::binary-size(tag_size), _::binary>> ->139 │ ~140 │141 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:41:34: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3142143 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 operator144 │145 15 │ <<derived_key::binary-size(derived_key_length), _::binary>> =146 │ ~147 │148 └─ lib/pbcs/pkcs5.ex:15:34: PBCS.PKCS5.pbkdf2/5149150 warning: the following clause cannot match because the previous clauses already matched all possible values:151152 content_encryptor_error ->153154 it attempts to match on the result of:155156 module.init(protected, opts)157158 which has the already matched type:159160 dynamic({:ok, %{key_length: integer()}})161162 where "content_encryptor_error" was given the type:163164 # type: dynamic({:ok, %{key_length: integer()}})165 # from: lib/pbcs/content_encryptor.ex:52:11166 content_encryptor_error167168 type warning found at:169 │170 52 │ content_encryptor_error ->171 │ ~172 │173 └─ lib/pbcs/content_encryptor.ex:52:35: PBCS.ContentEncryptor.init/2174175 warning: incompatible types given to aes_cbc_encrypt/3:176177 aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))178179 given types:180181 binary(), dynamic(bitstring()), -binary()-182183 but expected one of:184185 bitstring(), term(), {term(), term()}186187 where "enc_key" was given the type:188189 # type: binary()190 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:20:46191 <<..., enc_key::binary-size(enc_size)>>192193 where "iv" was given the types:194195 # type: dynamic(bitstring())196 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:14:47197 iv198199 # type: bitstring()200 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:16:14201 bit_size(iv)202203 where "plain_text" was given the types:204205 # type: binary()206 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:15:31207 is_binary(plain_text)208209 # type: binary()210 # from: lib/pbcs/aes_cbc_hmac_sha2.ex211 {aad, plain_text}212213 type warning found at:214 │215 21 │ cipher_text = aes_cbc_encrypt(enc_key, iv, pkcs7_pad(plain_text))216 │ ~217 │218 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:21:19: PBCS.AES_CBC_HMAC_SHA2.content_encrypt/3219220 warning: incompatible types given to aes_cbc_decrypt/3:221222 aes_cbc_decrypt(enc_key, iv, cipher_text)223224 given types:225226 binary(), binary(), -binary()-227228 but expected one of:229230 bitstring(), term(), {term(), term(), term()}231232 where "cipher_text" was given the types:233234 # type: binary()235 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:23236 {aad, cipher_text, cipher_tag}237238 # type: binary()239 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:31:31240 is_binary(cipher_text)241242 where "enc_key" was given the type:243244 # type: binary()245 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:36:46246 <<..., enc_key::binary-size(enc_size)>>247248 where "iv" was given the types:249250 # type: dynamic(bitstring())251 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:30:60252 iv253254 # type: bitstring()255 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:32:51256 bit_size(iv)257258 # type: binary()259 # from: lib/pbcs/aes_cbc_hmac_sha2.ex:38260 <<..., iv::binary, ...>>261262 type warning found at:263 │264 42 │ case aes_cbc_decrypt(enc_key, iv, cipher_text) do265 │ ~266 │267 └─ lib/pbcs/aes_cbc_hmac_sha2.ex:42:14: PBCS.AES_CBC_HMAC_SHA2.content_decrypt/3268269Generated pbcs app270==> table_rex271Compiling 7 files (.ex)272 warning: incompatible types given to Map.get/3:273274 Map.get(cell, :width_calc, nil)275276 the map:277278 dynamic(%TableRex.Cell{})279280 does not have all required keys:281282 :width_calc283284 therefore this function will always return nil285286 where "cell" was given the types:287288 # type: dynamic(%TableRex.Cell{})289 # from: lib/table_rex/renderer/text.ex:305:63290 %TableRex.Cell{} = cell291292 # type: dynamic(%TableRex.Cell{})293 # from: lib/table_rex/renderer/text.ex294 {%TableRex.Cell{} = cell, col_index}295296 type warning found at:297 │298 312 │ Map.get(cell, :width_calc, nil) || Table.get_column_meta(table, col_index, :width_calc)299 │ ~300 │301 └─ lib/table_rex/renderer/text.ex:312:11: TableRex.Renderer.Text.render_cell/3302303Generated table_rex app304==> nerves_hub_cli305Compiling 45 files (.ex)306warning: `use Tesla.Builder` and `use Tesla` in NervesHubCLI.API are soft-deprecated. It will be removed in future major version in favor of307Runtime Configuration instead. Please share your feedback at https://github.com/elixir-tesla/tesla/discussions/732308309If you can turn off this warning, add the following to your config.exs:310311```elixir312config :tesla, disable_deprecated_builder_warning: true313```314315 (tesla 1.22.0) lib/tesla/builder.ex:12: Tesla.Builder."MACRO-__using__"/2316 (elixir 1.20.3) src/elixir_dispatch.erl:263: :elixir_dispatch.expand_macro_fun/7317 (elixir 1.20.3) src/elixir_dispatch.erl:155: :elixir_dispatch.dispatch_require/7318 (elixir 1.20.3) src/elixir_expand.erl:670: :elixir_expand.expand_block/5319 (elixir 1.20.3) src/elixir_expand.erl:53: :elixir_expand.expand/3320 (elixir 1.20.3) src/elixir_dispatch.erl:277: :elixir_dispatch.expand_quoted/7321322 warning: function config/0 is unused323 │324 204 │ defp config() do325 │ ~326 │327 └─ lib/nerves_hub_cli/cli/utils.ex:204:8: NervesHubCLI.CLI.Utils (module)328329330== Compilation error in file lib/nerves_hub_cli/api.ex ==331** (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)332 CAStore.file_path()333 lib/nerves_hub_cli/api.ex:8: (module)334could 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"