-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone#1 of Tesseract native APIs grant #1042
Milestone#1 of Tesseract native APIs grant #1042
Conversation
Thanks @dileping someone will look at the delivery in the next couple of days. |
Hi @keeganquigley! Thanks for letting me know. Looking forward to it! |
Hey @dileping, thanks for the delivery. Everything looks good as usual, but I am struggling to follow the testing guide. When I run the A problem occurred configuring project ':polkachat'.
> Failed to notify project evaluation listener.
> Task with name 'cargoBuild' not found in project ':polkachat'. |
Hi @semuelle! Thanks for starting the testing. Yeah... Rust in Android can be confusing. Let's try to fix the issue.
|
Thanks for the quick reply, @dileping. I actually managed to circumvent the issue by setting > Task :polkachat:cargoBuildX86_64
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [26.1.10909125] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
warning: unused `#[macro_use]` import
--> /home/tesseract/Tesseract.android/rust/transport/src/lib.rs:19:1
|
19 | #[macro_use]
| ^^^^^^^^^^^^
|
virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
= note: `#[warn(unused_imports)]` on by default
warning: `tesseract-android-transport` (lib) generated 1 warning
Compiling subxt v0.32.1
unused `#[macro_use]` import
`tesseract-android-transport` (lib) generated 1 warning
Compiling subxt-signer v0.32.1
Compiling polkachat v0.1.0 (/home/tesseract/polkachat.rs/common)
error[E0432]: unresolved import `jsonrpsee_core::client`
--> common/src/substrate/client.rs:3:21
|
3 | use jsonrpsee_core::client::ClientBuilder;
| ^^^^^^ could not find `client` in `jsonrpsee_core`
error[E0432]: unresolved imports `scale_decode::DecodeAsType`, `scale_decode::DecodeAsFields`
--> common/src/contract/call.rs:1:20
|
1 | use scale_decode::{DecodeAsType, DecodeAsFields};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `DecodeAsFields` in the root
| |
| no `DecodeAsType` in the root
error: cannot determine resolution for the derive macro `DecodeAsType`
--> common/src/contract/call.rs:12:10
|
12 | #[derive(DecodeAsType, Clone, Debug)]
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: could not find `Error` in `scale_decode`
--> common/src/contract/primitives.rs:72:33
|
72 | ).map_err(|err| scale_decode::Error::from(err))?;
| ^^^^^ could not find `Error` in `scale_decode`
|
help: consider importing one of these items
|
1 + use core::error::Error;
|
1 + use core::fmt::Error;
|
1 + use crate::Error;
|
1 + use futures::io::Error;
cannot determine resolution for the derive macro `DecodeAsType`
|
and 14 other candidates
help: if you import `Error`, refer to it directly
|
72 - ).map_err(|err| scale_decode::Error::from(err))?;
72 + ).map_err(|err| Error::from(err))?;
|
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `polkachat` (lib) due to 4 previous errors
could not compile `polkachat` (lib) due to 4 previous errors
> Task :polkachat:cargoBuildX86_64 FAILED
Execution failed for task ':polkachat:cargoBuildX86_64'.
> Process 'command 'cargo'' finished with non-zero exit value 101
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':polkachat:cargoBuildX86_64'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:149)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:147)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'cargo'' finished with non-zero exit value 101
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:415)
at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:202)
at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1230)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:282)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:14)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
at com.nishtahir.CargoBuildTask.build(CargoBuildTask.kt:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:93)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:57)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:54)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:54)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:166)
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70)
at org.gradle.internal.Either$Right.fold(Either.java:175)
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:76)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:37)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:94)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:42)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:31)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49) |
@semuelle I'm trying to replicate your situation, but so far, without any luck, and no matter what I do, it still works perfectly in my environment :D. This looks extremely weird to me (what the log says is that it pretty much can't see some crate dependencies correctly). I'll try to do more tests, but meanwhile, could you try to set the variables in the sdk.dir=/Users/daniel/Library/Android/sdk
ndk.version=26.1.10909125
rust.pythonCommand=python3
ndk.targets=x86_64 Also, what's your installed Rust version? As for the log, is there more, or is it everything it gave you? |
@semuelle I just pushed an update to Fingers crossed, it will also fix the later dependencies issue. Please try to reinitialize |
Thanks for the update, @dileping. It's still not building, though: Executing tasks: [:polkachat:assembleDebug] in project /home/tesseract/polkachat.rs
> Task :polkachat:createDebugVariantModel UP-TO-DATE
> Task :polkachat:preBuild UP-TO-DATE
> Task :polkachat:preDebugBuild UP-TO-DATE
> Task :polkachat:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :polkachat:generateDebugResValues UP-TO-DATE
> Task :polkachat:generateDebugResources UP-TO-DATE
> Task :polkachat:packageDebugResources UP-TO-DATE
> Task :polkachat:parseDebugLocalResources UP-TO-DATE
> Task :polkachat:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:compileKotlin UP-TO-DATE
> Task :polkachat:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:compileJava NO-SOURCE
> Task :polkachat:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:processResources NO-SOURCE
> Task :polkachat:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:classes UP-TO-DATE
> Task :polkachat:compileDebugShaders NO-SOURCE
> Task :polkachat:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:jar UP-TO-DATE
> Task :Tesseract.android:java:base:preBuild UP-TO-DATE
> Task :Tesseract.android:java:base:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:base:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:preBuild UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:preBuild UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:preBuild UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:base:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:base:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:base:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:processDebugManifest UP-TO-DATE
> Task :polkachat:checkDebugDuplicateClasses UP-TO-DATE
> Task :Tesseract.android:java:base:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugBuildConfig UP-TO-DATE
> Task :polkachat:checkDebugAarMetadata UP-TO-DATE
> Task :polkachat:mapDebugSourceSetPaths UP-TO-DATE
> Task :polkachat:mergeDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibCompileToJarDebug UP-TO-DATE
> Task :polkachat:processDebugMainManifest UP-TO-DATE
> Task :polkachat:processDebugManifest UP-TO-DATE
> Task :polkachat:processDebugManifestForPackage UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:base:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:base:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:base:packageDebugAssets UP-TO-DATE
> Task :polkachat:processDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:detached-activity:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:base:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:base:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:common-transport-ipc:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:detached-activity:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:client-transport-ipc:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :polkachat:compileDebugKotlin UP-TO-DATE
> Task :polkachat:compileDebugJavaWithJavac NO-SOURCE
> Task :polkachat:mergeDebugAssets UP-TO-DATE
> Task :polkachat:compressDebugAssets UP-TO-DATE
> Task :polkachat:processDebugJavaRes UP-TO-DATE
> Task :polkachat:mergeDebugJavaResource UP-TO-DATE
> Task :polkachat:desugarDebugFileDependencies UP-TO-DATE
> Task :polkachat:mergeExtDexDebug UP-TO-DATE
> Task :polkachat:mergeLibDexDebug UP-TO-DATE
> Task :polkachat:dexBuilderDebug UP-TO-DATE
> Task :polkachat:mergeProjectDexDebug UP-TO-DATE
> Task :generateLinkerWrapper UP-TO-DATE
> Task :polkachat:cargoBuildX86_64 FAILED
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
warning: unused `#[macro_use]` import
--> /home/tesseract/Tesseract.android/rust/transport/src/lib.rs:19:1
|
19 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `tesseract-android-transport` (lib) generated 1 warning
Compiling polkachat v0.1.0 (/home/tesseract/polkachat.rs/common)
error[E0432]: unresolved import `jsonrpsee_core::client`
--> common/src/substrate/client.rs:3:21
|
3 | use jsonrpsee_core::client::ClientBuilder;
| ^^^^^^ could not find `client` in `jsonrpsee_core`
error[E0432]: unresolved imports `scale_decode::DecodeAsType`, `scale_decode::DecodeAsFields`
--> common/src/contract/call.rs:1:20
|
1 | use scale_decode::{DecodeAsType, DecodeAsFields};
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `DecodeAsFields` in the root
| |
| no `DecodeAsType` in the root
error: cannot determine resolution for the derive macro `DecodeAsType`
--> common/src/contract/call.rs:12:10
|
12 | #[derive(DecodeAsType, Clone, Debug)]
| ^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports
error[E0433]: failed to resolve: could not find `Error` in `scale_decode`
--> common/src/contract/primitives.rs:72:33
|
72 | ).map_err(|err| scale_decode::Error::from(err))?;
| ^^^^^ could not find `Error` in `scale_decode`
|
help: consider importing one of these items
|
1 + use core::error::Error;
|
1 + use core::fmt::Error;
|
1 + use crate::Error;
|
1 + use futures::io::Error;
|
and 14 other candidates
help: if you import `Error`, refer to it directly
|
72 - ).map_err(|err| scale_decode::Error::from(err))?;
72 + ).map_err(|err| Error::from(err))?;
|
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `polkachat` (lib) due to 4 previous errors
> Task :polkachat:fixNotCopyingRustJniLibs UP-TO-DATE
> Task :polkachat:validateSigningDebug UP-TO-DATE
> Task :polkachat:writeDebugAppMetadata UP-TO-DATE
> Task :polkachat:writeDebugSigningConfigVersions UP-TO-DATE
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':polkachat:cargoBuildX86_64'.
> Process 'command 'cargo'' finished with non-zero exit value 101
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':polkachat:cargoBuildX86_64'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:149)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:147)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'cargo'' finished with non-zero exit value 101
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:415)
at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:202)
at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1230)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:282)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:14)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
at com.nishtahir.CargoBuildTask.build(CargoBuildTask.kt:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:93)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:57)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:54)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:54)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:166)
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70)
at org.gradle.internal.Either$Right.fold(Either.java:175)
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:76)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:37)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:94)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:42)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:31)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
* Get more help at https://help.gradle.org
BUILD FAILED in 7s
114 actionable tasks: 1 executed, 113 up-to-date |
Hi @semuelle! I'll install the Linux environment now (it looks like you are testing on Linux) and test there to see if I can replicate it. I've tested it in two Mac environments, and it worked perfectly, so it looks very environment-specific. Meanwhile, could you please send me your environment details:
|
Ubuntu 22.04.3
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-2023-01-04-x86_64-unknown-linux-gnu
nightly-2023-05-22-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
1.57.0-x86_64-unknown-linux-gnu
1.70.0-x86_64-unknown-linux-gnu
installed targets for active toolchain
--------------------------------------
aarch64-linux-android
armv7-linux-androideabi
i686-linux-android
wasm32-unknown-unknown
x86_64-linux-android
x86_64-unknown-linux-gnu
active toolchain
----------------
nightly-x86_64-unknown-linux-gnu (overridden by +toolchain on the command line)
rustc 1.75.0-nightly (fdaaaf9f9 2023-11-08) |
@semuelle, thanks for a quick reply as well. We have just tested it on a freshly installed Ubuntu 23.10 - it works perfectly. I currently have two suggestions to try:
Alternatively, I can suggest trying it on a fresh installation (OS or at least fresh rust), or we could hop on a call and try to resolve it together. |
Just one more though. Since the only packages cargo does not resolve are the substrate-related ones, maybe you have some settings in your system that somehow treat the substrate stuff differently? Maybe from previous testing/development activities? |
Hi @dileping I tried running everything too, since I have a mac, and I was able to get the dev wallet running: I made it through the guide up to the point where it's time to launch the Polkachat app. I updated the sdk.dir=/Users/keeganquigley/Library/Android/sdk
ndk.version=25.1.8937393 But I don't see Polkachat listed as a configuration: Am I supposed to be launching it from the dev-wallet.kotlin folder? Or otherwise how can I install it? Thanks! |
@keeganquigley The polkachat app procedure is described here. |
Hi @semuelle and @keeganquigley! Thanks for trying it in a different environment. The
ndk.version=26.1.10909125 //my NDK version. Yours might be different
rust.pythonCommand=python3 //I need this on my Mac. You might as well.
ndk.targets=x86_64 //for simulator on an Intel Mac.
//Or use "arm64" for an Android phone or if you have an Arm Mac (I haven't tried with an Arm Mac, though).
//If left out, it should still work but will build all 4 targets ["arm", "x86", "arm64", "x86_64"],
//which is a lot of time
Please let me know how it goes and if I can provide more help. |
Thanks @dileping for your help. Yep the However, it sounds like I should be launching from the Polkachat.rs folder, but for me there are no configs there either: I noticed that in the instructions you are launching from a different folder called "Polkadot SmartContract Demo Chat": What do I need to do to next to get the build to show up in configs? (This is probably a simple step I'm missing, I'm not well-versed in Android Studio.) |
@keeganquigley That's correct. You need to open the Could you please click the "Try Again" (it's in your screenshot) and see what logs it will give you? |
Ah ok thanks @dileping yep the app does keep failing to sync when I click "Try Again". I thought this was normal behavior since step 1. says it's normal for errors to occur. Here are the logs: Failing with Full output
Thanks for your help! |
Here is my toolchain: rustup +nightly show
Default host: aarch64-apple-darwin
rustup home: /Users/keeganquigley/.rustup
installed toolchains
--------------------
stable-2023-08-24-aarch64-apple-darwin
stable-aarch64-apple-darwin (default)
nightly-2021-11-04-aarch64-apple-darwin
nightly-2022-02-20-aarch64-apple-darwin
nightly-2022-03-14-aarch64-apple-darwin
nightly-2022-06-20-aarch64-apple-darwin
nightly-2022-06-30-aarch64-apple-darwin
nightly-2022-08-30-aarch64-apple-darwin
nightly-2022-09-08-aarch64-apple-darwin
nightly-2023-01-04-aarch64-apple-darwin
nightly-2023-04-03-aarch64-apple-darwin
nightly-aarch64-apple-darwin
installed targets for active toolchain
--------------------------------------
aarch64-apple-darwin
wasm32-unknown-unknown
active toolchain
----------------
nightly-aarch64-apple-darwin (overridden by +toolchain on the command line)
rustc 1.76.0-nightly (ba7c7a301 2023-11-13) |
@keeganquigley, I believe the NDK version you indicated in the The SDK version in prop file must exactly match the one you have installed. Let me know if it helps. |
@keeganquigley Also, please don't forget you need Android targets for Rust: |
Thanks @dileping that definitely helped, I was able to progress but it is still failing to build unfortunately. Now I'm getting a few errors but not the same ones that @semuelle got. In the meantime I will try changing the resolver. Maybe I need to change the toolchain default? local.properties
Full outputExecuting tasks: [:polkachat:assembleDebug] in project /Users/keeganquigley/polkachat.rs
> Task :polkachat:createDebugVariantModel UP-TO-DATE
> Task :polkachat:preBuild UP-TO-DATE
> Task :polkachat:preDebugBuild UP-TO-DATE
> Task :polkachat:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :polkachat:generateDebugResValues UP-TO-DATE
> Task :polkachat:generateDebugResources UP-TO-DATE
> Task :polkachat:packageDebugResources UP-TO-DATE
> Task :polkachat:parseDebugLocalResources UP-TO-DATE
> Task :polkachat:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :polkachat:extractDeepLinksDebug UP-TO-DATE
> Task :polkachat:javaPreCompileDebug UP-TO-DATE
> Task :polkachat:mergeDebugShaders UP-TO-DATE
> Task :polkachat:compileDebugShaders NO-SOURCE
> Task :polkachat:generateDebugAssets UP-TO-DATE
> Task :polkachat:checkDebugDuplicateClasses UP-TO-DATE
> Task :polkachat:desugarDebugFileDependencies UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:compileKotlin UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:compileJava NO-SOURCE
> Task :Tesseract.android:java:crabdroid:processResources NO-SOURCE
> Task :Tesseract.android:java:crabdroid:classes UP-TO-DATE
> Task :polkachat:mergeExtDexDebug UP-TO-DATE
> Task :Tesseract.android:java:crabdroid:jar UP-TO-DATE
> Task :Tesseract.android:java:base:preBuild UP-TO-DATE
> Task :Tesseract.android:java:base:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:base:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:preBuild UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:preDebugBuild UP-TO-DATE
> Task :generateLinkerWrapper UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:preBuild UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:preBuild UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:preDebugBuild UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:writeDebugAarMetadata UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:base:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugResValues UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:packageDebugResources UP-TO-DATE
> Task :Tesseract.android:java:base:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:extractDeepLinksDebug UP-TO-DATE
> Task :Tesseract.android:java:base:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:processDebugManifest UP-TO-DATE
> Task :Tesseract.android:java:base:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:parseDebugLocalResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugRFile UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugLibraryResources UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:generateDebugBuildConfig UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugKotlin UP-TO-DATE
> Task :Tesseract.android:java:base:javaPreCompileDebug UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugJavaWithJavac UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibCompileToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:base:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:base:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:base:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:common-transport-ipc:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:detached-activity:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugShaders UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:compileDebugShaders NO-SOURCE
> Task :Tesseract.android:java:client-transport-ipc:generateDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:packageDebugAssets UP-TO-DATE
> Task :Tesseract.android:java:base:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:processDebugJavaRes UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibRuntimeToDirDebug UP-TO-DATE
> Task :Tesseract.android:java:base:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:bundleLibRuntimeToJarDebug UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:base:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:base:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:common-transport-ipc:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:common-transport-ipc:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:detached-activity:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:detached-activity:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugJniLibFolders UP-TO-DATE
> Task :Tesseract.android:java:client-transport-ipc:mergeDebugNativeLibs NO-SOURCE
> Task :Tesseract.android:java:client-transport-ipc:copyDebugJniLibsProjectOnly UP-TO-DATE
> Task :polkachat:cargoBuildArm64
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
warning: the feature `result_option_inspect` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
--> /Users/keeganquigley/Tesseract.android/rust/crabdroid/src/lib.rs:20:12
|
20 | #![feature(result_option_inspect)]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
warning: `crabdroid` (lib) generated 1 warning
warning: unused `#[macro_use]` import
--> /Users/keeganquigley/Tesseract.android/rust/transport/src/lib.rs:19:1
|
19 | #[macro_use]
| ^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: `tesseract-android-transport` (lib) generated 1 warning
Compiling polkachat v0.1.0 (/Users/keeganquigley/polkachat.rs/common)
warning: the feature `result_option_inspect` has been stable since 1.76.0-nightly and no longer requires an attribute to enable
--> common/src/lib.rs:2:12
|
2 | #![feature(result_option_inspect)]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(stable_features)]` on by default
error[E0277]: the trait bound `call::ContractEmittedEvent<T>: subxt::ext::scale_decode::DecodeAsFields` is not satisfied
--> common/src/contract/call.rs:18:39
|
18 | impl<T: DecodeAsType> StaticEvent for ContractEmittedEvent<T> where Self: DecodeAsFields {
| ^^^^^^^^^^^^^^^^^^^^^^^ the trait `subxt::ext::scale_decode::DecodeAsFields` is not implemented for `call::ContractEmittedEvent<T>`
|
= help: the following other types implement trait `subxt::ext::scale_decode::DecodeAsFields`:
subxt::ext::scale_value::Composite<u32>
AccountId32
()
(A,)
(A, B)
(A, B, C)
(A, B, C, D)
(A, B, C, D, E)
and 15 others
note: required by a bound in `StaticEvent`
--> /Users/keeganquigley/.cargo/registry/src/index.crates.io-6f17d22bba15001f/subxt-0.32.1/src/events/mod.rs:23:24
|
23 | pub trait StaticEvent: DecodeAsFields {
| ^^^^^^^^^^^^^^ required by this bound in `StaticEvent`
error[E0277]: the trait bound `AccountId32: scale_decode::IntoVisitor` is not satisfied
--> common/src/contract/api.rs:159:27
|
159 | .find_first::<ContractEmittedEvent<<PolkadotConfig as Config>::AccountId>>()?
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `scale_decode::IntoVisitor` is not implemented for `AccountId32`
|
= help: the following other types implement trait `scale_decode::IntoVisitor`:
bool
char
isize
i8
i16
i32
i64
i128
and 64 others
= note: required for `AccountId32` to implement `scale_decode::DecodeAsType`
note: required by a bound in `call::ContractEmittedEvent`
--> common/src/contract/call.rs:13:44
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| ^^^^^^^^^^^^ required by this bound in `ContractEmittedEvent`
error[E0277]: the trait bound `AccountId32: scale_decode::IntoVisitor` is not satisfied
--> common/src/contract/api.rs:152:51
|
152 | let contract::Events::MessageAdded(msg) = self
| ___________________________________________________^
153 | | .client
154 | | .tx()
155 | | .sign_and_submit_then_watch_default(&tx, signer)
... |
158 | | .await?
159 | | .find_first::<ContractEmittedEvent<<PolkadotConfig as Config>::AccountId>>()?
| |________________________________________________________________________________________^ the trait `scale_decode::IntoVisitor` is not implemented for `AccountId32`
|
= help: the following other types implement trait `scale_decode::IntoVisitor`:
bool
char
isize
i8
i16
i32
i64
i128
and 64 others
= note: required for `AccountId32` to implement `scale_decode::DecodeAsType`
note: required by a bound in `call::ContractEmittedEvent`
--> common/src/contract/call.rs:13:44
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| ^^^^^^^^^^^^ required by this bound in `ContractEmittedEvent`
error[E0277]: the trait bound `AccountId32: scale_decode::IntoVisitor` is not satisfied
--> common/src/contract/api.rs:152:51
|
152 | let contract::Events::MessageAdded(msg) = self
| ___________________________________________________^
153 | | .client
154 | | .tx()
155 | | .sign_and_submit_then_watch_default(&tx, signer)
... |
158 | | .await?
159 | | .find_first::<ContractEmittedEvent<<PolkadotConfig as Config>::AccountId>>()?
| |_________________________________________________________________________________________^ the trait `scale_decode::IntoVisitor` is not implemented for `AccountId32`
|
= help: the following other types implement trait `scale_decode::IntoVisitor`:
bool
char
isize
i8
i16
i32
i64
i128
and 64 others
= note: required for `AccountId32` to implement `scale_decode::DecodeAsType`
note: required by a bound in `call::ContractEmittedEvent`
--> common/src/contract/call.rs:13:44
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| ^^^^^^^^^^^^ required by this bound in `ContractEmittedEvent`
error[E0277]: the trait bound `AccountId32: scale_decode::IntoVisitor` is not satisfied
--> common/src/contract/api.rs:152:51
|
152 | let contract::Events::MessageAdded(msg) = self
| ___________________________________________________^
153 | | .client
154 | | .tx()
155 | | .sign_and_submit_then_watch_default(&tx, signer)
... |
159 | | .find_first::<ContractEmittedEvent<<PolkadotConfig as Config>::AccountId>>()?
160 | | .ok_or("ContractEmitted event not found")?
| |_____________________________________________________^ the trait `scale_decode::IntoVisitor` is not implemented for `AccountId32`
|
= help: the following other types implement trait `scale_decode::IntoVisitor`:
bool
char
isize
i8
i16
i32
i64
i128
and 64 others
= note: required for `AccountId32` to implement `scale_decode::DecodeAsType`
note: required by a bound in `call::ContractEmittedEvent`
--> common/src/contract/call.rs:13:44
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| ^^^^^^^^^^^^ required by this bound in `ContractEmittedEvent`
error[E0277]: the trait bound `AccountId32: scale_decode::IntoVisitor` is not satisfied
--> common/src/contract/api.rs:152:51
|
152 | let contract::Events::MessageAdded(msg) = self
| ___________________________________________________^
153 | | .client
154 | | .tx()
155 | | .sign_and_submit_then_watch_default(&tx, signer)
... |
159 | | .find_first::<ContractEmittedEvent<<PolkadotConfig as Config>::AccountId>>()?
160 | | .ok_or("ContractEmitted event not found")?
| |______________________________________________________^ the trait `scale_decode::IntoVisitor` is not implemented for `AccountId32`
|
= help: the following other types implement trait `scale_decode::IntoVisitor`:
bool
char
isize
i8
i16
i32
i64
i128
and 64 others
= note: required for `AccountId32` to implement `scale_decode::DecodeAsType`
note: required by a bound in `call::ContractEmittedEvent`
--> common/src/contract/call.rs:13:44
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| ^^^^^^^^^^^^ required by this bound in `ContractEmittedEvent`
error[E0599]: the method `try_parse_event` exists for struct `ContractEmittedEvent<AccountId32>`, but its trait bounds were not satisfied
--> common/src/contract/api.rs:161:14
|
152 | let contract::Events::MessageAdded(msg) = self
| ___________________________________________________-
153 | | .client
154 | | .tx()
155 | | .sign_and_submit_then_watch_default(&tx, signer)
... |
160 | | .ok_or("ContractEmitted event not found")?
161 | | .try_parse_event::<contract::Events<<PolkadotConfig as Config>::AccountId>>()?;
| | -^^^^^^^^^^^^^^^ method cannot be called on `ContractEmittedEvent<AccountId32>` due to unsatisfied trait bounds
| |_____________|
|
|
::: common/src/contract/call.rs:13:1
|
13 | pub struct ContractEmittedEvent<AccountId: DecodeAsType> {
| -------------------------------------------------------- method `try_parse_event` not found for this struct
|
::: /Users/keeganquigley/.cargo/registry/src/index.crates.io-6f17d22bba15001f/subxt-0.32.1/src/utils/account_id.rs:27:1
|
27 | pub struct AccountId32(pub [u8; 32]);
| ----------------------
| |
| doesn't satisfy `AccountId32: scale_decode::DecodeAsType`
| doesn't satisfy `AccountId32: scale_decode::IntoVisitor`
|
note: trait bound `AccountId32: scale_decode::DecodeAsType` was not satisfied
--> common/src/contract/call.rs:23:9
|
23 | impl<T: DecodeAsType> ContractEmittedEvent<T> {
| ^^^^^^^^^^^^ -----------------------
| |
| unsatisfied trait bound introduced here
= note: the following trait bounds were not satisfied:
`AccountId32: scale_decode::IntoVisitor`
which is required by `AccountId32: scale_decode::DecodeAsType`
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
warning: `polkachat` (lib) generated 1 warning
error: could not compile `polkachat` (lib) due to 7 previous errors; 1 warning emitted
> Task :polkachat:cargoBuildArm64 FAILED
> Task :polkachat:checkDebugAarMetadata UP-TO-DATE
> Task :polkachat:mapDebugSourceSetPaths UP-TO-DATE
> Task :polkachat:mergeDebugResources UP-TO-DATE
> Task :polkachat:processDebugMainManifest UP-TO-DATE
> Task :polkachat:processDebugManifest UP-TO-DATE
> Task :polkachat:processDebugManifestForPackage UP-TO-DATE
> Task :polkachat:processDebugResources UP-TO-DATE
> Task :polkachat:compileDebugKotlin UP-TO-DATE
> Task :polkachat:compileDebugJavaWithJavac NO-SOURCE
> Task :polkachat:mergeDebugAssets UP-TO-DATE
> Task :polkachat:compressDebugAssets UP-TO-DATE
> Task :polkachat:processDebugJavaRes UP-TO-DATE
> Task :polkachat:mergeDebugJavaResource UP-TO-DATE
> Task :polkachat:mergeLibDexDebug UP-TO-DATE
> Task :polkachat:dexBuilderDebug UP-TO-DATE
> Task :polkachat:mergeProjectDexDebug UP-TO-DATE
> Task :polkachat:fixNotCopyingRustJniLibs UP-TO-DATE
> Task :polkachat:validateSigningDebug UP-TO-DATE
> Task :polkachat:writeDebugAppMetadata UP-TO-DATE
> Task :polkachat:writeDebugSigningConfigVersions UP-TO-DATE
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':polkachat:cargoBuildArm64'.
> Process 'command 'cargo'' finished with non-zero exit value 101
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':polkachat:cargoBuildArm64'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:149)
at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:147)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: org.gradle.process.internal.ExecException: Process 'command 'cargo'' finished with non-zero exit value 101
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:415)
at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:202)
at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1230)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:282)
at com.nishtahir.CargoBuildTask$build$$inlined$with$lambda$1.execute(CargoBuildTask.kt:14)
at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:161)
at com.nishtahir.CargoBuildTask.build(CargoBuildTask.kt:28)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29)
at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:242)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29)
at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:227)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:210)
at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:193)
at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166)
at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:93)
at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:57)
at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:54)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:54)
at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:44)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:67)
at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:37)
at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:41)
at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:74)
at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:55)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:50)
at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:28)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.executeDelegateBroadcastingChanges(CaptureStateAfterExecutionStep.java:100)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:72)
at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:50)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:40)
at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:29)
at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:166)
at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:70)
at org.gradle.internal.Either$Right.fold(Either.java:175)
at org.gradle.internal.execution.caching.CachingState.fold(CachingState.java:59)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:68)
at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:46)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:25)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:36)
at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:22)
at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:91)
at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55)
at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:37)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:65)
at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:36)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:37)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:27)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:76)
at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:37)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:94)
at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:49)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:71)
at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:45)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNonEmptySources(SkipEmptyWorkStep.java:177)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:81)
at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:53)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:36)
at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:23)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:75)
at org.gradle.internal.execution.steps.CleanupStaleOutputsStep.execute(CleanupStaleOutputsStep.java:41)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:32)
at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:21)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:42)
at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:31)
at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:64)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:146)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:135)
at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:74)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:338)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:325)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:318)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:304)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:463)
at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:380)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
114 actionable tasks: 1 executed, 113 up-to-date I believe I do have all the necessary toolchains: rustup +nightly show
Default host: aarch64-apple-darwin
rustup home: /Users/keeganquigley/.rustup
installed toolchains
--------------------
stable-2023-08-24-aarch64-apple-darwin
stable-aarch64-apple-darwin (default)
nightly-2021-11-04-aarch64-apple-darwin
nightly-2022-02-20-aarch64-apple-darwin
nightly-2022-03-14-aarch64-apple-darwin
nightly-2022-06-20-aarch64-apple-darwin
nightly-2022-06-30-aarch64-apple-darwin
nightly-2022-08-30-aarch64-apple-darwin
nightly-2022-09-08-aarch64-apple-darwin
nightly-2023-01-04-aarch64-apple-darwin
nightly-2023-04-03-aarch64-apple-darwin
nightly-aarch64-apple-darwin
installed targets for active toolchain
--------------------------------------
aarch64-apple-darwin
aarch64-linux-android
wasm32-unknown-unknown
active toolchain
----------------
nightly-aarch64-apple-darwin (overridden by +toolchain on the command line)
rustc 1.76.0-nightly (ba7c7a301 2023-11-13) rustup target add aarch64-linux-android --toolchain stable
info: component 'rust-std' for target 'aarch64-linux-android' is up to date
rustup target add aarch64-linux-android --toolchain nightly
info: downloading component 'rust-std' for 'aarch64-linux-android'
info: installing component 'rust-std' for 'aarch64-linux-android'
22.0 MiB / 22.0 MiB (100 %) 18.3 MiB/s in 1s ETA: 0s |
@dileping I know you said you hadn't tried on ARM so in the meantime I'll see if I can get it running on a Linux or Windows machine. |
@keeganquigley Looks great :) We just tested and were able to reproduce your errors. It looks like either nightly 1.76 changed resolving mechanics, or some new versions of substrate-related libraries were published since we submitted the milestone. Our subxt wizard @ypopovych will pin the dependencies a bit differently and will push an update to |
@keeganquigley I already pushed a new version with pinned libraries. You can pull it and build it from Android Studio. Should work now. ARM shouldn't be a problem (at least it resolved libraries almost fine, should resolve after update) |
Nice! Thanks @dileping @ypopovych that did the trick. I have the app running now. Thanks for your quick help! I will continue the eval and try to finish it up today. |
Thanks again for your help, I got very close. I am able to send a message tx but it fails, I think because the account address has no funds on Rococo contracts chain. I'm having different problems now relating to Rococo. I've been talking to our support guys and apparently there may be some block production issues with the testnets at the moment, so sends are currently disabled on Polkadot.js. I also can't seem to teleport any tokens from Rococo relay chain, and the faucet is also currently broken. Since these issues are on our side, and I've already spent a considerable amount of time troubleshooting, I'm going to go ahead and pass the milestone. Everything else looks good and I've updated the evaluation. Congrats and thanks again for all your assistance! Looking forward to the next milestone. |
Please fill out the invoice form in order to initiate the payment process. Thank you! |
Milestone Delivery Checklist
Link to the application pull request: w3f/Grants-Program#1856