xmtp_elixir_sdk

Build log

nerves_system_rpi4

xmtp_elixir_sdk 0.1.2 · fail · run xmtp_elixir_sdk-0.1.2-1792618420911
350 of 350 lines
1Resolving Hex dependencies...2Resolution completed in 0.107s3Unchanged:4  binary 0.0.55  circular_buffer 1.1.06  decimal 3.2.07  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  logger_backends 1.0.114  nerves 2.0.0-pre.315  nerves_discovery 0.1.616  nerves_logging 0.2.417  nerves_runtime 0.13.1318  nerves_system_bbb 2.31.019  nerves_system_br 1.35.220  nerves_system_mangopi_mq_pro 0.18.021  nerves_system_qemu_aarch64 0.5.022  nerves_system_rpi0 2.2.023  nerves_system_rpi4 2.2.024  nerves_system_rpi5 2.2.025  nerves_system_trellis 0.6.026  nerves_system_x86_64 1.35.027  nerves_toolchain_aarch64_nerves_linux_gnu 15.3.128  nerves_toolchain_armv6_nerves_linux_gnueabihf 15.3.129  nerves_toolchain_armv7_nerves_linux_gnueabihf 15.3.130  nerves_toolchain_riscv64_nerves_linux_gnu 15.3.131  nerves_toolchain_x86_64_nerves_linux_musl 15.3.132  nerves_uevent 0.1.833  phoenix_pubsub 2.4.134  property_table 0.3.435  ring_logger 0.11.736  rustler_precompiled 0.10.037  tablet 0.3.338  telemetry 1.4.239  toolshed 0.5.040  uboot_env 1.0.341  xmtp_elixir_sdk 0.1.242* Getting xmtp_elixir_sdk (Hex package)43* Getting nerves (Hex package)44* Getting logger_backends (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 ecto (Hex package)72* Getting ex_secp256k1 (Hex package)73* Getting jason (Hex package)74* Getting keccak_ex (Hex package)75* Getting phoenix_pubsub (Hex package)76* Getting binary (Hex package)77* Getting rustler_precompiled (Hex package)78* Getting decimal (Hex package)79* Getting telemetry (Hex package)80==> binary81Compiling 2 files (.ex)82Generated binary app83==> keccak_ex84Compiling 1 file (.ex)85     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity86     │87 160 │       |> List.replace_at(1,  ~~~a01 &&& @invalidate)88     │                              ~89     │90     └─ lib/keccak_ex.ex:160:309192     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity93     │94 161 │       |> List.replace_at(2,  ~~~a02 &&& @invalidate)95     │                              ~96     │97     └─ lib/keccak_ex.ex:161:309899     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity100     │101 162 │       |> List.replace_at(8,  ~~~a08 &&& @invalidate)102     │                              ~103     │104     └─ lib/keccak_ex.ex:162:30105106     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity107     │108 163 │       |> List.replace_at(12, ~~~a12 &&& @invalidate)109     │                              ~110     │111     └─ lib/keccak_ex.ex:163:30112113     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity114     │115 164 │       |> List.replace_at(17, ~~~a17 &&& @invalidate)116     │                              ~117     │118     └─ lib/keccak_ex.ex:164:30119120     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity121     │122 165 │       |> List.replace_at(20, ~~~a20 &&& @invalidate)123     │                              ~124     │125     └─ lib/keccak_ex.ex:165:30126127     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity128     │129 314 │     bnn = ~~~a12 &&& @invalidate130     │           ~131     │132     └─ lib/keccak_ex.ex:314:11133134     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity135     │136 330 │     bnn = ~~~a22 &&& @invalidate137     │           ~138     │139     └─ lib/keccak_ex.ex:330:11140141     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity142     │143 346 │     bnn = ~~~a19 &&& @invalidate144     │           ~145     │146     └─ lib/keccak_ex.ex:346:11147148     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity149     │150 362 │     bnn = ~~~a17 &&& @invalidate151     │           ~152     │153     └─ lib/keccak_ex.ex:362:11154155     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity156     │157 378 │     bnn = ~~~a08 &&& @invalidate158     │           ~159     │160     └─ lib/keccak_ex.ex:378:11161162     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity163     │164 495 │     bnn = ~~~a13 &&& @invalidate165     │           ~166     │167     └─ lib/keccak_ex.ex:495:11168169     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity170     │171 511 │     bnn = ~~~a14 &&& @invalidate172     │           ~173     │174     └─ lib/keccak_ex.ex:511:11175176     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity177     │178 527 │     bnn = ~~~a23 &&& @invalidate179     │           ~180     │181     └─ lib/keccak_ex.ex:527:11182183     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity184     │185 543 │     bnn = ~~~a11 &&& @invalidate186     │           ~187     │188     └─ lib/keccak_ex.ex:543:11189190     warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity191     │192 559 │     bnn = ~~~a16 &&& @invalidate193     │           ~194     │195     └─ lib/keccak_ex.ex:559:11196197Generated keccak_ex app198==> rustler_precompiled199Compiling 4 files (.ex)200Generated rustler_precompiled app201==> ex_secp256k1202Compiling 2 files (.ex)20320421:34:06.166 [debug] Downloading NIF from https://github.com/ayrat555/ex_secp256k1/releases/download/v0.8.0/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz20520621:34:06.844 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/rpi4/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-aarch64-unknown-linux-gnu.so207Generated ex_secp256k1 app208==> xmtp_elixir_sdk209warning: the dependency :xmtp_elixir_sdk requires Elixir "~> 1.19.5" but you are running on v1.20.3210Compiling 65 files (.ex)211    warning: the following clause will never match:212213        nil ->214215    it is expected to match on type:216217        dynamic(218          false or ({:error, :wallet_required} and not {:ok, term()}) or219            ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}220        )221222    type warning found at:223    │224 96 │       nil -> {:error, :xmtp_identity_required}225    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~226    │227    └─ lib/xmtp/identity.ex:96: Xmtp.Identity.ready_inbox_id/2228229    warning: the following clause will never match:230231        {:ok, nil} ->232233    it is expected to match on type:234235        dynamic(236          false or ({:error, :wallet_required} and not {:ok, term()}) or237            ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}238        )239240    type warning found at:241    │242 98 │       {:ok, nil} -> {:error, :xmtp_identity_required}243    │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~244    │245    └─ lib/xmtp/identity.ex:98: Xmtp.Identity.ready_inbox_id/2246247     warning: this clause of defp encode_archive/2 is never used (or it will always fail/warn when invoked)248     │249 285 │   defp encode_archive(_archive, _key),250     │        ~251     │252     └─ lib/xmtp_elixir_sdk/internal/sync_server.ex:285:8: XmtpElixirSdk.Internal.SyncServer.encode_archive/2253254     warning: this clause of defp fetch_wallet_address/1 is never used (or it will always fail/warn when invoked)255     │256 852 │   defp fetch_wallet_address(_principal), do: {:error, :wallet_required}257     │        ~258     │259     └─ lib/xmtp/room_server.ex:852:8: Xmtp.RoomServer.fetch_wallet_address/1260261     warning: the right-hand side of || will never be executed:262263         build_panel(updated_state, actor_or_target(actor, principal)) || ...264265     because the left-hand side always evaluates to:266267         dynamic(%Xmtp.RoomPanel{user_copy: %{detail: term(), primary: binary()}})268269     where "actor" was given the type:270271         # type: dynamic(%Xmtp.Principal{} or :system)272         # from: lib/xmtp/room_server.ex:191:17273         authorize_invite(actor)274275     where "principal" was given the type:276277         # type: dynamic(%Xmtp.Principal{})278         # from: lib/xmtp/room_server.ex:192:27279         {:ok, principal} <- resolve_target_principal(target)280281     where "updated_state" was given the types:282283         # type: dynamic()284         # from: lib/xmtp/room_server.ex:198:38285         {:ok, panel, updated_state} <- invite_joined_member(next_state, principal, client)286287         # type: dynamic(288           %{289             ...,290             definition: %{291               ...,292               capacity: term(),293               key: term(),294               name: term(),295               presence_timeout_ms: integer()296             },297             mode: :unavailable298           } or299             %{300               ...,301               definition: %{..., key: term(), presence_timeout_ms: integer()},302               mode: :ready,303               repo: atom(),304               room: %Xmtp.Room{}305             }306         )307         # from: lib/xmtp/room_server.ex:199:22308         build_panel(updated_state, actor_or_target(actor, principal))309310     type warning found at:311     │312 199 │       {:reply, {:ok, build_panel(updated_state, actor_or_target(actor, principal)) || panel},313     │       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~314     │315     └─ lib/xmtp/room_server.ex:199: Xmtp.RoomServer.handle_call/3316317    warning: the following clause is redundant:318319        %Xmtp.Principal{} = principal ->320321    previous clauses have already matched on the following types:322323        %{..., wallet_address: term()}324        %{..., inbox_id: term()}325326    where "principal" was given the type:327328        # type: dynamic(%Xmtp.Principal{})329        # from: lib/xmtp/resolver.ex:74:20330        %Xmtp.Principal{} = principal331332    type warning found at:333    │334 74 │       %Principal{} = principal ->335    │                                ~336    │337    └─ lib/xmtp/resolver.ex:74:32: Xmtp.Resolver.resolve_for_room_invite/3338339Generated xmtp_elixir_sdk app340Building XMTP native bridge341could 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"342** (ErlangError) Erlang error: :enoent343    (elixir 1.20.3) lib/system.ex:1141: System.cmd("cargo", ["build", "--manifest-path", "/work/proj/deps_rpi4/xmtp_elixir_sdk/native/xmtp_native/Cargo.toml", "--release"], [stderr_to_stdout: true])344    (xmtp_elixir_sdk 0.1.2) lib/mix/tasks/compile.xmtp_native.ex:15: Mix.Tasks.Compile.XmtpNative.run/1345    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5346    (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2347    (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4348    (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2349    (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5350    (mix 1.20.3) lib/mix/tasks/compile.ex:145: Mix.Tasks.Compile.run/1