Remove the uncommon_codepoints allow in udp-protocol once zerocopy is fixed
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Start by checking whether zerocopy has released a fix for upstream issue #3929, then inspect the workspace dependency versions and Cargo.lock. If the fix is released, update zerocopy and zerocopy-derive, remove the allow block and comment from packages/udp-protocol/src/lib.rs, and run the nightly, stable, and MSRV workspace checks listed in the issue. Done when all three builds pass without the allow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Goal
Remove the crate-level #![allow(uncommon_codepoints)] from packages/udp-protocol/src/lib.rs once zerocopy no longer generates identifiers that nightly Rust flags.
Background
#2931 (fixed by #2932) made torrust-tracker-udp-protocol build again on nightly Rust. zerocopy-derive generates identifiers with a ẕ prefix, and since rustc 1.102.0-nightly (59cbdee2e 2026-11-17, rust-lang/rust#165289, Unicode 18) the uncommon_codepoints lint flags them, which the repository's -D warnings turns into errors. The fix is a crate-level allow, because rustc only honours this lint's level at crate level (rust-lang/rust#86824). The comment above the allow says to remove it when zerocopy stops generating non-ASCII identifiers.
The upstream report is https://github.com/google/zerocopy/issues/3929 (open at the time of writing, no fix yet). This issue tracks the removal of our workaround, so the allow does not stay in the crate after the cause is gone.
What to do when upstream is fixed
- Wait for a
zerocopyrelease that fixes the upstream issue, and bumpzerocopy(andzerocopy-derive) in the workspace. - Remove the
#![allow(uncommon_codepoints)]block and its comment frompackages/udp-protocol/src/lib.rs. - Verify with
cargo +nightly check --workspace --all-targetson a nightly that includes rust-lang/rust#165289, and on stable and the MSRV.
Acceptance criteria
- A
zerocopyrelease that does not triggeruncommon_codepointson nightly is inCargo.lock. - The allow and its comment are gone from
packages/udp-protocol/src/lib.rs. - The nightly, stable and MSRV builds pass without the allow.
Notes
- Do not remove the allow before the upstream fix is released: the nightly jobs would fail again.
- The specification for this issue is written with the implementation pull request, as for #2931.
- Ngôn ngữ chính
- Rust
- Star
- 532
- Fork
- 56
- Merge trung bình
- 11 giờ 20 phút
- Pull request đã merge (30 ngày)
- 282
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của torrust/torrust-tracker
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
torrust/torrust-tracker#3080 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
torrust/torrust-tracker#3069 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
torrust/torrust-tracker#3058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
torrust/torrust-tracker#2978 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
torrust/torrust-tracker#2332 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của torrust/torrust-tracker
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Start here: how to contributeĐang mởdifficulty: easy docs help wanted tooling
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
userFRM/egui-charts#4386 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
eliasstravik/herdr-projects#1605 · 1 bình luận ·