Resolving Hex dependencies... Resolution completed in 0.067s Unchanged: adk 0.0.1 circular_buffer 1.0.0 elixir_make 0.9.0 finch 0.21.0 hpax 1.0.3 interactive_cmd 0.1.4 jason 1.4.4 mime 2.0.7 mint 1.7.1 nerves 1.14.1 nerves_discovery 0.1.2 nerves_logging 0.2.4 nerves_runtime 0.13.12 nerves_system_bbb 2.29.3 nerves_system_br 1.33.5 nerves_system_grisp2 0.17.3 nerves_system_mangopi_mq_pro 0.15.3 nerves_system_osd32mp1 0.24.3 nerves_system_qemu_aarch64 0.3.3 nerves_system_rpi 2.0.2 nerves_system_rpi0 2.0.2 nerves_system_rpi0_2 2.0.2 nerves_system_rpi2 2.0.2 nerves_system_rpi3 2.0.2 nerves_system_rpi4 2.0.2 nerves_system_rpi5 2.0.2 nerves_system_x86_64 1.33.3 nerves_toolchain_aarch64_nerves_linux_gnu 13.2.0 nerves_toolchain_armv6_nerves_linux_gnueabihf 13.2.0 nerves_toolchain_armv7_nerves_linux_gnueabihf 13.2.0 nerves_toolchain_ctng 1.10.0 nerves_toolchain_riscv64_nerves_linux_gnu 13.2.0 nerves_toolchain_x86_64_nerves_linux_musl 13.2.0 nerves_uevent 0.1.5 nimble_options 1.1.1 nimble_pool 1.1.0 property_table 0.3.3 req 0.5.17 ring_logger 0.11.5 shoehorn 0.9.3 tablet 0.3.2 telemetry 1.4.1 toolshed 0.4.2 uboot_env 1.0.2 yamerl 0.10.0 yaml_elixir 2.12.1 All dependencies have been fetched ==> jason Compiling 10 files (.ex) Generated jason app ==> tablet Compiling 2 files (.ex) Generated tablet app ==> elixir_make Compiling 8 files (.ex) Generated elixir_make app ==> nerves_discovery Compiling 5 files (.ex) Generated nerves_discovery app ==> interactive_cmd Compiling 1 file (.ex) Generated interactive_cmd app ==> nerves HOST_CC port.o HOST_LD port Compiling 50 files (.ex) Generated nerves app ==> nerves_compatibility_test Nerves environment MIX_TARGET: rpi4 MIX_ENV: prod Checking for prebuilt Nerves artifacts... Found nerves_system_rpi4 in cache /home/nerves/.nerves/artifacts/nerves_system_rpi4-portable-2.0.2 Found nerves_toolchain_aarch64_nerves_linux_gnu in cache /home/nerves/.nerves/artifacts/nerves_toolchain_aarch64_nerves_linux_gnu-linux_aarch64-13.2.0 ==> nerves ==> nerves_system_br Generated nerves_system_br app ==> nerves_toolchain_ctng Compiling 1 file (.ex) Generated nerves_toolchain_ctng app ==> nerves_toolchain_aarch64_nerves_linux_gnu Generated nerves_toolchain_aarch64_nerves_linux_gnu app ==> nerves_system_rpi4 Generated nerves_system_rpi4 app ==> nerves_compatibility_test Nerves environment MIX_TARGET: rpi4 MIX_ENV: prod ==> mime Compiling 1 file (.ex) Generated mime app ==> circular_buffer Compiling 1 file (.ex) Generated circular_buffer app ==> nimble_options Compiling 3 files (.ex) Generated nimble_options app ==> hpax Compiling 4 files (.ex) Generated hpax app ==> mint Compiling 1 file (.erl) Compiling 20 files (.ex) Generated mint app ==> nerves_compatibility_test ===> Analyzing applications... ===> Compiling yamerl ==> nerves_logging CC kmsg_tailer.o LD kmsg_tailer Compiling 5 files (.ex) Generated nerves_logging app ==> ring_logger Compiling 7 files (.ex) Generated ring_logger app ==> shoehorn Compiling 8 files (.ex) Generated shoehorn app ==> yaml_elixir Compiling 6 files (.ex) Generated yaml_elixir app ==> nerves_compatibility_test ===> Analyzing applications... ===> Compiling telemetry ==> uboot_env Compiling 5 files (.ex) Generated uboot_env app ==> nimble_pool Compiling 2 files (.ex) Generated nimble_pool app ==> finch Compiling 14 files (.ex) Generated finch app ==> req Compiling 19 files (.ex) Generated req app ==> adk Compiling 223 files (.ex) warning: Bandit.start_link/1 is undefined (module Bandit is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined) │ 82 │ Bandit.start_link(bandit_opts) │ ~ │ └─ lib/mix/tasks/adk.server.ex:82:12: Mix.Tasks.Adk.Server.start_server/2 warning: Ecto.Adapters.SQL.query/2 is undefined (module Ecto.Adapters.SQL is not available or is yet to be defined) │ 112 │ case Ecto.Adapters.SQL.query(repo, query) do │ ~ │ └─ lib/adk/session/migration.ex:112:30: ADK.Session.Migration.table_exists?/2 └─ lib/adk/session/migration.ex:135:30: ADK.Session.Migration.column_exists?/3 └─ lib/adk/session/migration.ex:159:28: ADK.Session.Migration.query_metadata/2 warning: a struct for ADK.Auth.Config is expected on struct update: %ADK.Auth.Config{config | exchanged_credential: deep_copy_credential(config.raw_credential)} but got type: dynamic() where "config" was given the type: # type: dynamic() # from: lib/adk/auth/handler.ex:118:62 %ADK.Auth.Handler{auth_config: config} = handler when defining the variable "config", you must also pattern match on "%ADK.Auth.Config{}". hint: given pattern matching is enough to catch typing errors, you may optionally convert the struct update into a map update. For example, instead of: user = some_function() %User{user | name: "John Doe"} it is enough to write: %User{} = user = some_function() %{user | name: "John Doe"} typing violation found at: │ 141 │ %Config{ │ ~ │ └─ lib/adk/auth/handler.ex:141:11: ADK.Auth.Handler.generate_auth_request/1 warning: a struct for ADK.Auth.Config is expected on struct update: %ADK.Auth.Config{config | exchanged_credential: exchanged} but got type: dynamic() where "config" was given the type: # type: dynamic() # from: lib/adk/auth/handler.ex:118:62 %ADK.Auth.Handler{auth_config: config} = handler when defining the variable "config", you must also pattern match on "%ADK.Auth.Config{}". hint: given pattern matching is enough to catch typing errors, you may optionally convert the struct update into a map update. For example, instead of: user = some_function() %User{user | name: "John Doe"} it is enough to write: %User{} = user = some_function() %{user | name: "John Doe"} typing violation found at: │ 155 │ %Config{config | exchanged_credential: exchanged} │ ~ │ └─ lib/adk/auth/handler.ex:155:11: ADK.Auth.Handler.generate_auth_request/1 warning: Exqlite.Sqlite3.open/1 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 109 │ case Exqlite.Sqlite3.open(db_path) do │ ~ │ └─ lib/adk/session/store/sqlite.ex:109:26: ADK.Session.Store.SQLite.init/1 warning: Exqlite.Sqlite3.close/1 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 154 │ Exqlite.Sqlite3.close(state.conn) │ ~ │ └─ lib/adk/session/store/sqlite.ex:154:21: ADK.Session.Store.SQLite.terminate/2 warning: Exqlite.Sqlite3.prepare/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 442 │ with {:ok, stmt} <- Exqlite.Sqlite3.prepare(conn, sql), │ ~ │ └─ lib/adk/session/store/sqlite.ex:442:41: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:458:41: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:472:41: ADK.Session.Store.SQLite.query_all/3 warning: Exqlite.Sqlite3.step/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 444 │ :done <- Exqlite.Sqlite3.step(conn, stmt), │ ~ │ └─ lib/adk/session/store/sqlite.ex:444:35: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:461:30: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:483:26: ADK.Session.Store.SQLite.fetch_rows/3 warning: Exqlite.Sqlite3.release/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 445 │ :ok <- Exqlite.Sqlite3.release(conn, stmt) do │ ~ │ └─ lib/adk/session/store/sqlite.ex:445:33: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:466:23: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:475:23: ADK.Session.Store.SQLite.query_all/3 warning: Exqlite.Sqlite3.bind/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 492 │ Exqlite.Sqlite3.bind(stmt, params) │ ~ │ └─ lib/adk/session/store/sqlite.ex:492:21: ADK.Session.Store.SQLite.bind_params/3 Generated adk app ==> property_table Compiling 8 files (.ex) Generated property_table app ==> nerves_uevent CC uevent.o LD uevent Compiling 5 files (.ex) Generated nerves_uevent app ==> nerves_runtime Compiling 14 files (.ex) Generated nerves_runtime app ==> toolshed Compiling 5 files (.ex) Generated toolshed app ==> nerves_compatibility_test Compiling 2 files (.ex) Generated nerves_compatibility_test app |nerves| Building OTP Release... * [Nerves] validating vm.args * skipping runtime configuration (config/runtime.exs not found) * creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args Updating base firmware image with Erlang release... Copying rootfs_overlay: /work/proj/_build/rpi4/nerves/rootfs_overlay Copying rootfs_overlay: /work/proj/rootfs_overlay Building /work/proj/_build/rpi4/nerves/images/nerves_compatibility_test.fw... Firmware UUID: average-armor (1811eed8-9c0d-526d-e6e5-0b8eb32af226) Firmware built successfully! 🎉 Now you may install it to a MicroSD card using `mix burn` or upload it to a device with `mix upload` or `mix firmware.gen.script`+`./upload.sh`. * Cleaning adk ==> nerves ==> nerves_compatibility_test Nerves environment MIX_TARGET: rpi4 MIX_ENV: prod ==> adk Compiling 223 files (.ex) warning: Bandit.start_link/1 is undefined (module Bandit is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined) │ 82 │ Bandit.start_link(bandit_opts) │ ~ │ └─ lib/mix/tasks/adk.server.ex:82:12: Mix.Tasks.Adk.Server.start_server/2 warning: Ecto.Adapters.SQL.query/2 is undefined (module Ecto.Adapters.SQL is not available or is yet to be defined) │ 112 │ case Ecto.Adapters.SQL.query(repo, query) do │ ~ │ └─ lib/adk/session/migration.ex:112:30: ADK.Session.Migration.table_exists?/2 └─ lib/adk/session/migration.ex:135:30: ADK.Session.Migration.column_exists?/3 └─ lib/adk/session/migration.ex:159:28: ADK.Session.Migration.query_metadata/2 warning: a struct for ADK.Auth.Config is expected on struct update: %ADK.Auth.Config{config | exchanged_credential: deep_copy_credential(config.raw_credential)} but got type: dynamic() where "config" was given the type: # type: dynamic() # from: lib/adk/auth/handler.ex:118:62 %ADK.Auth.Handler{auth_config: config} = handler when defining the variable "config", you must also pattern match on "%ADK.Auth.Config{}". hint: given pattern matching is enough to catch typing errors, you may optionally convert the struct update into a map update. For example, instead of: user = some_function() %User{user | name: "John Doe"} it is enough to write: %User{} = user = some_function() %{user | name: "John Doe"} typing violation found at: │ 141 │ %Config{ │ ~ │ └─ lib/adk/auth/handler.ex:141:11: ADK.Auth.Handler.generate_auth_request/1 warning: a struct for ADK.Auth.Config is expected on struct update: %ADK.Auth.Config{config | exchanged_credential: exchanged} but got type: dynamic() where "config" was given the type: # type: dynamic() # from: lib/adk/auth/handler.ex:118:62 %ADK.Auth.Handler{auth_config: config} = handler when defining the variable "config", you must also pattern match on "%ADK.Auth.Config{}". hint: given pattern matching is enough to catch typing errors, you may optionally convert the struct update into a map update. For example, instead of: user = some_function() %User{user | name: "John Doe"} it is enough to write: %User{} = user = some_function() %{user | name: "John Doe"} typing violation found at: │ 155 │ %Config{config | exchanged_credential: exchanged} │ ~ │ └─ lib/adk/auth/handler.ex:155:11: ADK.Auth.Handler.generate_auth_request/1 warning: Exqlite.Sqlite3.open/1 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 109 │ case Exqlite.Sqlite3.open(db_path) do │ ~ │ └─ lib/adk/session/store/sqlite.ex:109:26: ADK.Session.Store.SQLite.init/1 warning: Exqlite.Sqlite3.close/1 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 154 │ Exqlite.Sqlite3.close(state.conn) │ ~ │ └─ lib/adk/session/store/sqlite.ex:154:21: ADK.Session.Store.SQLite.terminate/2 warning: Exqlite.Sqlite3.prepare/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 442 │ with {:ok, stmt} <- Exqlite.Sqlite3.prepare(conn, sql), │ ~ │ └─ lib/adk/session/store/sqlite.ex:442:41: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:458:41: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:472:41: ADK.Session.Store.SQLite.query_all/3 warning: Exqlite.Sqlite3.step/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 444 │ :done <- Exqlite.Sqlite3.step(conn, stmt), │ ~ │ └─ lib/adk/session/store/sqlite.ex:444:35: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:461:30: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:483:26: ADK.Session.Store.SQLite.fetch_rows/3 warning: Exqlite.Sqlite3.release/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 445 │ :ok <- Exqlite.Sqlite3.release(conn, stmt) do │ ~ │ └─ lib/adk/session/store/sqlite.ex:445:33: ADK.Session.Store.SQLite.execute/3 └─ lib/adk/session/store/sqlite.ex:466:23: ADK.Session.Store.SQLite.query_one/3 └─ lib/adk/session/store/sqlite.ex:475:23: ADK.Session.Store.SQLite.query_all/3 warning: Exqlite.Sqlite3.bind/2 is undefined (module Exqlite.Sqlite3 is not available or is yet to be defined) │ 492 │ Exqlite.Sqlite3.bind(stmt, params) │ ~ │ └─ lib/adk/session/store/sqlite.ex:492:21: ADK.Session.Store.SQLite.bind_params/3 Generated adk app ==> nerves_compatibility_test Generated nerves_compatibility_test app |nerves| Building OTP Release... * [Nerves] validating vm.args * skipping runtime configuration (config/runtime.exs not found) * creating _build/rpi4/rel/nerves_compatibility_test/releases/0.1.0/vm.args Updating base firmware image with Erlang release... Copying rootfs_overlay: /work/proj/_build/rpi4/nerves/rootfs_overlay Copying rootfs_overlay: /work/proj/rootfs_overlay Building /work/proj/_build/rpi4/nerves/images/nerves_compatibility_test.fw... Firmware UUID: craft-dice (392ea48b-1b91-5cc9-29bf-940b7db4f661) Firmware built successfully! 🎉 Now you may install it to a MicroSD card using `mix burn` or upload it to a device with `mix upload` or `mix firmware.gen.script`+`./upload.sh`.