DFSG NEW Queue

DFSG, Licensing & New Packages Team

Review: rust-ra-ap-syntax 0.0.358-1

Package Information

DescriptionConcrete syntax tree definitions for rust-analyzer - Rust source code

Source code for Debianized Rust crate "ra_ap_syntax"

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

New Package Report

.changes◂
Changed-ByJuan Manuel Méndez Rey <juan.mendezr@proton.me>
Architecturesource amd64
Distributionunstable
DateWed, 02 Dec 2026 09:44:12 -0600
Sourcerust-ra-ap-syntax
Version0.0.358-1
Changelog◂
rust-ra-ap-syntax (0.0.358-1) unstable; urgency=medium
 .
   * Package ra_ap_syntax 0.0.358 from crates.io using debcargo 2.8.4
.dsc◂
Sectionrust
Priorityoptional
Componentmain
Package-Listlibrust-ra-ap-syntax-dev deb rust optional arch=any
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ra_ap_syntax
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: 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-syntax version 0.0.358-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: 1 found

Licensing

debian/copyright is DEP-5 (exact Format URL). Its Files: * stanza reproduces the crate's only licensing evidence, license = "MIT OR Apache-2.0" and authors = ["rust-analyzer team"] in Cargo.toml, gives the holder, includes the full MIT text and points Apache-2.0 at /usr/share/common-licenses/Apache-2.0; debian/* has its own stanza. No file outside debian/ carries a copyright notice, SPDX tag or separate licence, and no non-free terms appear anywhere. The crate ships no LICENSE file, so nothing is left undescribed.

Packaging

debcargo 2.8.4 output, correct for the Rust team's crate packaging: debhelper compat 13 (supported, not discouraged) with dh-sequence-cargo, Build-Depends-Arch versions all checked against providers in the archive or NEW, Provides for the 0.0.x crate name aliases, Breaks: rustc (<< 1.98~) matching rust-version = 1.98, a DEP-3 dep-relaxation patch, and autopkgtests marked flaky for the declared broken upstream tests. Standards-Version 4.7.4 matches Policy 4.7.4.1's series; changelog is sane; no maintainer scripts. The <!nocheck> markers are harmless: dh-cargo's build step only copies sources, and cargo/rustc/libstd-rust-dev arrive through dh-cargo's own dependency chain even in a nocheck build.

Issues

None.

Verified ◂
  • Full upstream inventory (73 files outside debian/ and .pc/): Cargo.toml, Cargo.toml.orig, Cargo.lock, .cargo_vcs_info.json, rust.ungram, 25 src/*.rs files (including src/ast/generated/{nodes,tokens}.rs), 5 test_data/parser/fuzz-failures inputs, 8 test_data/parser/validation .rs + 8 .rast golden files, 6 test_data/reparse/fuzz-failures inputs.
  • Case-insensitive grep of the whole tree for Copyright, (C), ©, SPDX-License-Identifier, Licensed under, Permission is hereby granted, GNU General/Lesser, Apache License, Mozilla Public, public domain, All rights reserved found no notice; no LICENSE/COPYING/NOTICE file exists anywhere (full hidden listing). The crate is licensed solely by license = "MIT OR Apache-2.0" in Cargo.toml, reproduced in debian/copyright.
  • test_data/reparse/fuzz-failures/0003.rs (prescan binary hit) is an 8-byte non-UTF-8 parser-fuzz corpus input (literal 0/1/underscore bytes), read by the reparse fuzz tests: plain upstream test data covered by Files: *, not a compiled or generated artifact.
  • src/ast/generated/nodes.rs and tokens.rs are marked Generated by cargo xtask codegen grammar; their grammar input is shipped as rust.ungram, and they are themselves the compiled Rust sources, so no preferred form is missing.
  • The .rast files are golden outputs of the validation tests whose .rs inputs ship beside them; Cargo.lock is Cargo's generated lock file, removed by dh-cargo's configure step.
  • debian/copyright is DEP-5 with the exact Format URL; stanzas Files: * and Files: debian/* cover the tree, MIT full text present, Apache-2.0 references /usr/share/common-licenses/Apache-2.0; debian/copyright.debcargo.hint is debcargo's input template and its UNKNOWN-YEARS FIXME was resolved in the shipped copyright.
  • Dependencies checked with the apt-cache tool: librust-ra-ap-rustc-lexer-0.166-dev (0.166.0), librust-itertools-0.14+default-dev (0.14.0), librust-rustc-literal-escaper-0.0+default-dev (0.0.8), librust-smol-str-0.3+default-dev (0.3.7), librust-rowan-0.17+default-dev (0.17.0), librust-triomphe-0.1+std-dev (0.1.17), librust-smallvec-1+const-new-dev (1.16.2), librust-rustc-hash-2+default-dev (2.1.3), librust-either-1+default-dev (1.19.0), librust-tracing-0.1+std-dev (0.1.44) all have providers; librust-ra-ap-stdx-dev is built by rust-ra-ap-stdx 0.0.358-1 in NEW; rustc 1.99.1 satisfies >= 1.98 and dh-cargo 34 satisfies the autopkgtest >= 33~.
  • explicit override_dh_auto_test: dh_auto_test -- test --all || true risks masking test failures but matches the declared test_is_broken = true in debian/debcargo.toml; the tests also run (as flaky) in autopkgtest, so it is debcargo's intended handling, not a defect.
  • compat 13 is supported and not deprecated/discouraged (debhelper tool); dh skips override_dh_auto_test under DEB_BUILD_OPTIONS=nocheck from compat 13, and dh-cargo Depends cargo which Depends rustc which Depends libstd-rust-dev, so the nocheck <!nocheck> markers do not starve the build.
  • Standards-Version 4.7.4 vs Policy 4.7.4.1: same 4.7 series, current enough; single DEP-3 patch relaxes three dependency versions with rationale; no install/dirs/links/maintainer-script files exist to check.
  • 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 ◂
  • librust-ra-ap-parser-0.0+default-dev (Build-Depends-Arch and Depends, >= 0.0.358, << 0.0.359) was not found in the reviewing system's package lists and no upload in the 2026-12-02 NEW snapshot builds it; if rust-ra-ap-parser 0.0.358 is never uploaded the build dependency is unsatisfiable. Not treated as a finding because the lists can lag and NEW Provides are not matched by the tool, while the sibling rust-ra-ap-stdx 0.0.358-1 is already in NEW.
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