failure is no longer maintained
Deprecated. The source gives no day. Replacement: anyhow, eyre, fehler, or snafu. Source: RustSec advisory RUSTSEC-2020-0036.
Check a version:
evergreen check pkg:cargo/failure
The failure crate is officially end-of-life: its former maintainer marked it deprecated and announced there will be no further updates or maintenance.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Deprecated |
| Severity | medium |
| Ecosystem | rust |
| Component | pkg:cargo/failure |
| Affected versions | vers:cargo/* |
| Date from the source | The source gives no day |
| Replacement | anyhow, eyre, fehler, or snafu |
| Evidence last seen | 2026-10-17 |
| Reviewed | 2026-10-17 by arminazimi |
| Review due | 2026-12-01 (45 days after the last review) |
| Rule ID | rust.crate.failure.unmaintained |
Sources
- RustSec advisory RUSTSEC-2020-0036 (accessed 2026-10-17)
Migration
Constraints
- Keep error types,
Displayoutput, and public error conversions stable for callers of this crate.
Steps
- Replace failure. Replace failure with anyhow for application errors or thiserror/snafu for library error types, and update
Failderives,failure::Error, andformat_err!uses.
Verification
cargo build --all-targets && cargo test: Build and test after the error-handling change.
Detected by
The rust detector. See Detectors and Compatibility.
Related
Same ecosystem
- ansi_term is no longer maintained
- atty is no longer maintained
- tempdir is no longer maintained
- Rust 1.98 and older are no longer supported
Data
This page is generated from registry/rust.json, rule rust.crate.failure.unmaintained, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated