DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-ra-ap-rustc-type-ir 0.166.0-1

Package Information

DescriptionRust compiler type IR for rust-analyzer - Rust source code

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

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-type-ir] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-ra-ap-rustc-type-ir
Uploaded4 hours ago

New Package Report

.changes◂
Distributionunstable
DateWed, 02 Dec 2026 09:59:48 -0600
Sourcerust-ra-ap-rustc-type-ir
Version0.166.0-1
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Changelog◂
rust-ra-ap-rustc-type-ir (0.166.0-1) unstable; urgency=medium
 .
   * Package ra-ap-rustc_type_ir 0.166.0 from crates.io using debcargo 2.8.4
.dsc◂
Package-Listlibrust-ra-ap-rustc-type-ir-dev deb rust optional arch=any
Sectionrust
Priorityoptional
Componentmain
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra-ap-rustc_type_ir
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-type-ir 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 with the exact 1.0 Format URL. Its Files: * stanza names The Rust Project Developers and gives MIT or Apache-2.0, which is what the crate's Cargo.toml declares (license = "MIT / Apache-2.0"); the upstream tree contains no separate copyright headers or other holder notices to contradict it. The MIT text is reproduced in full and Apache-2.0 is correctly referenced to /usr/share/common-licenses/Apache-2.0 (present on the system). debian/* is covered by its own stanza naming the Debian Rust Maintainers and the uploader. No non-free wording, vendored third-party license, or licence incompatibility was found in the 44 upstream files.

Packaging

This is standard debcargo 2.8.4 output for a Rust library crate. compat 13 with dh-sequence-cargo is supported and not deprecated; Build-Depends-Arch and the binary Depends match Cargo.toml and are satisfiable from the archive (all librust-* dependencies were checked with apt-cache; ra-ap-rustc-abi 0.166 is in NEW). The single DEP-3 patch only relaxes derive-where to Debian's 1.2.7. Autopkgtest stanzas, Vcs fields, homepage, source format, changelog, and upstream metadata are all sound. No nocheck problem: at compat 13 dh skips override_dh_auto_test under nocheck, and cargo/rustc/libstd-rust-dev still arrive via dh-cargo -> cargo for the configure step.

Issues

None.

Verified ◂
  • Read all of debian/copyright: DEP-5, Format URL exact, one Files: * stanza, one debian/* stanza, stand-alone Apache-2.0 and MIT license paragraphs.
  • Licensing evidence: Cargo.toml and Cargo.toml.orig declare license = "MIT / Apache-2.0"; the only licence statement for the sources, and the copyright file states the same terms.
  • All 44 upstream files were covered: Cargo.toml, Cargo.lock, Cargo.toml.orig and 41 src/*.rs files. Grep for Copyright/(C)/©/SPDX/licence/GNU/Apache/MPL/public domain/all rights reserved found no per-file notices or non-free terms; the only hits were code identifiers such as Const(c) in src/inherent.rs.
  • No LICENSE, COPYING, NOTICE or AUTHORS file exists in the upstream tree; the licence terms are supplied by debian/copyright, so the MIT notice requirement and Apache-2.0 pointer are satisfied.
  • Prescan author check: it found no copyright holder that debian/copyright fails to name; the three holders it counted are the Files: * holder and the two debian/* maintainers.
  • debian/patches/relax-deps.patch has DEP-3 headers (Description, Author, Forwarded: not-needed, Last-Update) and changes only the derive-where requirement in Cargo.toml from 1.6.1 to 1.2.7; debian/cargo-checksum.json was not read per instructions.
  • Dependencies checked with apt-cache: arrayvec 0.7.8, bitflags 2.13.2, derive-where 1.2.7, ena 0.14.4, indexmap 2.14.2, rustc-hash 2.1.3, smallvec 1.16.2, thin-vec 0.2.21, tracing 0.1.44; ra-ap-rustc-ast-ir/index/macros 0.166 are in the archive and ra-ap-rustc-abi 0.166.0-1 is waiting in NEW, so the dependency is satisfied once accepted.
  • nocheck build: debhelper 14.5 says compat 13 makes dh skip hooks/overrides of dh_auto_test under nocheck; the cargo buildsystem's configure step needs the cargo wrapper, and dh-cargo (via dh-sequence-cargo) depends on cargo, which depends on rustc and libstd-rust-dev, so the <!nocheck> marks do not break a nocheck build.
  • Standards-Version 4.7.4 against Policy 4.7.4.1: first two components match, so not an issue. compat 13 is supported and not deprecated.
  • debian/changelog version 0.166.0-1, distribution unstable, timestamp Wed 02 Dec 2026 consistent; match with the .dsc.
  • debian/tests/control is syntactically valid (commas accepted; @ in Depends expands to the binary package's dependencies), the tests are marked flaky for the known nightly-only breakage documented by test_is_broken in debian/debcargo.toml, and the Architecture: !riscv64 lines are valid dpkg syntax.
  • debian/source/format is 3.0 (quilt); Vcs-Git/Vcs-Browser use the debcargo-conf branch-subdirectory form; debian/upstream/metadata fields are valid.
  • debian/copyright.debcargo.hint is debcargo scaffolding left beside the finished debian/copyright; it is not the operative copyright file, is not installed by dh_installdocs, and is covered by the debian/* stanza.
  • Cargo.lock is removed by dh-cargo's configure step (rm_files("Cargo.lock") in /usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm), so the stale derive-where 1.6.1 pin in it cannot affect the build.
  • 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 ◂

None.

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