xmtp_elixir_sdk

Build log

nerves_system_x86_64

xmtp_elixir_sdk 0.1.2 · fail · run xmtp_elixir_sdk-0.1.2-1791254964077
220 of 220 lines
1Resolving Hex dependencies...2Resolution completed in 0.291s3Unchanged:4  binary 0.0.55  circular_buffer 1.1.06  decimal 3.1.17  ecto 3.14.28  elixir_make 0.10.09  ex_secp256k1 0.8.010  interactive_cmd 0.1.411  jason 1.4.512  keccak_ex 0.4.213  nerves 2.0.0-pre.214  nerves_discovery 0.1.515  nerves_logging 0.2.416  nerves_runtime 0.13.1317  nerves_system_bbb 2.30.218  nerves_system_br 1.34.419  nerves_system_mangopi_mq_pro 0.17.220  nerves_system_qemu_aarch64 0.4.221  nerves_system_rpi0 2.1.222  nerves_system_rpi4 2.1.223  nerves_system_rpi5 2.1.224  nerves_system_trellis 0.5.025  nerves_system_x86_64 1.34.226  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.127  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.128  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.130  nerves_toolchain_x86_64_nerves_linux_musl 15.3.131  nerves_uevent 0.1.732  phoenix_pubsub 2.3.033  property_table 0.3.434  ring_logger 0.11.735  rustler_precompiled 0.10.036  tablet 0.3.337  telemetry 1.4.238  toolshed 0.5.039  uboot_env 1.0.240  xmtp_elixir_sdk 0.1.241* Getting xmtp_elixir_sdk (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 ecto (Hex package)70* Getting ex_secp256k1 (Hex package)71* Getting jason (Hex package)72* Getting keccak_ex (Hex package)73* Getting phoenix_pubsub (Hex package)74* Getting binary (Hex package)75* Getting rustler_precompiled (Hex package)76* Getting decimal (Hex package)77* Getting telemetry (Hex package)78==> xmtp_elixir_sdk79warning: the dependency :xmtp_elixir_sdk requires Elixir "~> 1.19.5" but you are running on v1.20.380Compiling 65 files (.ex)81    warning: the following clause will never match:8283        nil ->8485    it is expected to match on type:8687        dynamic(88          false or ({:error, :wallet_required} and not {:ok, term()}) or89            ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}90        )9192    type warning found at:93    │94 96 │       nil -> {:error, :xmtp_identity_required}95    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~96    │97    └─ lib/xmtp/identity.ex:96: Xmtp.Identity.ready_inbox_id/29899    warning: the following clause will never match:100101        {:ok, nil} ->102103    it is expected to match on type:104105        dynamic(106          false or ({:error, :wallet_required} and not {:ok, term()}) or107            ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}108        )109110    type warning found at:111    │112 98 │       {:ok, nil} -> {:error, :xmtp_identity_required}113    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~114    │115    └─ lib/xmtp/identity.ex:98: Xmtp.Identity.ready_inbox_id/2116117     warning: this clause of defp encode_archive/2 is never used (or it will always fail/warn when invoked)118     │119 285 │   defp encode_archive(_archive, _key),120     │        ~121     │122     └─ lib/xmtp_elixir_sdk/internal/sync_server.ex:285:8: XmtpElixirSdk.Internal.SyncServer.encode_archive/2123124     warning: this clause of defp fetch_wallet_address/1 is never used (or it will always fail/warn when invoked)125     │126 852 │   defp fetch_wallet_address(_principal), do: {:error, :wallet_required}127     │        ~128     │129     └─ lib/xmtp/room_server.ex:852:8: Xmtp.RoomServer.fetch_wallet_address/1130131     warning: the right-hand side of || will never be executed:132133         build_panel(updated_state, actor_or_target(actor, principal)) || ...134135     because the left-hand side always evaluates to:136137         dynamic(%Xmtp.RoomPanel{user_copy: %{detail: term(), primary: binary()}})138139     where "actor" was given the type:140141         # type: dynamic(%Xmtp.Principal{} or :system)142         # from: lib/xmtp/room_server.ex:191:17143         authorize_invite(actor)144145     where "principal" was given the type:146147         # type: dynamic(%Xmtp.Principal{})148         # from: lib/xmtp/room_server.ex:192:27149         {:ok, principal} <- resolve_target_principal(target)150151     where "updated_state" was given the types:152153         # type: dynamic()154         # from: lib/xmtp/room_server.ex:198:38155         {:ok, panel, updated_state} <- invite_joined_member(next_state, principal, client)156157         # type: dynamic(158           %{159             ...,160             definition: %{161               ...,162               capacity: term(),163               key: term(),164               name: term(),165               presence_timeout_ms: integer()166             },167             mode: :unavailable168           } or169             %{170               ...,171               definition: %{..., key: term(), presence_timeout_ms: integer()},172               mode: :ready,173               repo: atom(),174               room: %Xmtp.Room{}175             }176         )177         # from: lib/xmtp/room_server.ex:199:22178         build_panel(updated_state, actor_or_target(actor, principal))179180     type warning found at:181     │182 199 │       {:reply, {:ok, build_panel(updated_state, actor_or_target(actor, principal)) || panel},183     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~184     │185     └─ lib/xmtp/room_server.ex:199: Xmtp.RoomServer.handle_call/3186187    warning: the following clause is redundant:188189        %Xmtp.Principal{} = principal ->190191    previous clauses have already matched on the following types:192193        %{..., wallet_address: term()}194        %{..., inbox_id: term()}195196    where "principal" was given the type:197198        # type: dynamic(%Xmtp.Principal{})199        # from: lib/xmtp/resolver.ex:74:20200        %Xmtp.Principal{} = principal201202    type warning found at:203    │204 74 │       %Principal{} = principal ->205    │                                ~206    │207    └─ lib/xmtp/resolver.ex:74:32: Xmtp.Resolver.resolve_for_room_invite/3208209Generated xmtp_elixir_sdk app210Building XMTP native bridge211could not compile dependency :xmtp_elixir_sdk, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile xmtp_elixir_sdk --force", update it with "mix deps.update xmtp_elixir_sdk" or clean it with "mix deps.clean xmtp_elixir_sdk"212** (ErlangError) Erlang error: :enoent213    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["build", "--manifest-path", "/work/proj/deps_x86_64/xmtp_elixir_sdk/native/xmtp_native/Cargo.toml", "--release"], [stderr_to_stdout: true])214    (xmtp_elixir_sdk 0.1.2) lib/mix/tasks/compile.xmtp_native.ex:15: Mix.Tasks.Compile.XmtpNative.run/1215    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5216    (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2217    (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4218    (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2219    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5220    (mix 1.20.3) lib/mix/tasks/compile.ex:145: Mix.Tasks.Compile.run/1