DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-ra-ap-rustc-pattern-analysis 0.166.0-1

Package Information

DescriptionRust compiler match exhaustiveness checker for rust-analyzer - Rust source code

Automatically published copy of the rustc compiler crate rustc_pattern_analysis from the rust-lang/rust repository, used by the rust-analyzer library crates (ra_ap_*). Source code for Debianized Rust crate "ra-ap-rustc_pattern_analysis"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Sponsortsimonq2@debian.org
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ra-ap-rustc-pattern-analysis] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-rustc-pattern-analysis
Uploaded4 hours ago

New Package Report

.changes◂
DateWed, 02 Dec 2026 09:31:50 -0600
Sourcerust-ra-ap-rustc-pattern-analysis
Version0.166.0-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Distributionunstable
Changelog◂
rust-ra-ap-rustc-pattern-analysis (0.166.0-1) unstable; urgency=medium
 .
   * Package ra-ap-rustc_pattern_analysis 0.166.0 from crates.io using debcargo 2.8.4
.dsc◂
Componentmain
Package-Listlibrust-ra-ap-rustc-pattern-analysis-dev deb rust optional arch=any
Sectionrust
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra-ap-rustc_pattern_analysis
Upstream-Contact: The Rust Project Developers
Source: https://github.com/rust-lang/rust

Files: *
Copyright: 2010-2026 The Rust Project Developers
License: MIT  or  Apache-2.0

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Juan Manuel Méndez Rey <juan.mendezr@proton.me>
License: MIT  or  Apache-2.0

License: Apache-2.0
 Debian systems provide the Apache 2.0 license in
 /usr/share/common-licenses/Apache-2.0

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in all
 copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 SOFTWARE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 3 hours ago.

Report◂

DFSG NEW review for rust-ra-ap-rustc-pattern-analysis version 0.166.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 0 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: nothing found

Licensing

debian/copyright is DEP-5, names The Rust Project Developers for all upstream files and the Debian Rust Maintainers and uploader for debian/*, and gives the dual MIT/Apache-2.0 licensing declared in Cargo.toml. The MIT text is reproduced in full and Apache-2.0 points to /usr/share/common-licenses/Apache-2.0. No non-free terms, no other holders or licences, and no built or generated artifacts lacking sources were found.

Packaging

Standard debcargo packaging at compat 13: dependencies match the crate's Cargo.toml, all named binary packages exist in the archive, the single DEP-3 patch is correct and minimal, the changelog and source format are sound, and the autopkgtests are the debcargo-generated ones marked flaky for the documented test_is_broken case. Standards-Version 4.7.4 matches Policy 4.7.4.1.

Issues

None.

Verified ◂
  • Read debian/copyright in full: Format 1.0 DEP-5; Files: * (The Rust Project Developers, 2010-2026) under MIT or Apache-2.0, Files: debian/* under the same terms; MIT text complete, Apache-2.0 via /usr/share/common-licenses/Apache-2.0.
  • Read all 17 upstream files (Cargo.toml, Cargo.toml.orig, Cargo.lock, 10 files under src/, 4 under tests/): none carries a copyright or licence header; the only licensing statement in the tree is Cargo.toml's license = "MIT / Apache-2.0", which matches Files: *. The prescan's holder check likewise found every detected holder named.
  • Grep for Copyright/(C)/©/SPDX/licence/derived-from wording across src/ and tests/ found no other holder, licence, or embedded third-party work.
  • debian/copyright.debcargo.hint is debcargo's staging file (FIXME UNKNOWN-AUTHORS/UNKNOWN-YEARS); it is not installed by any package and is superseded by debian/copyright, whose debian/* stanza covers it.
  • debian/patches/relax-deps.patch is Debian-authored (covered by Files: debian/*) and only relaxes the tracing-tree dev-dependency from 0.3.0 to 0.4, the version Debian ships.
  • Checked every dependency with apt-cache: librust-ra-ap-rustc-index 0.166.0-1 is in unstable and provides the -0.166-dev feature package; librust-rustc-apfloat 0.2.3-1, librust-rustc-hash 2.1.3-1, librust-smallvec 1.16.2-1, librust-tracing 0.1.44-1, librust-tracing-subscriber 0.3.23-1 and librust-tracing-tree 0.4.1-1 all provide the requested feature packages.
  • Verified with cargo.pm and the dh-cargo wrapper that at compat 13 dh $@ --buildsystem cargo builds by copying sources only; dh_auto_test runs cargo build (not the tests), and cargo prepare-debian --link-from-system needs no real cargo and succeeds with an empty registry. So the <!nocheck> Build-Depends-Arch entries are needed only by the skipped test step and cause no nocheck FTBFS.
  • Read debian/control, changelog, rules, source/format, tests/control, upstream/metadata and debcargo.toml: Standards-Version 4.7.4 matches Policy 4.7.4.1; compat 13 is supported; Vcs-* match debcargo-conf; the changelog version/distribution are consistent with the .dsc.
  • The four autopkgtests carry Restrictions: flaky; debian/debcargo.toml documents test_is_broken because the integration tests name the in-tree crate rustc_pattern_analysis rather than the published ra_ap_rustc_pattern_analysis, so their failures are treated as skips (autopkgtest document, flaky).
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.186.0, packaged 0.166.0), which is not a fault of the package.
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The rustc feature needs rustc_private crates; debcargo marks its tests broken, and I did not attempt to compile that non-default feature.
Proposed changes ◂

None.

Uploader's response to the LLM review

The review found no issues, so no response is needed.

Review Information

accepted — allocated to awm 1 hour ago, started 1 hour ago, completed 1 hour ago.

Final Comment

Back to Dashboard | View all reviews for this package