Remove the uncommon_codepoints allow in udp-protocol once zerocopy is fixed
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 38/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- backend, build-system
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 532
- フォーク
- 56
- 平均マージ
- 11時間 20分
- マージ済み PR(30日)
- 282
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
torrust/torrust-tracker のほかの issue
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
torrust/torrust-tracker#3080 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
torrust/torrust-tracker#3069 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#3058 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
torrust/torrust-tracker#2978 ·
メンテナーはふだん 1 日以内に返信
-
Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
torrust/torrust-tracker#2332 ·
メンテナーはふだん 1 日以内に返信
torrust/torrust-tracker の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
difficulty: easy docs help wanted tooling
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
userFRM/egui-charts#4386 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eliasstravik/herdr-projects#1605 · コメント 1 件 ·