Build log
host
xmtp_elixir_sdk 0.1.2 · fail · run xmtp_elixir_sdk-0.1.2-1792618420911
313 of 313 lines
1Resolving Hex dependencies...2Resolution completed in 0.122s3Unchanged: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.242All dependencies have been fetched43==> binary44Compiling 2 files (.ex)45Generated binary app46==> keccak_ex47Compiling 1 file (.ex)48 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity49 │50 160 │ |> List.replace_at(1, ~~~a01 &&& @invalidate)51 │ ~52 │53 └─ lib/keccak_ex.ex:160:305455 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity56 │57 161 │ |> List.replace_at(2, ~~~a02 &&& @invalidate)58 │ ~59 │60 └─ lib/keccak_ex.ex:161:306162 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity63 │64 162 │ |> List.replace_at(8, ~~~a08 &&& @invalidate)65 │ ~66 │67 └─ lib/keccak_ex.ex:162:306869 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity70 │71 163 │ |> List.replace_at(12, ~~~a12 &&& @invalidate)72 │ ~73 │74 └─ lib/keccak_ex.ex:163:307576 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity77 │78 164 │ |> List.replace_at(17, ~~~a17 &&& @invalidate)79 │ ~80 │81 └─ lib/keccak_ex.ex:164:308283 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity84 │85 165 │ |> List.replace_at(20, ~~~a20 &&& @invalidate)86 │ ~87 │88 └─ lib/keccak_ex.ex:165:308990 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity91 │92 314 │ bnn = ~~~a12 &&& @invalidate93 │ ~94 │95 └─ lib/keccak_ex.ex:314:119697 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity98 │99 330 │ bnn = ~~~a22 &&& @invalidate100 │ ~101 │102 └─ lib/keccak_ex.ex:330:11103104 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity105 │106 346 │ bnn = ~~~a19 &&& @invalidate107 │ ~108 │109 └─ lib/keccak_ex.ex:346:11110111 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity112 │113 362 │ bnn = ~~~a17 &&& @invalidate114 │ ~115 │116 └─ lib/keccak_ex.ex:362:11117118 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity119 │120 378 │ bnn = ~~~a08 &&& @invalidate121 │ ~122 │123 └─ lib/keccak_ex.ex:378:11124125 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity126 │127 495 │ bnn = ~~~a13 &&& @invalidate128 │ ~129 │130 └─ lib/keccak_ex.ex:495:11131132 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity133 │134 511 │ bnn = ~~~a14 &&& @invalidate135 │ ~136 │137 └─ lib/keccak_ex.ex:511:11138139 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity140 │141 527 │ bnn = ~~~a23 &&& @invalidate142 │ ~143 │144 └─ lib/keccak_ex.ex:527:11145146 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity147 │148 543 │ bnn = ~~~a11 &&& @invalidate149 │ ~150 │151 └─ lib/keccak_ex.ex:543:11152153 warning: ~~~ is deprecated. Use Bitwise.bnot/1 instead for clarity154 │155 559 │ bnn = ~~~a16 &&& @invalidate156 │ ~157 │158 └─ lib/keccak_ex.ex:559:11159160Generated keccak_ex app161==> rustler_precompiled162Compiling 4 files (.ex)163Generated rustler_precompiled app164==> ex_secp256k1165Compiling 2 files (.ex)16616721:33:55.361 [debug] Downloading NIF from https://github.com/ayrat555/ex_secp256k1/releases/download/v0.8.0/libex_secp256k1-v0.8.0-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz16816921:33:56.039 [debug] NIF cached at /home/nerves/.cache/rustler_precompiled/precompiled_nifs/libex_secp256k1-v0.8.0-nif-2.16-x86_64-unknown-linux-gnu.so.tar.gz and extracted to /work/proj/_build/host/lib/ex_secp256k1/priv/native/libex_secp256k1-v0.8.0-nif-2.16-x86_64-unknown-linux-gnu.so170Generated ex_secp256k1 app171==> xmtp_elixir_sdk172warning: the dependency :xmtp_elixir_sdk requires Elixir "~> 1.19.5" but you are running on v1.20.3173Compiling 65 files (.ex)174 warning: the following clause will never match:175176 nil ->177178 it is expected to match on type:179180 dynamic(181 false or ({:error, :wallet_required} and not {:ok, term()}) or182 ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}183 )184185 type warning found at:186 │187 96 │ nil -> {:error, :xmtp_identity_required}188 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~189 │190 └─ lib/xmtp/identity.ex:96: Xmtp.Identity.ready_inbox_id/2191192 warning: the following clause will never match:193194 {:ok, nil} ->195196 it is expected to match on type:197198 dynamic(199 false or ({:error, :wallet_required} and not {:ok, term()}) or200 ({:error, :xmtp_identity_required} and not {:ok, term()}) or {:error, :unsupported_wallet}201 )202203 type warning found at:204 │205 98 │ {:ok, nil} -> {:error, :xmtp_identity_required}206 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~207 │208 └─ lib/xmtp/identity.ex:98: Xmtp.Identity.ready_inbox_id/2209210 warning: this clause of defp encode_archive/2 is never used (or it will always fail/warn when invoked)211 │212 285 │ defp encode_archive(_archive, _key),213 │ ~214 │215 └─ lib/xmtp_elixir_sdk/internal/sync_server.ex:285:8: XmtpElixirSdk.Internal.SyncServer.encode_archive/2216217 warning: this clause of defp fetch_wallet_address/1 is never used (or it will always fail/warn when invoked)218 │219 852 │ defp fetch_wallet_address(_principal), do: {:error, :wallet_required}220 │ ~221 │222 └─ lib/xmtp/room_server.ex:852:8: Xmtp.RoomServer.fetch_wallet_address/1223224 warning: the right-hand side of || will never be executed:225226 build_panel(updated_state, actor_or_target(actor, principal)) || ...227228 because the left-hand side always evaluates to:229230 dynamic(%Xmtp.RoomPanel{user_copy: %{detail: term(), primary: binary()}})231232 where "actor" was given the type:233234 # type: dynamic(%Xmtp.Principal{} or :system)235 # from: lib/xmtp/room_server.ex:191:17236 authorize_invite(actor)237238 where "principal" was given the type:239240 # type: dynamic(%Xmtp.Principal{})241 # from: lib/xmtp/room_server.ex:192:27242 {:ok, principal} <- resolve_target_principal(target)243244 where "updated_state" was given the types:245246 # type: dynamic()247 # from: lib/xmtp/room_server.ex:198:38248 {:ok, panel, updated_state} <- invite_joined_member(next_state, principal, client)249250 # type: dynamic(251 %{252 ...,253 definition: %{254 ...,255 capacity: term(),256 key: term(),257 name: term(),258 presence_timeout_ms: integer()259 },260 mode: :unavailable261 } or262 %{263 ...,264 definition: %{..., key: term(), presence_timeout_ms: integer()},265 mode: :ready,266 repo: atom(),267 room: %Xmtp.Room{}268 }269 )270 # from: lib/xmtp/room_server.ex:199:22271 build_panel(updated_state, actor_or_target(actor, principal))272273 type warning found at:274 │275 199 │ {:reply, {:ok, build_panel(updated_state, actor_or_target(actor, principal)) || panel},276 │ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~277 │278 └─ lib/xmtp/room_server.ex:199: Xmtp.RoomServer.handle_call/3279280 warning: the following clause is redundant:281282 %Xmtp.Principal{} = principal ->283284 previous clauses have already matched on the following types:285286 %{..., wallet_address: term()}287 %{..., inbox_id: term()}288289 where "principal" was given the type:290291 # type: dynamic(%Xmtp.Principal{})292 # from: lib/xmtp/resolver.ex:74:20293 %Xmtp.Principal{} = principal294295 type warning found at:296 │297 74 │ %Principal{} = principal ->298 │ ~299 │300 └─ lib/xmtp/resolver.ex:74:32: Xmtp.Resolver.resolve_for_room_invite/3301302Generated xmtp_elixir_sdk app303Building XMTP native bridge304could 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"305** (ErlangError) Erlang error: :enoent306 (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])307 (xmtp_elixir_sdk 0.1.2) lib/mix/tasks/compile.xmtp_native.ex:15: Mix.Tasks.Compile.XmtpNative.run/1308 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5309 (mix 1.20.3) lib/mix/task.compiler.ex:299: Mix.Task.Compiler.run_compiler/2310 (mix 1.20.3) lib/mix/task.compiler.ex:287: Mix.Task.Compiler.run/4311 (mix 1.20.3) lib/mix/tasks/compile.all.ex:75: Mix.Tasks.Compile.All.do_run/2312 (mix 1.20.3) lib/mix/task.ex:502: anonymous fn/3 in Mix.Task.run_task/5313 (mix 1.20.3) lib/mix/tasks/compile.ex:145: Mix.Tasks.Compile.run/1