Review: rust-ra-ap-rustc-abi 0.166.0-1
Package Information
| Description | Rust compiler ABI and layout types for rust-analyzer - Rust source code Automatically published copy of the rustc compiler crate rustc_abi from the rust-lang/rust repository, used by the rust-analyzer library crates (ra_ap_*). Source code for Debianized Rust crate "ra-ap-rustc_abi" |
|---|---|
| Maintainer | Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> |
| Changed By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Sponsor | tsimonq2@debian.org |
| Distribution | unstable |
| Architecture | any |
| VCS | git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/ra-ap-rustc-abi] (browse) |
| Tracker | https://tracker.debian.org/pkg/rust-ra-ap-rustc-abi |
| Uploaded | 4 hours ago |
New Package Report
.changes
| Version | 0.166.0-1 |
|---|---|
| Changed-By | Juan Manuel Méndez Rey <juan.mendezr@proton.me> |
| Architecture | source amd64 |
| Distribution | unstable |
| Date | Wed, 02 Dec 2026 09:27:17 -0600 |
| Source | rust-ra-ap-rustc-abi |
Changelog
rust-ra-ap-rustc-abi (0.166.0-1) unstable; urgency=medium . * Package ra-ap-rustc_abi 0.166.0 from crates.io using debcargo 2.8.4
.dsc
| Package-List | librust-ra-ap-rustc-abi-dev deb rust optional arch=any |
|---|---|
| Section | rust |
| Priority | optional |
| Component | main |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ra-ap-rustc_abi 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-abi version 0.166.0-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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 Files: * covering all 14 upstream files (Cargo.toml, Cargo.toml.orig, Cargo.lock and 11 Rust sources) as MIT or Apache-2.0 for The Rust Project Developers, which matches the crate's own license = "MIT / Apache-2.0" and its rust-lang/rust origin. A tree-wide search found no per-file copyright or licence notices, no SPDX headers and no restrictive or non-free wording; the full Expat text is reproduced in the copyright file and Apache-2.0 points at /usr/share/common-licenses/Apache-2.0, so the MIT notice requirement is met. debian/* is covered by its own stanza. No vendored third-party code, binaries, fonts or images are present, so nothing is outside the stated terms.
Packaging
Straight debcargo 2.8.4 output for debhelper compat 13: dh $@ --buildsystem cargo with dh-sequence-cargo, Build-Depends/Arch split correctly, all named dependencies exist in the archive, and the library package is Architecture: any with Multi-Arch: same. The single patch has DEP-3 headers and justifiably drops the optional rand 0.9 / rand_xoshiro 0.7 dependencies, which are absent from the archive and whose only users sit behind the undeclared randomize feature (#[cfg(feature = "randomize")]). autopkgtests are present and well-formed (@ expands to the source package's binaries), and Standards-Version 4.7.4 matches current Policy. override_dh_auto_test is skipped by compat-13 dh under nocheck, and a nocheck build still works because dh-cargo only copies sources for a lib package and its configure step needs just the python wrapper, whose cargo package dh-cargo depends on.
Issues
None.
Verified ◂
- Whole tree inventoried: 14 upstream files (Cargo.toml, Cargo.toml.orig, Cargo.lock, and 11 files under src/), all matched by the
Files: *stanza; the prescan's 14-file count matches. - Grep across the tree for
Copyright,(C),©,SPDX-License-Identifier,Licensed under,Permission is hereby granted,GNU General Public,GNU Lesser,Apache License,Mozilla Public,All rights reserved,public domain, and non-commercial/no-derivative wording found matches only in debian/copyright and debian/copyright.debcargo.hint; no source file carries its own notice or licence. - Cargo.toml states
license = "MIT / Apache-2.0", consistent with debian/copyright; the MIT text is reproduced in full and Apache-2.0 is referenced to /usr/share/common-licenses. - debian/copyright is DEP-5 with the correct Format line, Upstream-Name, Source and Upstream-Contact; the
debian/*stanza names both the Debian Rust Maintainers and Juan Manuel Mendez Rey. - Read all files under debian/: control, rules, changelog, copyright, copyright.debcargo.hint, debcargo.toml, tests/control, patches/series, patches/drop-rand-deps.patch, source/format, upstream/metadata.
- apt-cache: dh-cargo 34 provides dh-sequence-cargo; libstd-rust-dev 1.99.1, librust-bitflags-dev 2.13.2 (provides librust-bitflags-2+default-dev), librust-tracing-dev 0.1.44, librust-ra-ap-rustc-hashes 0.166.0-1 and rust-ra-ap-rustc-index 0.166.0-1 all exist; librust-rand-0.9-dev and librust-rand-xoshiro-0.7-dev are not in the package lists, matching the patch's rationale.
- The rand uses in src/layout.rs:1144-1148 are inside
#[cfg(feature = "randomize")], and Cargo.toml declares only thenightlyfeature, so removing the dependencies breaks nothing that can be enabled. - Cargo.lock still lists rand and rand_xoshiro, but dh-cargo's configure step deletes Cargo.lock (/usr/share/perl5/Debian/Debhelper/Buildsystem/cargo.pm), so it has no effect on the build.
- The debhelper tool confirms that at compat 13 dh skips override targets of dh_auto_test under
nocheck; dh-cargo's lib build only copies sources andcargo prepare-debianneeds no Rust compiler, so the<!nocheck>markers are consistent. - autopkgtest's
@is expanded to all binary packages of the source (/usr/share/autopkgtest/lib/testdesc.py_expand_test_depends), so the test Depends are valid; the tests/control entries correspond to debcargo.toml'stest_is_brokenfor the nightly feature viaRestrictions: flaky. - Changelog version 0.166.0-1, distribution unstable, Wednesday 2 December 2026 timestamp correct; Vcs-* fields point at debcargo-conf; Standards-Version 4.7.4 is current against Policy 4.7.4.1.
- uscan found upstream releases with
debian/watch; a newer upstream version is available (upstream0.188.0, packaged0.166.0), which is not a fault of the package. - Every pointer of
debian/copyrightto /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
- No build or test run was performed (read-only review); the build was assumed to succeed as instructed.
- The orig and debian tarballs beside the package were not compared file by file; the unpacked tree was reviewed instead.
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.