Skip to content
Evergreen Evergreen
Documentation

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

Migration

Constraints

  • Keep error types, Display output, and public error conversions stable for callers of this crate.

Steps

  1. Replace failure. Replace failure with anyhow for application errors or thiserror/snafu for library error types, and update Fail derives, failure::Error, and format_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.

Same ecosystem

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