Resolving Hex dependencies... Resolution completed in 0.063s Unchanged: attrs 0.6.0 backoff 1.1.6 circular_buffer 1.0.0 commanded 1.4.9 decimal 2.3.0 ecto 3.13.5 elixir_make 0.9.0 interactive_cmd 0.1.4 jason 1.4.4 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 polymorphic_embed 5.0.6 property_table 0.3.3 ring_logger 0.11.5 shoehorn 0.9.3 tablet 0.3.2 telemetry 1.4.1 telemetry_registry 0.3.2 toolshed 0.4.2 trogon_commanded 0.38.1 uboot_env 1.0.2 uniq 0.6.2 All dependencies have been fetched ==> circular_buffer Compiling 1 file (.ex) Generated circular_buffer app ==> nimble_options Compiling 3 files (.ex) Generated nimble_options app ==> tablet Compiling 2 files (.ex) Generated tablet app ==> elixir_make Compiling 8 files (.ex) Generated elixir_make app ==> nerves_logging CC kmsg_tailer.o LD kmsg_tailer Not crosscompiling. To test locally, the port binary needs extra permissions. Set SUDO=sudo to set permissions. The default is to skip this step. SUDO_ASKPASS=/usr/bin/ssh-askpass SUDO=true Compiling 5 files (.ex) Generated nerves_logging app ==> nerves_discovery Compiling 5 files (.ex) Generated nerves_discovery app ==> ring_logger Compiling 7 files (.ex) Generated ring_logger app ==> decimal Compiling 4 files (.ex) Generated decimal app ==> jason Compiling 10 files (.ex) Generated jason app ==> shoehorn Compiling 8 files (.ex) Generated shoehorn 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 ===> Analyzing applications... ===> Compiling telemetry ==> ecto Compiling 56 files (.ex) Generated ecto app ==> uniq Compiling 4 files (.ex) Generated uniq app ==> telemetry_registry Compiling 1 file (.erl) Compiling 1 file (.ex) Generated telemetry_registry app ==> attrs Compiling 1 file (.ex) Generated attrs app ==> polymorphic_embed Compiling 5 files (.ex) Generated polymorphic_embed app ==> nerves_compatibility_test ===> Analyzing applications... ===> Compiling backoff ==> commanded Compiling 69 files (.ex) warning: a struct for Commanded.Aggregates.Aggregate is expected on struct update: %Commanded.Aggregates.Aggregate{ state | aggregate_version: stream_version, aggregate_state: aggregate_module.apply(aggregate_state, data) } but got type: dynamic() where "state" was given the type: # type: dynamic() # from: lib/commanded/aggregates/aggregate_state_builder.ex {state, count} when defining the variable "state", you must also pattern match on "%Commanded.Aggregates.Aggregate{}". 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: │ 99 │ state = %Aggregate{ │ ~ │ └─ lib/commanded/aggregates/aggregate_state_builder.ex:99:17: Commanded.Aggregates.AggregateStateBuilder.rebuild_from_event_stream/2 warning: a struct for Commanded.Aggregates.Aggregate is expected on struct update: %Commanded.Aggregates.Aggregate{state | lifespan_timeout: lifespan_timeout} but got type: dynamic() where "state" was given the type: # type: dynamic() # from: lib/commanded/aggregates/aggregate.ex:322:21 {result, state} = execute_command(context, state) when defining the variable "state", you must also pattern match on "%Commanded.Aggregates.Aggregate{}". 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: │ 351 │ state = %Aggregate{state | lifespan_timeout: lifespan_timeout} │ ~ │ └─ lib/commanded/aggregates/aggregate.ex:351:17: Commanded.Aggregates.Aggregate.handle_call/3 Generated commanded app ==> trogon_commanded Compiling 30 files (.ex) warning: TrogonProto.Stream.V1Alpha1.EnumValueOptions.decode/1 is undefined (module TrogonProto.Stream.V1Alpha1.EnumValueOptions is not available or is yet to be defined) │ 26 │ opts = EnumValueOptions.decode(binary) │ ~ │ └─ lib/trogon/commanded/stream_prefix.ex:26:29: Trogon.Commanded.StreamPrefix.resolve/2 warning: TrogonProto.ObjectId.V1Alpha1.EnumValueOptions.decode/1 is undefined (module TrogonProto.ObjectId.V1Alpha1.EnumValueOptions is not available or is yet to be defined) │ 583 │ opts = ObjectIdEnumValueOptions.decode(binary) │ ~ │ └─ lib/trogon/commanded/object_id.ex:583:37: Trogon.Commanded.ObjectId.extract_proto_options/2 Generated trogon_commanded app ==> uboot_env Compiling 5 files (.ex) Generated uboot_env app ==> property_table Compiling 8 files (.ex) Generated property_table app ==> nerves_uevent CC uevent.o LD uevent Not crosscompiling. To test locally, the port binary needs extra permissions. Set SUDO=sudo to set permissions. The default is to skip this step. SUDO_ASKPASS=/usr/bin/ssh-askpass SUDO=true 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 Nerves environment MIX_TARGET: host MIX_ENV: prod Checking for prebuilt Nerves artifacts... Compiling 2 files (.ex) Generated nerves_compatibility_test app