Skip to content
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

Error in release mode #165

Closed
ThisIsNima01 opened this issue Aug 2, 2023 · 14 comments
Closed

Error in release mode #165

ThisIsNima01 opened this issue Aug 2, 2023 · 14 comments

Comments

@ThisIsNima01
Copy link

ThisIsNima01 commented Aug 2, 2023

Hey I hope you doing well

My app uses super clipboard and it works fine in debug mode but when I'm trying release mode with flutter build apk --release or flutter run --release i get this error. How could i fix it?

IMG_20230803_032348_969

@ThisIsNima01
Copy link
Author

This is my error in text format

Build tool failed:
Command "cargo" "build" "--manifest-path" "C:\Users\ASUS\AppData\Local\Pub\Cache\hosted\pub.dev\super_native_extensions-0.5.0\android\..\rust\Cargo.toml" "-p" "super_native_extensions" "--release" "--target" "armv7-linux-androideabi" "--target-dir" "D:\Project\fontino\build\super_native_extensions/build" failed with error exit code: 101;
stderr: Compiling super_native_extensions v0.1.0 (C:\Users\ASUS\AppData\Local\Pub\Cache\hosted\pub.dev\super_native_extensions-0.5.0\rust)
error: linking with D:\sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\armv7a-linux-androideabi23-clang.cmd failed: exit code: 255
|
= note: "D:\sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\armv7a-linux-androideabi23-clang.cmd" "-Wl,--version-script=C:\Users\ASUS\AppData\Local
\Temp\rustcJsJ4fH\list" "-Wl,--no-undefined-version" "-march=armv7-a" "C:\Users\ASUS\AppData\Local\Temp\rustcJsJ4fH\symbols.o" "D:\Project\fontino\build\super_native_e
xtensions/build\armv7-linux-androideabi\release\deps\super_native_extensions.super_native_extensions.2833a427f67c6503-cgu.6.rcgu.o" "-Wl,--as-needed" "-L" "D:\Project\fontino
\build\super_native_extensions/build\armv7-linux-androideabi\release\deps" "-L" "D:\Project\fontino\build\super_native_extensions/build\release\deps" "-L" "D:\Project\
fontino\build\super_native_extensions/build\cargokit\libgcc_workaround\23" "-L" "C:\Users\ASUS\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\armv7-linux
-androideabi\lib" "-Wl,-Bstatic" "C:\Users\ASUS\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\armv7-linux-androideabi\lib\libcompiler_builtins-8207cd88b29
849c6.rlib" "-Wl,-Bdynamic" "-llog" "-landroid" "-landroid" "-ldl" "-llog" "-lunwind" "-ldl" "-lm" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "C:\Users\ASUS\.rustup\t
oolchains\stable-x86_64-pc-windows-msvc\lib\rustlib\armv7-linux-androideabi\lib" "-o" "D:\Project\fontino\build\super_native_extensions/build\armv7-linux-androideabi\release\deps\libsuper_native_extensions.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
= note: --version-script=C:\Users\ASUS\AppData\Local\Temp\rustcJsJ4fH\list"" was unexpected at this time.

error: could not compile super_native_extensions (lib) due to previous error

stdout:

FAILURE: Build failed with an exception.

  • Where:
    Script 'C:\Users\ASUS\AppData\Local\Pub\Cache\hosted\pub.dev\super_native_extensions-0.5.0\cargokit\gradle\plugin.gradle' line: 57

  • What went wrong:
    Execution failed for task ':super_native_extensions:cargokitCargoBuildSuper_native_extensionsRelease'.

Process 'command 'C:\Users\ASUS\AppData\Local\Pub\Cache\hosted\pub.dev\super_native_extensions-0.5.0\cargokit\gradle..\run_rust_tool.cmd'' finished with non-zero exit value 1

@knopp
Copy link
Collaborator

knopp commented Aug 3, 2023

Hi, this is a regression in latest Rust unfortunately rust-lang/rust#113711

Fortunately until it gets resolved you can easily go to 1.68.2:

rustup install 1.68.2
rustup default 1.68.2

@knopp
Copy link
Collaborator

knopp commented Aug 3, 2023

Looking at the underlying issue it doesn't seem like Rust is doing anything wrong. The bug seems to be in the wrapper script in NDK. So maybe we should handle this with a workaround inside cargokit.

@ThisIsNima01
Copy link
Author

Hi, this is a regression in latest Rust unfortunately rust-lang/rust#113711

Fortunately until it gets resolved you can easily go to 1.68.2:

rustup install 1.68.2
rustup default 1.68.2

This solved my problem. thanks

@knopp
Copy link
Collaborator

knopp commented Aug 4, 2023

Reopening - this is something that might need to be worked around.

@knopp knopp reopened this Aug 4, 2023
@knopp
Copy link
Collaborator

knopp commented Aug 7, 2023

Should be fixed with latest cargokit merge.

@knopp knopp closed this as completed Aug 7, 2023
@DJWassink
Copy link

DJWassink commented Aug 23, 2023

Should be fixed with latest cargokit merge.

@knopp sorry to hijack this issue but i'm running into the same error at the moment (never used rust before)
Is this fix already merged with super_context_menu: 0.6.3 ?

error: linking with `C:\Users\...\AppData\Local\Android\Sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android23-clang.cmd` failed: exit code: 255
> rustup update
info: syncing channel updates for 'stable-x86_64-pc-windows-msvc'
info: checking for self-update

  stable-x86_64-pc-windows-msvc unchanged - rustc 1.71.1 (eb26296b5 2023-08-03)

info: cleaning up downloads & tmp directories
> cargo --version
cargo 1.71.1 (7f1d04c00 2023-07-29)

@knopp
Copy link
Collaborator

knopp commented Aug 23, 2023

Yes, the fix should be already merged, so this is probably something else. Can you post verbose logs? (-v)

@DJWassink
Copy link

Not sure if this is the correct verbose? I just tagged the -v flag to the flutter command instead of rust?

[   +1 ms] Build tool failed:
[   +2 ms] Command "cargo" "build" "--manifest-path" "C:\\Users\\dirk-\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\irondash_engine_context-0.3.0\\android\\rust\\Cargo.toml" "-p" "irondash_engine_context_native" "--target" "aarch64-linux-android" "--target-dir" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build" failed with error exit code: 101;
[        ] stderr:    Compiling irondash_engine_context_native v0.1.0 (C:\Users\dirk-\AppData\Local\Pub\Cache\hosted\pub.dev\irondash_engine_context-0.3.0\android\rust)
[        ] warning: unused variable: `info`
[        ]   --> src\lib.rs:17:10
[        ]    |
[        ] 17 | fn panic(info: &core::panic::PanicInfo) -> ! {
[        ]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[        ]    |
[        ]    = note: `#[warn(unused_variables)]` on by default
[        ] error: linking with `C:\Users\dirk-\AppData\Local\Android\Sdk\ndk\23.1.7779620\toolchains\llvm\prebuilt\windows-x86_64\bin\aarch64-linux-android23-clang.cmd` failed: exit code: 255
[        ]   |
[        ]   = note: "C:\\Users\\dirk-\\AppData\\Local\\Android\\Sdk\\ndk\\23.1.7779620\\toolchains\\llvm\\prebuilt\\windows-x86_64\\bin\\aarch64-linux-android23-clang.cmd" "-Wl,--version-script=C:\\Users\\dirk-\\AppData\\Local\\Temp\\rustcdLoCWl\\list" "-Wl,--no-undefined-version" "C:\\Users\\dirk-\\AppData\\Local\\Temp\\rustcdLoCWl\\symbols.o" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\aarch64-linux-android\\debug\\deps\\irondash_engine_context_native.2e882duekelbo5md.rcgu.o" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\aarch64-linux-android\\debug\\deps\\irondash_engine_context_native.cziy1dj0bi0mrdb.rcgu.o" "-Wl,--as-needed" "-L" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\aarch64-linux-android\\debug\\deps" "-L" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\debug\\deps" "-L" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\cargokit\\libgcc_workaround\\23" "-L" "C:\\Users\\dirk-\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\aarch64-linux-android\\lib" "-Wl,-Bdynamic" "-landroid" "-Wl,-Bstatic" "C:\\Users\\dirk-\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\aarch64-linux-android\\lib\\librustc_std_workspace_core-6b4a9c00321aed49.rlib" "C:\\Users\\dirk-\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\aarch64-linux-android\\lib\\libcore-0a2081d099bc47f7.rlib" "C:\\Users\\dirk-\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\aarch64-linux-android\\lib\\libcompiler_builtins-40056501c2ca4013.rlib" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "C:\\Users\\dirk-\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\aarch64-linux-android\\lib" "-o" "C:\\Users\\dirk-\\Documents\\Keeping-Flutter\\build\\irondash_engine_context/build\\aarch64-linux-android\\debug\\deps\\libirondash_engine_context_native.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[        ]   = note: --version-script=C:\Users\dirk-\AppData\Local\Temp\rustcdLoCWl\list"" was unexpected at this time.
[        ] warning: `irondash_engine_context_native` (lib) generated 1 warning
[        ] error: could not compile `irondash_engine_context_native` (lib) due to previous error; 1 warning emitted
[        ] stdout: 
[  +98 ms] > Task :irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug FAILED
[        ] :irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 6.081 secs.
[ +137 ms] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script 'C:\Users\dirk-\AppData\Local\Pub\Cache\hosted\pub.dev\irondash_engine_context-0.3.0\cargokit\gradle\plugin.gradle' line: 57
[        ] * What went wrong:
[        ] Execution failed for task ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'.
[        ] > Process 'command 'C:\Users\dirk-\AppData\Local\Pub\Cache\hosted\pub.dev\irondash_engine_context-0.3.0\cargokit\gradle\..\run_rust_tool.cmd'' finished with non-zero exit value 1
[        ] * Try:
[        ] > Run with --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 ':irondash_engine_context:cargokitCargoBuildIrondash_engine_context_nativeDebug'.
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:147)
[        ] 	at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:282)
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:145)
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:133)
[        ] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
[        ] 	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:56)
[        ] 	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:74)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:333)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:320)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:313)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:299)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:143)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:227)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:218)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:140)
[        ] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[        ] 	at java.base/java.lang.Thread.run(Thread.java:833)
[        ] Caused by: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\dirk-\AppData\Local\Pub\Cache\hosted\pub.dev\irondash_engine_context-0.3.0\cargokit\gradle\..\run_rust_tool.cmd'' finished with non-zero exit value 1
[        ] 	at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:414)
[        ] 	at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:38)
[        ] 	at org.gradle.process.internal.DefaultExecActionFactory.exec(DefaultExecActionFactory.java:205)
[        ] 	at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1170)
[        ] 	at org.gradle.api.internal.project.DefaultProject.exec(DefaultProject.java:1165)
[        ] 	at org.gradle.api.Project$exec$10.call(Unknown Source)
[        ] 	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
[        ] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
[        ] 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
[        ] 	at CargoKitBuildTask.build(C:\Users\dirk-\AppData\Local\Pub\Cache\hosted\pub.dev\irondash_engine_context-0.3.0\cargokit\gradle\plugin.gradle:57)
[        ] 	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 java.base/java.lang.reflect.Method.invoke(Method.java:568)
[        ] 	at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104)
[        ] 	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)
[   +5 ms] 	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:171)
[        ] 	at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:89)
[        ] 	at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:40)
[        ] 	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:53)
[        ] 	at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:50)
[        ] 	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:50)
[        ] 	at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:40)
[        ] 	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:68)
[        ] 	at org.gradle.internal.execution.steps.RemovePreviousOutputsStep.execute(RemovePreviousOutputsStep.java:38)
[        ] 	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:48)
[        ] 	at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:36)
[        ] 	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:51)
[        ] 	at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:29)
[        ] 	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:61)
[        ] 	at org.gradle.internal.execution.steps.CaptureStateAfterExecutionStep.execute(CaptureStateAfterExecutionStep.java:42)
[        ] 	at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:60)
[        ] 	at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:27)
[        ] 	at org.gradle.internal.execution.steps.BuildCacheStep.executeWithoutCache(BuildCacheStep.java:180)
[        ] 	at org.gradle.internal.execution.steps.BuildCacheStep.lambda$execute$1(BuildCacheStep.java:75)
[        ] 	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:73)
[        ] 	at org.gradle.internal.execution.steps.BuildCacheStep.execute(BuildCacheStep.java:48)
[        ] 	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:110)
[        ] 	at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$2(SkipUpToDateStep.java:56)
[        ] 	at java.base/java.util.Optional.orElseGet(Optional.java:364)
[        ] 	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:56)
[        ] 	at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:38)
[        ] 	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:73)
[        ] 	at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:44)
[        ] 	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:89)
[        ] 	at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:50)
[        ] 	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:114)
[        ] 	at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:57)
[        ] 	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:76)
[        ] 	at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
[        ] 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:249)
[        ] 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:86)
[        ] 	at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:54)
[        ] 	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:43)
[        ] 	at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
[        ] 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
[        ] 	at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:287)
[        ] 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
[        ] 	at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
[        ] 	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:44)
[        ] 	at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
[        ] 	at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
[   +1 ms] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:144)
[        ] 	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:133)
[        ] 	at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
[        ] 	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:56)
[        ] 	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)
[   +1 ms] 	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:74)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:333)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:320)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:313)
[        ] 	at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:299)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:143)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:227)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:218)
[        ] 	at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:140)
[        ] 	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
[        ] 	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[        ] 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[        ] 	at java.base/java.lang.Thread.run(Thread.java:833)
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 1m 3s

@knopp
Copy link
Collaborator

knopp commented Aug 23, 2023

This really doesn't look like it's using the correct super_native_extension version. aarch64-linux-android23-clang.cmd should not be used for linking anymore.

@knopp
Copy link
Collaborator

knopp commented Aug 23, 2023

I see. This is not from super_native_extensions, this is from engine_context, a dependency. Now that makes sense. I think I might have forgotten to upgrade cargokit there.

@DJWassink
Copy link

In case you need some more info about the dependencies I have under super_context_menu:

├── super_context_menu 0.6.3
│   ├── device_info_plus 9.0.3
│   │   ├── device_info_plus_platform_interface 7.0.0
│   │   │   ├── flutter...
│   │   │   ├── meta...
│   │   │   └── plugin_platform_interface...
│   │   ├── file 7.0.0
│   │   │   ├── meta...
│   │   │   └── path...
│   │   ├── win32_registry 1.1.1
│   │   │   ├── ffi...
│   │   │   └── win32...
│   │   ├── ffi...
│   │   ├── flutter...
│   │   ├── flutter_web_plugins...
│   │   ├── meta...
│   │   └── win32...
│   ├── pixel_snap 0.1.2
│   │   └── flutter...
│   ├── super_native_extensions 0.6.3
│   │   ├── irondash_engine_context 0.3.0
│   │   │   ├── flutter...
│   │   │   └── plugin_platform_interface...
│   │   ├── irondash_message_channel 0.3.0
│   │   │   ├── ffi...
│   │   │   └── flutter...
│   │   ├── uuid 3.0.7
│   │   │   └── crypto...
│   │   ├── collection...
│   │   ├── device_info_plus...
│   │   ├── ffi...
│   │   ├── flutter...
│   │   ├── flutter_web_plugins...
│   │   ├── js...
│   │   ├── meta...
│   │   ├── path...
│   │   └── pixel_snap...
│   ├── collection...
│   └── flutter...

@knopp
Copy link
Collaborator

knopp commented Aug 23, 2023

@DJWassink, I just published 0.6.4, can you retry once it is available?

@DJWassink
Copy link

Works perfectly 🥳

Thanks a ton!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants