Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate snafu to 0.8 - autoclosed #4838

Closed
wants to merge 1 commit into from

Conversation

oxide-renovate[bot]
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
snafu workspace.dependencies minor 0.7 -> 0.8

Release Notes

shepmaster/snafu (snafu)

v0.8.0

Compare Source

Added
  • snafu(transparent) allows creating compound error types that act
    as if they were not present, delegating thier Display and Error
    implementations to the source error. This is useful when aggregating
    smaller errors that already completely explain the failure.

  • ResultExt::boxed and ResultExt::boxed_local are available to
    convert an error value into an owned trait object. This is useful
    when an error type is a generic controlled by the caller.

Changed
  • Rust 1.56 is now the minimum supported Rust version. This is a
    breaking change.

  • Rust 1.65 is now the default supported Rust version. This is a
    breaking change.

  • The item type of the ChainCompat iterator is now &'a (dyn Error + 'b) to allow downcasting the error trait object to a concrete
    type. This is a breaking change.

  • Error fields marked location are no longer automatically
    implicitly created. This is a breaking change.

  • Adding #[snafu] attributes to the field of a tuple struct are now
    errors. This is a breaking change.

  • The SNAFU copy of the Error trait now marks the description and
    cause methods as deprecated, following the standard library's
    example. This trait is only active when using SNAFU in a no_std
    environment and no functional difference is intended.

Removed
  • The default Display implementation no longer includes the error
    text of the source error. This is a breaking change.

  • The backtraces and unstable-backtraces-impl-std feature flags
    have been removed. This is a breaking change. The Backtrace
    type is now the standard library's Backtrace type when it is
    available.

Fixed

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Jan 18, 2024
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Jan 18, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.8.0
    Updating crates.io index
error: failed to select a version for the requirement `snafu = "^0.7"`
candidate versions found which didn't match: 0.8.0
location searched: crates.io index
required by package `tough v0.16.0`
    ... which satisfies dependency `tough = "^0.16.0"` (locked to 0.16.0) of package `omicron-nexus v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/nexus)`
    ... which satisfies path dependency `omicron-nexus` (locked to 0.1.0) of package `omicron-omdb v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/dev-tools/omdb)`
perhaps a crate was updated and forgotten to be re-vendored?

@oxide-renovate oxide-renovate bot force-pushed the renovate/snafu-0.x branch 4 times, most recently from f12e385 to df29837 Compare January 26, 2024 04:08
@oxide-renovate oxide-renovate bot changed the title Update Rust crate snafu to 0.8 Update Rust crate snafu to 0.8 - autoclosed Feb 1, 2024
@oxide-renovate oxide-renovate bot closed this Feb 1, 2024
@oxide-renovate oxide-renovate bot deleted the renovate/snafu-0.x branch February 1, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants