DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-ra-ap-stdx 0.0.358-1

Package Information

DescriptionMissing batteries for standard libraries for rust-analyzer - Rust source code

Source code for Debianized Rust crate "ra_ap_stdx"

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

New Package Report

.changes◂
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Distributionunstable
DateTue, 01 Dec 2026 21:58:20 -0600
Sourcerust-ra-ap-stdx
Version0.0.358-1
Changelog◂
rust-ra-ap-stdx (0.0.358-1) unstable; urgency=medium
 .
   * Package ra_ap_stdx 0.0.358 from crates.io using debcargo 2.8.4
.dsc◂
Priorityoptional
Componentmain
Package-Listlibrust-ra-ap-stdx-dev deb rust optional arch=any
Sectionrust
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra_ap_stdx
Upstream-Contact: rust-analyzer team
Source: https://github.com/rust-lang/rust-analyzer

Files: *
Copyright: 2018-2026 rust-analyzer team
License: MIT or Apache-2.0

Files: src/anymap.rs
Copyright:
 2014-2022 Chris Morgan
 2018-2026 rust-analyzer team
License: MIT or Apache-2.0
Comment:
 Port of parts of https://github.com/chris-morgan/anymap 1.0.0-beta.2,
 which is BlueOak-1.0.0 OR MIT OR Apache-2.0; used here under MIT or Apache-2.0.

Files: src/assert.rs
Copyright:
 2021-2024 Aleksey Kladov <aleksey.kladov@gmail.com>
 2018-2026 rust-analyzer team
License: MIT or Apache-2.0
Comment:
 Vendored from https://github.com/matklad/always-assert (MIT OR Apache-2.0).

Files: src/lib.rs
Copyright:
 2018-2026 rust-analyzer team
 2010-2026 The Rust Project Developers
License: MIT or Apache-2.0
Comment:
 The case conversion helpers are taken from rustc_lint (nonstandard_style.rs).

Files: src/thread/intent.rs
Copyright:
 2018-2026 rust-analyzer team
License: MIT or Apache-2.0
Comment:
 The QoS class documentation is rewritten from Apple's libpthread qos.h;
 only two short phrases are shared with it.

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 1 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 1 hour ago.

Report◂

DFSG NEW review for rust-ra-ap-stdx version 0.0.358-1

Summary

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

Licensing

The source is entirely MIT or Apache-2.0, both texts are present (Apache-2.0 via /usr/share/common-licenses), and the vendored anymap/always-assert/rustc_lint portions are correctly identified and compatible. debian/copyright is DEP-5 and largely accurate, but src/variance.rs, explicitly a copy of the Rust standard library's std::marker::variance, is attributed only to the rust-analyzer team; The Rust Project Developers, whose notice MIT requires to be kept, is named only in the stanza for src/lib.rs. That makes the copyright file incomplete for a file shipped and built as part of the crate.

Packaging

Standard debcargo-generated packaging: compat 13 with dh-sequence-cargo, correct Build-Depends-Arch and binary Depends/Provides, all named packages exist in the archive, Standards-Version 4.7.4 matches current Policy 4.7.4.1, patches carry DEP-3 headers, autopkgtests use the dh-cargo templates, and the changelog is sane. No packaging fault worth reporting was found.

Issues

blocker licensing 1. src/variance.rs, a copy of std::marker::variance, is attributed only to rust-analyzer team and omits The Rust Project Developers ◂
  • Files: src/variance.rs:1, debian/copyright (Files: stanza for src/lib.rs, lines 30-37, and Files: * catch-all)
  • Basis: checked, in the package or with a reference tool
  • Evidence: src/variance.rs:1: //! This is a copy of [std::marker::variance]. debian/copyright gives Files: * Copyright: 2018-2026 rust-analyzer team; the only stanza naming The Rust Project Developers is Files: src/lib.rs (2010-2026 The Rust Project Developers).
  • Problem: The file is an admitted copy of code from the Rust standard library, whose copyright is held by The Rust Project Developers (Debian's own rustc/cargo copyright also lists Graydon Hoare and the Mozilla Foundation for such early std code). It is the source of a module compiled into the crate and is shipped as plain text in librust-ra-ap-stdx-dev, and the file itself carries no copyright notice, so Debian Policy 2.3 requires the notice in debian/copyright. The MIT licence requires the copyright notice to accompany copies. The catch-all stanza names only the rust-analyzer team, and the Rust Project Developers entry does not cover src/variance.rs, so the file's attribution is incomplete.
  • Fix: Add src/variance.rs to the Files: src/lib.rs stanza (or give it its own stanza) with Copyright: 2010-2026 The Rust Project Developers and 2018-2026 rust-analyzer team, keeping License: MIT or Apache-2.0.
Verified ◂
  • Read debian/copyright in full: it is DEP-5 with the correct Format URL, Files/Copyright/License stanzas, an MIT text paragraph and the Apache-2.0 pointer to /usr/share/common-licenses/Apache-2.0.
  • The prescan's author check found every extracted holder already named; checked that against the source myself.
  • src/anymap.rs: header Copyright © 2014–2022 Chris Morgan and the BlueOak-1.0.0 OR MIT OR Apache-2.0 provenance (used under MIT or Apache-2.0) are matched by the dedicated stanza and its Comment; selecting MIT/Apache from the triple licence is valid.
  • src/assert.rs: header Vendored from https://github.com/matklad/always-assert/...; the stanza names Aleksey Kladov and uses MIT or Apache-2.0, matching upstream.
  • src/lib.rs: the Code partially taken from rust/compiler/rustc_lint/src/nonstandard_style.rs and other Taken from rustc comments are covered by its stanza naming The Rust Project Developers.
  • src/thread/intent.rs: the QoS documentation adapted from Apple's libpthread qos.h is described in its stanza as rewritten with only two short phrases shared; the file contains no Apple copyright notice or copied licence text.
  • Other src/*.rs files (macros.rs, non_empty_vec.rs, panic_context.rs, process.rs, rand.rs, tempfile.rs, thread.rs, thread/pool.rs) have no third-party copyright notice and fall under the rust-analyzer team's Files: * stanza; no LICENSE/COPYING/NOTICE files exist in the tree.
  • Cargo.toml declares license = "MIT OR Apache-2.0", consistent with debian/copyright; Cargo.toml.orig and Cargo.lock are covered by Files: *.
  • Ignored per instructions: .pc/ and debian/cargo-checksum.json (not read or reported on).
  • The prescan listed no built, minified, PDF or binary files; the only generated file, Cargo.lock, is ordinary upstream cargo metadata.
  • Packaging: debhelper-compat (= 13) with dh-sequence-cargo (dh-cargo 34 provides it); all Build-Depends-Arch and binary Depends packages exist in the reviewing system's archive (backtrace 0.3.77, crossbeam-channel 0.5.17, crossbeam-utils 0.8.23, itertools 0.14.0, jod-thread 1.0.0, libc, tracing 0.1.44, rustc 1.99.1 >= 1.98).
  • Standards-Version 4.7.4 is current against Policy 4.7.4.1; both patches have DEP-3 Description/Author/Forwarded/Last-Update headers and are marked not-needed appropriately for Debian-only dependency changes.
  • debian/tests/control uses the standard dh-cargo cargo-auto-test templates with @ (autopkgtest's expansion to the source's binary packages) and valid Features/Restrictions fields; changelog is in unstable, version 0.0.358-1, dated correctly, with the uploader named in Uploaders.
  • debian/rules' override_dh_auto_test: dh_auto_test -- test --all is skipped by dh under the nocheck build profile at compat 13, and the test-only dependencies are marked <!nocheck>; cargo/rustc for dh_auto_configure come in through dh-cargo's dependency on cargo.
  • uscan found upstream releases with debian/watch; a newer upstream version is available (upstream 0.0.369, packaged 0.0.358), 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 ◂
  • src/process.rs:1-4 cites cargo-util's read2.rs and process_builder.rs at specific commits, and its read2/streaming_output code follows them; without the cargo-util sources in the package I could not determine whether code was copied, and so whether The Rust Project Developers must also be added for this file.
  • Build-Depends-Arch does not list librust-backtrace-0.3+default-dev although Cargo.toml declares backtrace as an optional dependency and the -dev package Depends on it; whether cargo's offline directory registry needs it present for cargo test --all (default features) could not be tested, since the package cannot be built here.
  • No build or autopkgtest was run (read-only review); build success and test results are assumed as instructed.
Proposed changes ◂

None.

Uploader's response to the LLM review

Waiting for the uploader's response until , because the review found serious issues.

Are you a maintainer or uploader of this package? Log in with Salsa to comment on the review.

Back to Dashboard | View all reviews for this package