DFSG NEW Queue

DFSG, Licensing & New Packages Team

rust-trustfall-derive 0.3.1-1

Package Information

DescriptionDerive macros for the trustfall query engine - Rust source code

Source code for Debianized Rust crate "trustfall_derive"

MaintainerDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Changed ByCrystal Durham <crystal.durham@canonical.com>
Distributionunstable
Architectureany
VCSgit: https://salsa.debian.org/rust-team/debcargo-conf.git [src/trustfall-derive] (browse)
Trackerhttps://tracker.debian.org/pkg/rust-trustfall-derive
Uploaded2 hours ago

New Package Report

.changes◂
DateThu, 26 Nov 2026 10:47:47 +0000
Sourcerust-trustfall-derive
Version0.3.1-1
Changed-ByCrystal Durham <crystal.durham@canonical.com>
Architectureamd64 source
Distributionunstable
Changelog◂
rust-trustfall-derive (0.3.1-1) unstable; urgency=medium
 .
   * Package trustfall_derive 0.3.1 from crates.io using debcargo 2.8.2
   * Disable tests with circular dependency on trustfall
.dsc◂
Priorityoptional
Componentmain
Package-Listlibrust-trustfall-derive-dev deb rust optional arch=any
Sectionrust
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: trustfall_derive
Upstream-Contact: https://github.com/obi1kenobi/trustfall/issues
Source: https://github.com/obi1kenobi/trustfall

Files: *
Copyright: 2022-2026 Predr Predrag Gruevski <obi1kenobi82@gmail.com>
License: Apache-2.0

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Crystal Durham <crystal.durham@canonical.com>
License: Apache-2.0

License: Apache-2.0
 Debian systems provide the Apache 2.0 license in
 /usr/share/common-licenses/Apache-2.0

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 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 0 hours ago.

Report◂

DFSG NEW review for rust-trustfall-derive version 0.3.1-1

Summary

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

Licensing

Every upstream file is under Apache-2.0 per Cargo.toml and the README notice, both reproduced by the Files: * stanza pointing at /usr/share/common-licenses/Apache-2.0; the only upstream holder, Predrag Gruevski, is named, and the debcargo hint and the Debian-side files are covered by the later debian/* stanza. The README's paragraph about contributions being usable "under any terms chosen by the original author" is a contribution/relicensing policy, not a restriction on use or distribution, so it raises no DFSG problem. The prescan's holder check found no unnamed holder. One inaccuracy remains: the Files: * Copyright line adds a stray Predr before the holder's real name.

Packaging

Standard debcargo-generated packaging for a proc-macro crate: compat 13 with dh $@ --buildsystem cargo, correct debhelper/dh-sequence-cargo build dependencies, a single Multi-Arch: same dev package with the usual Provides, correct Breaks on old rustc, current Standards-Version 4.7.4, Vcs-/Homepage/X-Cargo- fields, DEP-3 patch and autopkgtests. The < !nocheck> markers on the Rust toolchain dependencies do not break a nocheck build (dh-cargo pulls cargo, cargo pulls rustc, rustc pulls libstd-rust-dev, and /usr/share/cargo/bin/cargo skips compiling under nocheck), and the disabled trybuild integration tests explain why only lib unit tests run in autopkgtest.

Issues

minor licensing 1. Files: * Copyright line garbles the holder as Predr Predrag Gruevski ◂
  • Files: debian/copyright:7, README.md:112
  • Basis: checked, in the package or with a reference tool
  • Evidence: debian/copyright: Copyright: 2022-2026 Predr Predrag Gruevski <obi1kenobi82@gmail.com>; README.md: Copyright 2022-present Predrag Gruevski.; Cargo.toml: authors = ["Predrag Gruevski <obi1kenobi82@gmail.com>"]
  • Problem: The Copyright field of the catch-all stanza introduces Predr, which is not a person's or entity's name and appears nowhere in the package as a copyright holder (only in the predr.ag URLs). It reads as though a second holder were involved, so the field does not accurately reproduce the upstream notice. The licence (Apache-2.0) and the actual holder are otherwise correct and complete, so this is an accuracy slip in debian/copyright, not a DFSG or Policy 2.3 failure.
  • Fix: Replace the line with Copyright: 2022-2026 Predrag Gruevski <obi1kenobi82@gmail.com>.
Verified ◂
  • Read all files in debian/ except debian/watch (out of scope) and debian/cargo-checksum.json (excluded by the instructions), plus debian/copyright.debcargo.hint and the whole patch; read every upstream file: Cargo.toml, Cargo.toml.orig, README.md, .gitignore, .cargo_vcs_info.json, src/lib.rs, tests/uses.rs and all nine tests/ui/*.rs and *.stderr files.
  • Grepped the whole tree (gitignore disabled, .pc/ and cargo-checksum.json excluded) for Copyright/(C)/©/SPDX/Licensed under/Apache/GNU/MPL/public domain/All rights reserved: the only upstream notices are README.md:112 (Copyright 2022-present Predrag Gruevski) and the Apache-2.0 statement at README.md:114, both matched by debian/copyright.
  • README.md's contribution clause (all your contributions may be used, modified, copied, and/or redistributed under any terms chosen by the original author) is a relicensing policy for contributions, not a field-of-use or no-modification term on the distributed work.
  • tests/ui/*.stderr files are trybuild expected compiler output (test data), and tests/ui/syntax_error.rs.broken is a deliberately renamed disabled fixture; neither is a built artefact and both are covered by Files: *.
  • Cargo.toml is the crates.io-normalised copy of the shipped Cargo.toml.orig, with debian/patches/disable-autotests.patch applied; its generator input is present, so it is not an unpreferred form.
  • debian/copyright.debcargo.hint is a debcargo template (still holding UNKNOWN-LICENSE; FIXME (overlay)) covered by the debian/* stanza; debian/copyright is the authoritative file and states Apache-2.0 for all of it.
  • <!nocheck> on cargo/rustc/libstd-rust-dev and the librust-* build deps is harmless: apt-cache shows dh-cargo Depends on cargo, cargo Depends on rustc, rustc Depends on libstd-rust-dev, and /usr/share/cargo/bin/cargo returns 0 for test/bench when nocheck is set, while dh-cargo's buildsystem copies sources without compiling.
  • librust-trybuild-1+default-dev (provided by librust-trybuild-dev 1.0.122-1), librust-syn-2+default-dev (librust-syn-2-dev 2.0.119-2) and libstd-rust-dev all exist in the reviewing system's lists.
  • With autotests=false and doctest=false patched in, autopkgtest still exercises the to_lower_snake_case unit test in src/lib.rs:409; the trybuild integration tests are the ones disabled, justified by the circular dev-dependency on the workspace trustfall crate.
  • Standards-Version 4.7.4 matches Policy 4.7.4.1 to its first two components; compat 13 is a supported level.
  • The patch has a full DEP-3 header (Description, Author, Forwarded: not-needed, Last-Update) and its purpose (disabling workspace-only tests) matches the changelog entry.
  • uscan found the packaged version as the newest upstream release (upstream 0.3.1, packaged 0.3.1).
  • Every pointer of debian/copyright to /usr/share/common-licenses names a file that is there (Apache-2.0).
Not confirmed ◂
  • The orig tarball's full file list could not be enumerated (the archive reader showed only the top-level trustfall_derive-0.3.1/ entry and rejected deeper selectors), so the unpacked tree was not compared file-by-file against rust-trustfall-derive_0.3.1.orig.tar.gz; nothing in the tree suggested an extra or missing file.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package