Build log
host
xmtp_elixir_sdk 0.1.2 · fail · run xmtp_elixir_sdk-0.1.2-1791254964077
184 of 184 lines
1Resolving Hex dependencies...2Resolution completed in 0.353s3Unchanged: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.241All dependencies have been fetched42==> xmtp_elixir_sdk43warning: the dependency :xmtp_elixir_sdk requires Elixir "~> 1.19.5" but you are running on v1.20.344Compiling 65 files (.ex)45 warning: the following clause will never match:4647 nil ->4849 it is expected to match on type:5051 dynamic(52 false or ({:error, :wallet_required} and not {:ok, term()}) or53 ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}54 )5556 type warning found at:57 │58 96 │ nil -> {:error, :xmtp_identity_required}59 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~60 │61 └─ lib/xmtp/identity.ex:96: Xmtp.Identity.ready_inbox_id/26263 warning: the following clause will never match:6465 {:ok, nil} ->6667 it is expected to match on type:6869 dynamic(70 false or ({:error, :wallet_required} and not {:ok, term()}) or71 ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}72 )7374 type warning found at:75 │76 98 │ {:ok, nil} -> {:error, :xmtp_identity_required}77 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~78 │79 └─ lib/xmtp/identity.ex:98: Xmtp.Identity.ready_inbox_id/28081 warning: this clause of defp encode_archive/2 is never used (or it will always fail/warn when invoked)82 │83 285 │ defp encode_archive(_archive, _key),84 │ ~85 │86 └─ lib/xmtp_elixir_sdk/internal/sync_server.ex:285:8: XmtpElixirSdk.Internal.SyncServer.encode_archive/28788 warning: this clause of defp fetch_wallet_address/1 is never used (or it will always fail/warn when invoked)89 │90 852 │ defp fetch_wallet_address(_principal), do: {:error, :wallet_required}91 │ ~92 │93 └─ lib/xmtp/room_server.ex:852:8: Xmtp.RoomServer.fetch_wallet_address/19495 warning: the right-hand side of || will never be executed:9697 build_panel(updated_state, actor_or_target(actor, principal)) || ...9899 because the left-hand side always evaluates to:100101 dynamic(%Xmtp.RoomPanel{user_copy: %{detail: term(), primary: binary()}})102103 where "actor" was given the type:104105 # type: dynamic(%Xmtp.Principal{} or :system)106 # from: lib/xmtp/room_server.ex:191:17107 authorize_invite(actor)108109 where "principal" was given the type:110111 # type: dynamic(%Xmtp.Principal{})112 # from: lib/xmtp/room_server.ex:192:27113 {:ok, principal} <- resolve_target_principal(target)114115 where "updated_state" was given the types:116117 # type: dynamic()118 # from: lib/xmtp/room_server.ex:198:38119 {:ok, panel, updated_state} <- invite_joined_member(next_state, principal, client)120121 # type: dynamic(122 %{123 ...,124 definition: %{125 ...,126 capacity: term(),127 key: term(),128 name: term(),129 presence_timeout_ms: integer()130 },131 mode: :unavailable132 } or133 %{134 ...,135 definition: %{..., key: term(), presence_timeout_ms: integer()},136 mode: :ready,137 repo: atom(),138 room: %Xmtp.Room{}139 }140 )141 # from: lib/xmtp/room_server.ex:199:22142 build_panel(updated_state, actor_or_target(actor, principal))143144 type warning found at:145 │146 199 │ {:reply, {:ok, build_panel(updated_state, actor_or_target(actor, principal)) || panel},147 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~148 │149 └─ lib/xmtp/room_server.ex:199: Xmtp.RoomServer.handle_call/3150151 warning: the following clause is redundant:152153 %Xmtp.Principal{} = principal ->154155 previous clauses have already matched on the following types:156157 %{..., wallet_address: term()}158 %{..., inbox_id: term()}159160 where "principal" was given the type:161162 # type: dynamic(%Xmtp.Principal{})163 # from: lib/xmtp/resolver.ex:74:20164 %Xmtp.Principal{} = principal165166 type warning found at:167 │168 74 │ %Principal{} = principal ->169 │ ~170 │171 └─ lib/xmtp/resolver.ex:74:32: Xmtp.Resolver.resolve_for_room_invite/3172173Generated xmtp_elixir_sdk app174Building XMTP native bridge175could 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"176** (ErlangError) Erlang error: :enoent177 (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["build", "--manifest-path", "/work/proj/deps/xmtp_elixir_sdk/native/xmtp_native/Cargo.toml", "--release"], [stderr_to_stdout: true])178 (xmtp_elixir_sdk 0.1.2) lib/mix/tasks/compile.xmtp_native.ex:15: Mix.Tasks.Compile.XmtpNative.run/1179 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5180 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2181 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4182 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2183 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5184 (mix 1.20.3) lib/mix/tasks/compile.ex:145: Mix.Tasks.Compile.run/1