Build log
nerves_system_trellis
attesto_client 2.6.0 · fail · run attesto_client-2.6.0-1791129262072
482 of 482 lines
1Resolving Hex dependencies...2Resolution completed in 0.205s3Unchanged:4 attesto 2.2.15 attesto_client 2.6.06 circular_buffer 1.1.07 elixir_make 0.10.08 finch 0.24.09 hpax 1.1.010 interactive_cmd 0.1.411 jason 1.4.512 jose 1.11.1213 mime 2.0.714 mint 1.11.015 nerves 2.0.0-pre.216 nerves_discovery 0.1.517 nerves_logging 0.2.418 nerves_runtime 0.13.1319 nerves_system_bbb 2.30.220 nerves_system_br 1.34.421 nerves_system_mangopi_mq_pro 0.17.222 nerves_system_qemu_aarch64 0.4.223 nerves_system_rpi0 2.1.224 nerves_system_rpi4 2.1.225 nerves_system_rpi5 2.1.226 nerves_system_trellis 0.5.027 nerves_system_x86_64 1.34.228 nerves_toolchain_aarch64_nerves_linux_gnu 15.3.129 nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.130 nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.131 nerves_toolchain_riscv64_nerves_linux_gnu 15.3.132 nerves_toolchain_x86_64_nerves_linux_musl 15.3.133 nerves_uevent 0.1.734 nimble_options 1.1.135 nimble_pool 1.1.036 property_table 0.3.437 req 0.7.438 ring_logger 0.11.739 tablet 0.3.340 telemetry 1.4.241 toolshed 0.5.042 uboot_env 1.0.243* Getting attesto_client (Hex package)44* Getting nerves (Hex package)45* Getting ring_logger (Hex package)46* Getting toolshed (Hex package)47* Getting nerves_runtime (Hex package)48* Getting nerves_system_bbb (Hex package)49* Getting nerves_system_mangopi_mq_pro (Hex package)50* Getting nerves_system_qemu_aarch64 (Hex package)51* Getting nerves_system_rpi0 (Hex package)52* Getting nerves_system_rpi4 (Hex package)53* Getting nerves_system_rpi5 (Hex package)54* Getting nerves_system_trellis (Hex package)55* Getting nerves_system_x86_64 (Hex package)56* Getting nerves_system_br (Hex package)57* Getting nerves_toolchain_x86_64_nerves_linux_musl (Hex package)58* Getting nerves_toolchain_armv7_nerves_linux_gnueabihf (Hex package)59* Getting nerves_toolchain_aarch64_nerves_linux_gnu (Hex package)60* Getting nerves_toolchain_armv6_nerves_linux_gnueabihf (Hex package)61* Getting nerves_toolchain_riscv64_nerves_linux_gnu (Hex package)62* Getting nerves_logging (Hex package)63* Getting nerves_uevent (Hex package)64* Getting uboot_env (Hex package)65* Getting elixir_make (Hex package)66* Getting property_table (Hex package)67* Getting circular_buffer (Hex package)68* Getting interactive_cmd (Hex package)69* Getting nerves_discovery (Hex package)70* Getting tablet (Hex package)71* Getting attesto (Hex package)72* Getting jose (Hex package)73* Getting mint (Hex package)74* Getting req (Hex package)75* Getting finch (Hex package)76* Getting jason (Hex package)77* Getting mime (Hex package)78* Getting nimble_options (Hex package)79* Getting nimble_pool (Hex package)80* Getting telemetry (Hex package)81* Getting hpax (Hex package)82==> nerves_system_br83Generated nerves_system_br app84==> mime85Compiling 1 file (.ex)86Generated mime app87==> circular_buffer88Compiling 1 file (.ex)89Generated circular_buffer app90==> nimble_options91Compiling 3 files (.ex)92Generated nimble_options app93==> jason94Compiling 10 files (.ex)95Generated jason app96==> hpax97Compiling 4 files (.ex)98Generated hpax app99==> mint100Compiling 1 file (.erl)101Compiling 21 files (.ex)102Generated mint app103==> jose104Compiling 113 files (.erl)105src/jose_server.erl:137:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.106Compile directive 'nowarn_deprecated_catch' can be used to suppress107warnings in selected modules.108% 137| _ = catch jose_jwa:unsecured_signing(UnsecuredSigning),109% | ^110111src/jose_server.erl:797:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.112Compile directive 'nowarn_deprecated_catch' can be used to suppress113warnings in selected modules.114% 797| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, PlainText, true) of115% | ^116117src/jose_server.erl:799:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.118Compile directive 'nowarn_deprecated_catch' can be used to suppress119warnings in selected modules.120% 799| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, CipherText, false) of121% | ^122123src/jose_server.erl:809:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.124Compile directive 'nowarn_deprecated_catch' can be used to suppress125warnings in selected modules.126% 809| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, IV, PlainText, true) of127% | ^128129src/jose_server.erl:811:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.130Compile directive 'nowarn_deprecated_catch' can be used to suppress131warnings in selected modules.132% 811| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, IV, CipherText, false) of133% | ^134135src/jose_server.erl:821:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.136Compile directive 'nowarn_deprecated_catch' can be used to suppress137warnings in selected modules.138% 821| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, IV, {AAD, PlainText}, true) of139% | ^140141src/jose_server.erl:823:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.142Compile directive 'nowarn_deprecated_catch' can be used to suppress143warnings in selected modules.144% 823| case catch jose_crypto_compat:crypto_one_time(Cipher, Key, IV, {AAD, CipherText, CipherTag}, false) of145% | ^146147src/jose_server.erl:837:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.148Compile directive 'nowarn_deprecated_catch' can be used to suppress149warnings in selected modules.150% 837| case catch public_key:encrypt_public(PlainText, PublicKey, FutureOptions) of151% | ^152153src/jose_server.erl:840:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.154Compile directive 'nowarn_deprecated_catch' can be used to suppress155warnings in selected modules.156% 840| case catch public_key:decrypt_private(CipherText, PrivateKey, FutureOptions) of157% | ^158159src/jose_server.erl:842:11: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.160Compile directive 'nowarn_deprecated_catch' can be used to suppress161warnings in selected modules.162% 842| case catch public_key:decrypt_private(rsa_ciphertext(Algorithm), PrivateKey, FutureOptions) of163% | ^164165src/jose_server.erl:859:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.166Compile directive 'nowarn_deprecated_catch' can be used to suppress167warnings in selected modules.168% 859| case catch public_key:encrypt_public(PlainText, PublicKey, LegacyOptions) of169% | ^170171src/jose_server.erl:862:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.172Compile directive 'nowarn_deprecated_catch' can be used to suppress173warnings in selected modules.174% 862| case catch public_key:decrypt_private(CipherText, PrivateKey, LegacyOptions) of175% | ^176177src/jose_server.erl:864:11: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.178Compile directive 'nowarn_deprecated_catch' can be used to suppress179warnings in selected modules.180% 864| case catch public_key:decrypt_private(rsa_ciphertext(Algorithm), PrivateKey, LegacyOptions) of181% | ^182183src/jose_server.erl:882:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.184Compile directive 'nowarn_deprecated_catch' can be used to suppress185warnings in selected modules.186% 882| case catch public_key:sign(Message, DigestType, PrivateKey, Options) of187% | ^188189src/jose_server.erl:885:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.190Compile directive 'nowarn_deprecated_catch' can be used to suppress191warnings in selected modules.192% 885| case catch public_key:verify(Message, DigestType, Signature, PublicKey, Options) of193% | ^194195src/jose_server.erl:897:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.196Compile directive 'nowarn_deprecated_catch' can be used to suppress197warnings in selected modules.198% 897| case catch public_key:sign(Message, DigestType, PrivateKey) of199% | ^200201src/jose_server.erl:900:9: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.202Compile directive 'nowarn_deprecated_catch' can be used to suppress203warnings in selected modules.204% 900| case catch public_key:verify(Message, DigestType, Signature, PublicKey) of205% | ^206207src/jwa/jose_jwa.erl:230:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.208Compile directive 'nowarn_deprecated_catch' can be used to suppress209warnings in selected modules.210% 230| case catch block_cipher(Cipher) of211% | ^212213src/jwa/jose_jwa.erl:238:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.214Compile directive 'nowarn_deprecated_catch' can be used to suppress215warnings in selected modules.216% 238| case catch ?MAYBE_START_JOSE(ets:lookup_element(?TAB, chacha20_poly1305_module, 2)) of217% | ^218219src/jwa/jose_jwa.erl:246:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.220Compile directive 'nowarn_deprecated_catch' can be used to suppress221warnings in selected modules.222% 246| case catch rsa_crypt(Padding) of223% | ^224225src/jwa/jose_jwa.erl:254:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.226Compile directive 'nowarn_deprecated_catch' can be used to suppress227warnings in selected modules.228% 254| case catch rsa_sign(Padding) of229% | ^230231src/jwa/jose_jwa.erl:262:7: Warning: 'catch ...' is deprecated; please use 'try ... catch ... end' instead.232Compile directive 'nowarn_deprecated_catch' can be used to suppress233warnings in selected modules.234% 262| case catch ?MAYBE_START_JOSE(ets:lookup_element(?TAB, xchacha20_poly1305_module, 2)) of235% | ^236237Compiling 8 files (.ex)238Generated jose app239==> tablet240Compiling 2 files (.ex)241Generated tablet app242==> elixir_make243Compiling 8 files (.ex)244Generated elixir_make app245==> nerves_logging246 CC kmsg_tailer.o247 LD kmsg_tailer248Compiling 5 files (.ex)249Generated nerves_logging app250==> nerves_discovery251Compiling 5 files (.ex)252Generated nerves_discovery app253==> ring_logger254Compiling 7 files (.ex)255Generated ring_logger app256==> interactive_cmd257Compiling 1 file (.ex)258Generated interactive_cmd app259==> nerves260Compiling 65 files (.ex)261 warning: redefining module Mix.Tasks.Nerves.Init (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Mix.Tasks.Nerves.Init.beam)262 │263 6 │ defmodule Mix.Tasks.Nerves.Init do264 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~265 │266 └─ lib/mix/tasks/nerves.init.ex:6: Mix.Tasks.Nerves.Init (module)267268 warning: redefining module Nerves (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.beam)269 │270 6 │ defmodule Nerves do271 │ ~~~~~~~~~~~~~~~~~~~272 │273 └─ lib/nerves.ex:6: Nerves (module)274275 warning: redefining module Nerves.ArtifactResolver (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.ArtifactResolver.beam)276 │277 5 │ defmodule Nerves.ArtifactResolver do278 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~279 │280 └─ lib/nerves/artifact_resolver.ex:5: Nerves.ArtifactResolver (module)281282 warning: redefining module Nerves.BuildAction.AppModes (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.AppModes.beam)283 │284 6 │ defmodule Nerves.BuildAction.AppModes do285 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~286 │287 └─ lib/nerves/build_action/app_modes.ex:6: Nerves.BuildAction.AppModes (module)288289 warning: redefining module Nerves.BuildAction.CheckExecutables (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.CheckExecutables.beam)290 │291 5 │ defmodule Nerves.BuildAction.CheckExecutables do292 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~293 │294 └─ lib/nerves/build_action/check_executables.ex:5: Nerves.BuildAction.CheckExecutables (module)295296 warning: redefining module Nerves.BuildAction.Firmware (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Firmware.beam)297 │298 5 │ defmodule Nerves.BuildAction.Firmware do299 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~300 │301 └─ lib/nerves/build_action/firmware.ex:5: Nerves.BuildAction.Firmware (module)302303 warning: redefining module Nerves.BuildAction.Erlinit (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Erlinit.beam)304 │305 8 │ defmodule Nerves.BuildAction.Erlinit do306 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~307 │308 └─ lib/nerves/build_action/erlinit.ex:8: Nerves.BuildAction.Erlinit (module)309310 warning: redefining module Nerves.BuildAction.IExStartupCheck (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.IExStartupCheck.beam)311 │312 7 │ defmodule Nerves.BuildAction.IExStartupCheck do313 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~314 │315 └─ lib/nerves/build_action/iex_startup_check.ex:7: Nerves.BuildAction.IExStartupCheck (module)316317 warning: redefining module Nerves.BuildAction.NervesV1System (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1System.beam)318 │319 5 │ defmodule Nerves.BuildAction.NervesV1System do320 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~321 │322 └─ lib/nerves/build_action/nerves_v1_system.ex:5: Nerves.BuildAction.NervesV1System (module)323324 warning: redefining module Nerves.BuildAction.NervesV1Toolchain (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.NervesV1Toolchain.beam)325 │326 5 │ defmodule Nerves.BuildAction.NervesV1Toolchain do327 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~328 │329 └─ lib/nerves/build_action/nerves_v1_toolchain.ex:5: Nerves.BuildAction.NervesV1Toolchain (module)330331 warning: redefining module Nerves.BuildAction.Rootfs (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Rootfs.beam)332 │333 5 │ defmodule Nerves.BuildAction.Rootfs do334 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~335 │336 └─ lib/nerves/build_action/rootfs.ex:5: Nerves.BuildAction.Rootfs (module)337338 warning: redefining module Nerves.BuildAction.SortApps (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.SortApps.beam)339 │340 6 │ defmodule Nerves.BuildAction.SortApps do341 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~342 │343 └─ lib/nerves/build_action/sort_apps.ex:6: Nerves.BuildAction.SortApps (module)344345 warning: redefining module Nerves.BuildAction.StripAll (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.StripAll.beam)346 │347 5 │ defmodule Nerves.BuildAction.StripAll do348 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~349 │350 └─ lib/nerves/build_action/strip_all.ex:5: Nerves.BuildAction.StripAll (module)351352 warning: redefining module Nerves.BuildAction.Trimmer (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildAction.Trimmer.beam)353 │354 5 │ defmodule Nerves.BuildAction.Trimmer do355 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~356 │357 └─ lib/nerves/build_action/trimmer.ex:5: Nerves.BuildAction.Trimmer (module)358359 warning: redefining module Nerves.BuildPlan (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.beam)360 │361 5 │ defmodule Nerves.BuildPlan do362 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~363 │364 └─ lib/nerves/build_plan.ex:5: Nerves.BuildPlan (module)365366 warning: redefining module Nerves.BuildPlan.Checks (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.BuildPlan.Checks.beam)367 │368 5 │ defmodule Nerves.BuildPlan.Checks do369 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~370 │371 └─ lib/nerves/build_plan/checks.ex:5: Nerves.BuildPlan.Checks (module)372373 warning: redefining module Nerves.Container (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Container.beam)374 │375 6 │ defmodule Nerves.Container do376 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~377 │378 └─ lib/nerves/container.ex:6: Nerves.Container (module)379380 warning: redefining module Nerves.Fingerprint (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Fingerprint.beam)381 │382 5 │ defmodule Nerves.Fingerprint do383 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~384 │385 └─ lib/nerves/fingerprint.ex:5: Nerves.Fingerprint (module)386387 warning: redefining module Nerves.MixPackage (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.MixPackage.beam)388 │389 5 │ defmodule Nerves.MixPackage do390 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~391 │392 └─ lib/nerves/mix_package.ex:5: Nerves.MixPackage (module)393394 warning: redefining module Nerves.Paths (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.Paths.beam)395 │396 5 │ defmodule Nerves.Paths do397 │ ~~~~~~~~~~~~~~~~~~~~~~~~~398 │399 └─ lib/nerves/paths.ex:5: Nerves.Paths (module)400401 warning: redefining module Nerves.TargetTuple (current version loaded from /work/proj/_build/trellis/lib/nerves/ebin/Elixir.Nerves.TargetTuple.beam)402 │403 5 │ defmodule Nerves.TargetTuple do404 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~405 │406 └─ lib/nerves/target_tuple.ex:5: Nerves.TargetTuple (module)407408Generated nerves app409==> nerves_toolchain_armv7_nerves_linux_gnueabihf410Compiling 1 file (.ex)411Generated nerves_toolchain_armv7_nerves_linux_gnueabihf app412==> nerves_system_trellis413Generated nerves_system_trellis app414==> nerves_compatibility_test415===> Analyzing applications...416===> Compiling telemetry417==> attesto418Compiling 103 files (.ex)419Generated attesto app420==> uboot_env421Compiling 5 files (.ex)422Generated uboot_env app423==> nimble_pool424Compiling 2 files (.ex)425Generated nimble_pool app426==> finch427Compiling 23 files (.ex)428Generated finch app429==> req430Compiling 24 files (.ex)431Generated req app432==> attesto_client433Compiling 36 files (.ex)434 warning: the following pattern will never match:435436 {:ok, %{namespaces: namespaces, device_key: device_key, doc_type: doc_type}} <-437 Attesto.Mdoc.verify(credential, trusted(opts), verify_opts(opts))438439 because the right-hand side has type:440441 none()442443 where "credential" was given the type:444445 # type: dynamic()446 # from: lib/attesto_client/wallet.ex:468:40447 credential448449 where "opts" was given the type:450451 # type: dynamic(empty_list() or non_empty_list(term(), term()))452 # from: lib/attesto_client/wallet.ex:470:44453 trusted(opts)454455 type warning found at:456 │457 469 │ with {:ok, %{namespaces: namespaces, device_key: device_key, doc_type: doc_type}} <-458 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~459 │460 └─ lib/attesto_client/wallet.ex:469: AttestoClient.Wallet.verify_credential/3461462Generated attesto_client app463==> property_table464Compiling 8 files (.ex)465Generated property_table app466==> nerves_uevent467 CC uevent.o468Assembler messages:469Fatal error: can't create /work/proj/_build/trellis/lib/nerves_uevent/obj/uevent.o: No such file or directory470c_src/uevent.c:851:1: fatal error: error writing to -: Broken pipe471 851 | }472 | ^473compilation terminated.474make: *** [Makefile:82: /work/proj/_build/trellis/lib/nerves_uevent/obj/uevent.o] Error 1475could not compile dependency :nerves_uevent, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile nerves_uevent --force", update it with "mix deps.update nerves_uevent" or clean it with "mix deps.clean nerves_uevent"476==> nerves_compatibility_test477** (Mix) Could not compile with "make" (exit status: 2).478If the error message above says that libmnl.h can't be found, then the479fix is to install libmnl. For example, run `apt install libmnl-dev` on480Debian-based systems. For Nerves targets, be sure to include481`BR2_PACKAGE_LIBMNL=y` in the Nerves system's nerves_defconfig.482