DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-ra-ap-rustc-next-trait-solver 0.166.0-1

Package Information

DescriptionRust compiler next-generation trait solver for rust-analyzer - Rust source code

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

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-next-trait-solver] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-rustc-next-trait-solver
Uploaded3 hours ago

New Package Report

.changes◂
Architecturesource amd64
Distributionunstable
DateWed, 02 Dec 2026 10:47:22 -0600
Sourcerust-ra-ap-rustc-next-trait-solver
Version0.166.0-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Changelog◂
rust-ra-ap-rustc-next-trait-solver (0.166.0-1) unstable; urgency=medium
 .
   * Package ra-ap-rustc_next_trait_solver 0.166.0 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-ra-ap-rustc-next-trait-solver-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra-ap-rustc_next_trait_solver
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 2 hours ago.

Report◂

DFSG NEW review for rust-ra-ap-rustc-next-trait-solver 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

The 25 Rust sources plus Cargo.toml, Cargo.toml.orig and Cargo.lock are the rustc crate rustc_next_trait_solver copied from rust-lang/rust, which is MIT OR Apache-2.0, copyright The Rust Project Developers; the scan's author check found every holder already named. debian/copyright is DEP-5, names that holder, uses the matching short names, carries the full MIT text and refers to /usr/share/common-licenses/Apache-2.0 as Policy 12.5 recommends for Apache-2.0. No non-free terms, no unlicensed files, no vendored third-party code.

Packaging

Standard debcargo 2.8.4 output: debhelper-compat 13 with dh-sequence-cargo, Build-Depends-Arch for the arch-only crate, correct Multi-Arch: same dev package with the usual Provides, multi-feature autopkgtests, DEP-14 Vcs-* and Vcs-Browser with the subdirectory, and a sane changelog. The <!nocheck> marks are right: dh-cargo's build step only copies sources, while the compile check happens in dh_auto_test, which compat 13 skips under nocheck. Standards-Version 4.7.4 matches the reviewing system's Policy 4.7.4.1.

Issues

None.

Verified ◂
  • Full inventory of the 28 upstream files (3 at the top level, 25 under src/): none carries a copyright, SPDX or licence header of its own; Cargo.toml.orig declares license = "MIT / Apache-2.0" and repository rust-lang/rust, so Files: * with Copyright 2010-2026 The Rust Project Developers and License MIT or Apache-2.0 matches. The prescan's author check over the same 28 files found no holder missing from debian/copyright.
  • Cargo.toml is cargo's generated form of Cargo.toml.orig, which is shipped alongside it, so the preferred form is present; Cargo.lock is generated from it, is deleted by dh-cargo's configure step (rm_files("Cargo.lock") in /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm) and is not installed, so it raises no built-file concern.
  • debian/copyright is DEP-5 with the exact Format URL; the MIT paragraph holds the whole MIT text (MIT is not in /usr/share/common-licenses) and Apache-2.0 is referenced at /usr/share/common-licenses/Apache-2.0, which Policy 12.5 says Apache-2.0 packages should do. Both short names are defined by stand-alone License paragraphs, and MIT and Apache-2.0 are compatible.
  • debian/copyright.debcargo.hint is debcargo's own template (still containing FIXME placeholders), covered by the Files: debian/* stanza, not installed in any binary; it is not the copyright file.
  • licence wording search over the whole tree for non-commercial, no-derivative, personal-use, research-only and similar terms: no matches.
  • Build dependencies checked with apt-cache: librust-derive-where-1+default-dev (1.2.7-1+b2) and librust-tracing-0.1+default-dev (0.1.44-1+b1) exist; librust-ra-ap-rustc-type-ir-macros-0.166+default-dev is provided by librust-ra-ap-rustc-type-ir-macros-dev 0.166.0-1; librust-ra-ap-rustc-index-0.166-dev is provided by librust-ra-ap-rustc-index-dev 0.166.0-1 (in unstable); librust-ra-ap-rustc-type-ir-0.166-dev comes from rust-ra-ap-rustc-type-ir 0.166.0-1, waiting in NEW, so its absence from the archive is not a fault.
  • dh-cargo 34 provides dh-sequence-cargo, so Build-Depends: debhelper-compat (= 13), dh-sequence-cargo resolves; compat 13 is neither deprecated nor discouraged.
  • The <!nocheck> marks are correct: cargo.pm's build only copies the sources into /usr/share/cargo/registry, the compiling cargo build is in its test step, and at compat 13 dh skips every override of dh_auto_test under DEB_BUILD_OPTIONS=nocheck. The toolchain is present even then because dh-cargo (not marked <!nocheck>) depends on cargo, which depends on rustc, which depends on libstd-rust-dev.
  • debian/rules is the two-target debcargo form; override_dh_auto_test passes test --all, matching dh-cargo's documented use. debian/tests/control has four cargo-auto-test stanzas with the expected Features/Depends (dh-cargo (>= 33~), rustc, @) and Restrictions; the nighty/all-features ones are marked flaky and Architecture: !riscv64, consistent with test_is_broken for lib+nightly in debian/debcargo.toml.
  • Standards-Version 4.7.4 against the reviewing system's Policy 4.7.4.1: current. Changelog is a well-formed single unstable entry for 0.166.0-1, closed by the uploader who is also in Uploaders and in the debian/* copyright stanza. Vcs-Git/Vcs-Browser point at debcargo-conf with the [src/ra-ap-rustc-next-trait-solver] subdirectory.
  • dsc/tarballs beside the tree agree with it: 3.0 (quilt), Version 0.166.0-1, one binary package, and no debian/patches, which 3.0 (quilt) permits.
  • 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 ◂
  • No build or autopkgtest was run (read-only review); the compile check and the four autopkgtests were judged from debian/rules, dh-cargo's build system and debian/tests/control, not executed.
  • The contents of the binary package were inferred from cargo.pm's install step (only the registry source tree plus the usual doc symlinks for feature packages), not from a built .deb.
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