LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

cargo-report

Display build reports and diagnostics

TLDR

Show future incompatibility report
$ cargo report future-incompatibilities --id [1]
copy
Show report after build
$ cargo build --future-incompat-report
copy

SYNOPSIS

cargo report type [options]

DESCRIPTION

cargo report generates diagnostic reports about the project. Currently its primary subcommand is `future-incompatibilities`, which displays warnings about code patterns in dependencies that will be rejected in future Rust versions.When Cargo detects future-incompatible warnings during a build, it stores a report and displays a notification with instructions to view the full details. These warnings indicate patterns that may exhibit undefined behavior, are scheduled for removal, or lack well-defined semantics. Reviewing these reports helps maintainers proactively update their dependencies before breaking changes land.

PARAMETERS

--id id

Report ID from previous build
--package spec
Package to report on
-v, --verbose
Verbose output
-q, --quiet
Suppress output

CONFIGURATION

.cargo/config.toml

Controls report frequency via `[future-incompat-report]` section (e.g., `frequency = "always"`).

SUBCOMMANDS

future-incompatibilities

Display future incompatibility report

FUTURE INCOMPATIBILITIES

Cargo checks dependencies for patterns that:- May exhibit undefined behavior- Are scheduled for removal from Rust- Do not have well-defined semanticsWhen detected, a warning appears after build with instructions to view the full report.

RESOLVING ISSUES

1. Update dependencies to versions with fixes2. Work with dependency maintainers3. Consider alternatives if unmaintained

INSTALL

sudo apt install cargo
copy
sudo dnf install cargo
copy
sudo apk add cargo
copy
sudo zypper install cargo
copy
nix profile install nixpkgs#cargo
copy

CAVEATS

Report is not a lint and doesn't interact with -Dwarnings. These warnings don't fail builds but indicate future breakage.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid