0x192 / 0x192/universal-android-debloater

Unable to Compile Source Code due to unmet Dependencies

Đang mở
#1,115 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Rust
Star
19.9k
Fork
1.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\Users\Devanshu> mkdir .tmp

Directory: C:\Users\Devanshu

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17-08-2025 21:38 .tmp

PS C:\Users\Devanshu> ks
ks : The term 'ks' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ks
+ ~~
+ CategoryInfo : ObjectNotFound: (ks:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Devanshu> ls

Directory: C:\Users\Devanshu

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17-08-2025 21:26 .android
d----- 17-08-2025 13:33 .cargo
d----- 17-08-2025 13:34 .rustup
d----- 17-08-2025 21:38 .tmp
d-r--- 17-08-2025 11:33 Contacts
d-r--- 17-08-2025 21:37 Desktop
d-r--- 17-08-2025 15:59 Documents
d-r--- 17-08-2025 21:21 Downloads
d-r--- 17-08-2025 11:33 Favorites
d-r--- 17-08-2025 11:33 Links
d-r--- 17-08-2025 11:33 Music
d-r--- 17-08-2025 11:33 Pictures
d-r--- 17-08-2025 11:33 Saved Games
d-r--- 17-08-2025 11:36 Searches
d-r--- 17-08-2025 11:35 Videos
-a---- 17-08-2025 21:37 39 .wslconfig

PS C:\Users\Devanshu> cd .tmp
PS C:\Users\Devanshu\.tmp> git clone https://github.com/0x192/universal-android-debloater.git
Cloning into 'universal-android-debloater'...
remote: Enumerating objects: 2220, done.
remote: Counting objects: 100% (530/530), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 2220 (delta 497), reused 468 (delta 468), pack-reused 1690 (from 2)
Receiving objects: 100% (2220/2220), 9.30 MiB | 227.00 KiB/s, done.
Resolving deltas: 100% (1143/1143), done.
PS C:\Users\Devanshu\.tmp> cargo run
error: could not find `Cargo.toml` in `C:\Users\Devanshu\.tmp` or any parent directory
PS C:\Users\Devanshu\.tmp> ls

Directory: C:\Users\Devanshu\.tmp

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17-08-2025 21:39 universal-android-debloater

PS C:\Users\Devanshu\.tmp> cd universal-android-debloater
PS C:\Users\Devanshu\.tmp\universal-android-debloater> ls

Directory: C:\Users\Devanshu\.tmp\universal-android-debloater

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 17-08-2025 21:39 .cargo
d----- 17-08-2025 21:39 .github
d----- 17-08-2025 21:39 resources
d----- 17-08-2025 21:39 src
-a---- 17-08-2025 21:39 24 .gitignore
-a---- 17-08-2025 21:39 84866 Cargo.lock
-a---- 17-08-2025 21:39 1367 Cargo.toml
-a---- 17-08-2025 21:39 12389 CHANGELOG.md
-a---- 17-08-2025 21:39 35780 LICENSE
-a---- 17-08-2025 21:39 5601 README.md

PS C:\Users\Devanshu\.tmp\universal-android-debloater> cargo run
warning: `C:\Users\Devanshu\.tmp\universal-android-debloater\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
Updating crates.io index
Updating git repository `https://github.com/iced-rs/iced.git`
Updating git repository `https://github.com/iced-rs/glutin`
Updating git repository `https://github.com/iced-rs/winit.git`
Downloaded proc-macro2 v1.0.56
Downloaded adler v1.0.2
Downloaded tinyvec_macros v0.1.1
Downloaded windows-targets v0.42.2
Downloaded untrusted v0.7.1
Downloaded static_assertions v1.1.0
Downloaded error-code v2.3.1
Downloaded termcolor v1.2.0
Downloaded version_check v0.9.4
Downloaded toml_datetime v0.6.1
Downloaded foreign-types v0.3.2
Downloaded thiserror v1.0.40
Downloaded slab v0.4.8
Downloaded rustc-hash v1.1.0
Downloaded unicode-xid v0.2.4
Downloaded unicode-width v0.1.10
Downloaded thiserror-impl v1.0.40
Downloaded rand_core v0.6.4
Downloaded pin-utils v0.1.0
Downloaded winapi-util v0.1.5
Downloaded twox-hash v1.6.3
Downloaded static_init_macro v1.0.2
Downloaded spin v0.5.2
Downloaded siphasher v0.3.10
Downloaded serde_spanned v0.6.1
Downloaded scopeguard v1.1.0
Downloaded retry v2.0.0
Downloaded renderdoc-sys v0.7.1
Downloaded phf_macros v0.11.1
Downloaded rand_chacha v0.3.1
Downloaded ppv-lite86 v0.2.17
Downloaded pin-project-lite v0.2.9
Downloaded quote v1.0.26
Downloaded raw-window-handle v0.5.2
Downloaded gpu-alloc-types v0.2.0
Downloaded smallvec v1.10.0
Downloaded block v0.1.6
Downloaded svg_fmt v0.4.1
Downloaded str-buf v1.0.6
Downloaded sct v0.7.0
Downloaded gpu-descriptor-types v0.1.1
Downloaded encase_derive v0.3.0
Downloaded window_clipboard v0.2.4
Downloaded pkg-config v0.3.26
Downloaded phf_shared v0.11.1
Downloaded raw-window-handle v0.4.3
Downloaded gpu-descriptor v0.2.3
Downloaded unicode-bidi v0.3.13
Downloaded futures-macro v0.3.28
Downloaded range-alloc v0.1.3
Downloaded fxhash v0.2.1
Downloaded instant v0.1.12
Downloaded toml v0.7.3
Downloaded unicode-ident v1.0.8
Downloaded hexf-parse v0.2.1
Downloaded cfg_aliases v0.1.1
Downloaded atty v0.2.14
Downloaded raw-window-handle v0.3.4
Downloaded toml v0.5.11
Downloaded tinyvec v1.6.0
Downloaded futures-sink v0.3.28
Downloaded encase_derive_impl v0.3.0
Downloaded foreign-types-shared v0.1.1
Downloaded cty v0.2.2
Downloaded profiling v1.0.7
Downloaded ryu v1.0.13
Downloaded spirv v0.2.0+1.5.4
Downloaded cfg-if v1.0.0
Downloaded ahash v0.7.6
Downloaded futures-core v0.3.28
Downloaded either v1.8.1
Downloaded futures-task v0.3.28
Downloaded form_urlencoded v1.1.0
Downloaded futures-io v0.3.28
Downloaded find-crate v0.6.3
Downloaded phf_generator v0.11.1
Downloaded itoa v1.0.6
Downloaded lazy_static v1.4.0
Downloaded ab_glyph v0.2.20
Downloaded ab_glyph_rasterizer v0.1.8
Downloaded url v2.3.1
Downloaded bytemuck_derive v1.4.1
Downloaded memoffset v0.8.0
Downloaded linked-hash-map v0.5.6
Downloaded num_cpus v1.15.0
Downloaded percent-encoding v2.2.0
Downloaded autocfg v1.1.0
Downloaded dirs-sys v0.4.0
Downloaded dirs v5.0.0
Downloaded bit-set v0.5.3
Downloaded wgpu-types v0.14.1
Downloaded rand v0.8.5
Downloaded serde_derive v1.0.159
Downloaded clipboard-win v4.5.0
Downloaded gpu-alloc v0.5.3
Downloaded palette_derive v0.6.1
Downloaded colored v1.9.3
Downloaded futures-executor v0.3.28
Downloaded guillotiere v0.6.2
Downloaded unicode-segmentation v1.10.1
Downloaded approx v0.5.1
Downloaded xi-unicode v0.3.0
Downloaded bit-vec v0.6.3
Downloaded phf v0.11.1
Downloaded ordered-float v3.6.0
Downloaded d3d12 v0.5.0
Downloaded toml_edit v0.19.8
Downloaded webpki v0.22.0
Downloaded rayon-core v1.11.0
Downloaded num-integer v0.1.45
Downloaded glyph_brush_layout v0.2.3
Downloaded lock_api v0.4.9
Downloaded libloading v0.7.4
Downloaded crossbeam-deque v0.8.3
Downloaded bitflags v1.3.2
Downloaded byteorder v1.4.3
Downloaded arrayvec v0.7.2
Downloaded serde v1.0.159
Downloaded khronos-egl v4.1.0
Downloaded getrandom v0.2.9
Downloaded encase v0.3.0
Downloaded wgpu_glyph v0.18.0
Downloaded futures-channel v0.3.28
Downloaded parking_lot_core v0.9.7
Downloaded parking_lot v0.11.2
Downloaded bytemuck v1.13.1
Downloaded parking_lot_core v0.8.6
Downloaded crc32fast v1.3.2
Downloaded static_init v1.0.3
Downloaded crossbeam-utils v0.8.15
Downloaded miniz_oxide v0.6.2
Downloaded once_cell v1.17.1
Downloaded parking_lot v0.12.1
Downloaded crossbeam-epoch v0.9.14
Downloaded log v0.4.17
Downloaded unicode-normalization v0.1.22
Downloaded const_panic v0.2.7
Downloaded flate2 v1.0.25
Downloaded num-traits v0.2.15
Downloaded ureq v2.6.2
Downloaded codespan-reporting v0.11.1
Downloaded futures v0.3.28
Downloaded cc v1.0.79
Downloaded indexmap v1.9.3
Downloaded base64 v0.13.1
Downloaded winnow v0.4.1
Downloaded wgpu v0.14.2
Downloaded memchr v2.5.0
Downloaded glyph_brush v0.7.7
Downloaded rayon v1.7.0
Downloaded glyph_brush_draw_cache v0.1.5
Downloaded euclid v0.22.9
Downloaded serde_json v1.0.95
Downloaded ttf-parser v0.18.1
Downloaded crossbeam-channel v0.5.8
Downloaded aho-corasick v0.7.20
Downloaded webpki-roots v0.22.6
Downloaded wgpu-hal v0.14.1
Downloaded syn v1.0.109
Downloaded hashbrown v0.12.3
Downloaded wgpu-core v0.14.2
Downloaded futures-util v0.3.28
Downloaded syn v2.0.13
Downloaded regex v1.7.3
Downloaded palette v0.6.1
Downloaded owned_ttf_parser v0.18.1
Downloaded glow v0.11.2
Downloaded chrono v0.4.24
Downloaded regex-syntax v0.6.29
Downloaded rustls v0.20.8
Downloaded glam v0.21.3
Downloaded idna v0.3.0
Downloaded fern v0.6.2
Downloaded naga v0.10.0
Downloaded ash v0.37.2+1.3.238
Downloaded libc v0.2.141
Downloaded windows_x86_64_msvc v0.42.2
Downloaded windows_x86_64_msvc v0.36.1
Downloaded winapi v0.3.9
Downloaded windows-sys v0.45.0
Downloaded windows-sys v0.36.1
Downloaded ring v0.16.20
Downloaded 182 crates (22.7MiB) in 43.94s (largest was `ring` at 4.8MiB)
Compiling autocfg v1.1.0
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.56
Compiling unicode-ident v1.0.8
Compiling quote v1.0.26
Compiling winapi v0.3.9
error: linker `link.exe` not found
|
= note: program not found

note: the msvc targets depend on the msvc linker but `link.exe` was not found

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

note: VS Code is a different product, and is not sufficient.

error: could not compile `quote` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `proc-macro2` (build script) due to 1 previous error
error: could not compile `winapi` (build script) due to 1 previous error
PS C:\Users\Devanshu\.tmp\universal-android-debloater> cargo run
warning: `C:\Users\Devanshu\.tmp\universal-android-debloater\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
Compiling proc-macro2 v1.0.56
Compiling quote v1.0.26
Compiling winapi v0.3.9
Compiling num-traits v0.2.15
error: linker `link.exe` not found
|
= note: program not found

note: the msvc targets depend on the msvc linker but `link.exe` was not found

note: please ensure that Visual Studio 2017 or later, or Build Tools for Visual Studio were installed with the Visual C++ option.

note: VS Code is a different product, and is not sufficient.

error: could not compile `num-traits` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `quote` (build script) due to 1 previous error
error: could not compile `proc-macro2` (build script) due to 1 previous error
error: could not compile `winapi` (build script) due to 1 previous error
PS C:\Users\Devanshu\.tmp\universal-android-debloater>

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The issue is a Windows build failure due to missing link.exe (MSVC linker). Check the project's README for Windows setup instructions, likely requiring Visual Studio Build Tools. Look at the .cargo/config file for any Windows-specific configuration. Verify the Rust toolchain is set to MSVC target. The fix involves installing the correct Visual C++ build tools and ensuring the linker is in PATH.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
rust
Lĩnh vực
cli, tooling
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
40/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.