shadowsocks / shadowsocks-android

A shadowsocks client for Android
Other
35.25k stars 11.57k forks source link

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':core:cargoBuildArm64' #2963

Closed kothanzaw closed 1 year ago

kothanzaw commented 1 year ago

Please read contributing guidelines. Thanks.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

Configuration Put an x inside the [ ] that applies.

Additional context Add any other context about the problem here.

kothanzaw commented 1 year ago

I have downloaded the repo with --recurse-submodules and i already update with rustup. when i try to build with android studio , it fails. i am on ubuntu 22.04 what is the problem some body help , please. Screenshot from 2022-12-08 09-55-37

kothanzaw commented 1 year ago

This info will be more useful.

Task :core:cargoBuildArm64 Python 3 detected. Compiling libc v0.2.126 Compiling cfg-if v1.0.0 Compiling subtle v2.4.1 Compiling typenum v1.15.0 Compiling serde v1.0.139 Compiling zeroize v1.3.0 Compiling generic-array v0.14.5 Compiling memchr v2.5.0 Compiling opaque-debug v0.3.0 Compiling lock_api v0.4.7 Compiling scopeguard v1.1.0 Compiling parking_lot_core v0.9.3 Compiling futures-core v0.3.21 Compiling log v0.4.17 Compiling const-oid v0.7.1 Compiling pin-project-lite v0.2.9 Compiling smallvec v1.9.0 Compiling once_cell v1.13.0 Compiling futures-task v0.3.21 Compiling futures-channel v0.3.21 Compiling futures-sink v0.3.21 Compiling futures-util v0.3.21 Compiling der v0.5.1 Compiling base16ct v0.1.1 Compiling matches v0.1.9 Compiling futures-io v0.3.21 Compiling bytes v1.1.0 Compiling pin-utils v0.1.0 Compiling slab v0.4.6 Compiling tinyvec_macros v0.1.0 Compiling tokio v1.20.0 Compiling tinyvec v1.6.0 Compiling percent-encoding v2.1.0 Compiling ppv-lite86 v0.2.16 Compiling linked-hash-map v0.5.6 Compiling num-traits v0.2.15 Compiling ring v0.16.20 Compiling form_urlencoded v1.0.1 Compiling unicode-bidi v0.3.8 Compiling ryu v1.0.10 Compiling getrandom v0.2.7 Compiling cpufeatures v0.2.2 Compiling num_cpus v1.13.1 Compiling rand_core v0.6.3 Compiling socket2 v0.4.4 Compiling signal-hook-registry v1.4.0 Compiling crossbeam-utils v0.8.10 Compiling signature v1.4.0 Compiling parking_lot v0.12.1 Compiling crypto-common v0.1.6 Compiling cipher v0.3.0 Compiling block-buffer v0.10.2 Compiling universal-hash v0.4.1 Compiling sec1 v0.2.1 Compiling digest v0.10.3 Compiling crypto-bigint v0.3.2 Compiling aead v0.4.3 Compiling ctr v0.8.0 Compiling polyval v0.5.3 error[E0554]: #![feature] may not be used on the stable release channel --> /home/ktz/.cargo/registry/src/github.com-1ecc6299db9ec823/polyval-0.5.3/src/lib.rs:80:5 80 feature(stdsimd, aarch64_target_feature) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

= help: the feature aarch64_target_feature has been stable since 1.61.0 and no longer requires an attribute to enable

error[E0554]: #![feature] may not be used on the stable release channel --> /home/ktz/.cargo/registry/src/github.com-1ecc6299db9ec823/polyval-0.5.3/src/lib.rs:80:13 | 80 | feature(stdsimd, aarch64_target_feature) | ^^^^^^^

For more information about this error, try rustc --explain E0554. error: could not compile polyval due to 2 previous errors warning: build failed, waiting for other jobs to finish... could not compile polyval due to 2 previous errors

build failed, waiting for other jobs to finish...

dev4u commented 1 year ago

rustup default nightly rustup update