Update Rust crate thiserror to v2 #77

Open
renovatebot wants to merge 1 commit from renovate/thiserror-2.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
thiserror dependencies major 1.0.30 -> 2.0.0
thiserror dependencies major 1.0 -> 2.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

dtolnay/thiserror (thiserror)

v2.0.12

Compare Source

  • Prevent elidable_lifetime_names pedantic clippy lint in generated impl (#​413)

v2.0.11

Compare Source

v2.0.10

Compare Source

  • Support errors containing a generic type parameter's associated type in a field (#​408)

v2.0.9

Compare Source

  • Work around missing_inline_in_public_items clippy restriction being triggered in macro-generated code (#​404)

v2.0.8

Compare Source

  • Improve support for macro-generated derive(Error) call sites (#​399)

v2.0.7

Compare Source

  • Work around conflict with #[deny(clippy::allow_attributes)] (#​397, thanks @​zertosh)

v2.0.6

Compare Source

  • Suppress deprecation warning on generated From impls (#​396)

v2.0.5

Compare Source

  • Prevent deprecation warning on generated impl for deprecated type (#​394)

v2.0.4

Compare Source

v2.0.3

Compare Source

  • Support the same Path field being repeated in both Debug and Display representation in error message (#​383)
  • Improve error message when a format trait used in error message is not implemented by some field (#​384)

v2.0.2

Compare Source

  • Fix hang on invalid input inside #[error(...)] attribute (#​382)

v2.0.1

Compare Source

  • Support errors that contain a dynamically sized final field (#​375)
  • Improve inference of trait bounds for fields that are interpolated multiple times in an error message (#​377)

v2.0.0

Compare Source

Breaking changes
  • Referencing keyword-named fields by a raw identifier like {r#type} inside a format string is no longer accepted; simply use the unraw name like {type} (#​347)

    This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x.

    #[derive(Error, Debug)]
    #[error("... {type} ...")]  // Before: {r#type}
    pub struct Error {
        pub r#type: Type,
    }
    
  • Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message (#​345)

    // Before: impl<T: Octal> Display for Error<T>
    // After: impl<T> Display for Error<T>
    #[derive(Error, Debug)]
    #[error("{thing:o}", thing = "...")]
    pub struct Error<T> {
        thing: T,
    }
    
  • Tuple structs and tuple variants can no longer use numerical {0} {1} access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg (#​354)

    #[derive(Error, Debug)]
    #[error("ambiguous: {0} {}", $N)]
    //                  ^^^ Not allowed, use #[error("... {0} {n}", n = $N)]
    pub struct TupleError(i32);
    
  • Code containing invocations of thiserror's derive(Error) must now have a direct dependency on the thiserror crate regardless of the error data structure's contents (#​368, #​369, #​370, #​372)

Features
  • Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature: thiserror = { version = "2", default-features = false } (#​373)

  • Support using r#source as field name to opt out of a field named "source" being treated as an error's Error::source() (#​350)

    #[derive(Error, Debug)]
    #[error("{source} ==> {destination}")]
    pub struct Error {
        r#source: char,
        destination: char,
    }
    
    let error = Error { source: 'S', destination: 'D' };
    
  • Infinite recursion in a generated Display impl now produces an unconditional_recursion warning (#​359)

    #[derive(Error, Debug)]
    #[error("??? {self}")]
    pub struct Error;
    
  • A new attribute #[error(fmt = path::to::myfmt)] can be used to write formatting logic for an enum variant out-of-line (#​367)

    #[derive(Error, Debug)]
    pub enum Error {
        #[error(fmt = demo_fmt)]
        Demo { code: u16, message: Option<String> },
    }
    
    fn demo_fmt(code: &u16, message: &Option<String>, formatter: &mut fmt::Formatter) -> fmt::Result {
        write!(formatter, "{code}")?;
        if let Some(msg) = message {
            write!(formatter, " - {msg}")?;
        }
        Ok(())
    }
    
  • Enums with an enum-level format message are now able to have individual variants that are transparent to supersede the enum-level message (#​366)

    #[derive(Error, Debug)]
    #[error("my error {0}")]
    pub enum Error {
        Json(#[from] serde_json::Error),
        Yaml(#[from] serde_yaml::Error),
        #[error(transparent)]
        Other(#[from] anyhow::Error),
    }
    

v1.0.69

Compare Source

v1.0.68

Compare Source

  • Handle incomplete expressions more robustly in format arguments, such as while code is being typed (#​341, #​344)

v1.0.67

Compare Source

v1.0.66

Compare Source

  • Improve compile error on malformed format attribute (#​327)

v1.0.65

Compare Source

  • Ensure OUT_DIR is left with deterministic contents after build script execution (#​325)

v1.0.64

Compare Source

v1.0.63

Compare Source

  • Documentation improvements

v1.0.62

Compare Source

  • Support referring to nested tuple struct fields inside #[error("…", …)] attribute (#​309)

v1.0.61

Compare Source

  • Use core::fmt and core::panic to facilitate error_in_core support (#​299, thanks @​jordens)

v1.0.60

Compare Source

  • Resolve unexpected_cfgs warning (#​298)

v1.0.59

Compare Source

  • Unblock testing of rustc debug-fmt-detail option (#​297)

v1.0.58

Compare Source

  • Make backtrace support available when using -Dwarnings (#​292)

v1.0.57

Compare Source

  • Generate more efficient Display impl for error message which do not contain any interpolated value (#​286, thanks @​nyurik)

v1.0.56

Compare Source

  • Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache

v1.0.55

Compare Source

  • Work around improperly cached build script result by sccache – second attempt (#​280)

v1.0.54

Compare Source

  • Work around improperly cached build script result by sccache – first attempt (#​279)

v1.0.53

Compare Source

  • Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain (#​270)

v1.0.52

Compare Source

  • Fix interaction with RUSTC_BOOTSTRAP (#​269)

v1.0.51

Compare Source

  • Improve diagnostics when an invalid attribute previously caused thiserror to generate no Error impl (#​266)

v1.0.50

Compare Source

  • Improve diagnostic when a #[source], #[from], or #[transparant] attribute refers to a type that has no std::error::Error impl (#​258, thanks @​de-vri-es)

v1.0.49

Compare Source

v1.0.48

Compare Source

  • Improve implementation of displaying Path values in a generated Display impl (#​251, thanks @​mina86)

v1.0.47

Compare Source

v1.0.46

Compare Source

  • Add bootstrap workaround to allow rustc to depend on thiserror (#​248, thanks @​RalfJung)

v1.0.45

Compare Source

v1.0.44

Compare Source

  • Documentation improvements

v1.0.43

Compare Source

v1.0.42

Compare Source

  • Fix compile error in derived Display impl if there was a nonstandard write! macro in scope (#​239)

v1.0.41

Compare Source

v1.0.40

Compare Source

  • Update syn dependency to 2.x

v1.0.39

Compare Source

  • Set html_root_url attribute

v1.0.38

Compare Source

  • Documentation improvements

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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 these updates again.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [thiserror](https://github.com/dtolnay/thiserror) | dependencies | major | `1.0.30` -> `2.0.0` | | [thiserror](https://github.com/dtolnay/thiserror) | dependencies | major | `1.0` -> `2.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>dtolnay/thiserror (thiserror)</summary> ### [`v2.0.12`](https://github.com/dtolnay/thiserror/releases/tag/2.0.12) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12) - Prevent elidable_lifetime_names pedantic clippy lint in generated impl ([#&#8203;413](https://github.com/dtolnay/thiserror/issues/413)) ### [`v2.0.11`](https://github.com/dtolnay/thiserror/releases/tag/2.0.11) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.10...2.0.11) - Add feature gate to tests that use std ([#&#8203;409](https://github.com/dtolnay/thiserror/issues/409), [#&#8203;410](https://github.com/dtolnay/thiserror/issues/410), thanks [@&#8203;Maytha8](https://github.com/Maytha8)) ### [`v2.0.10`](https://github.com/dtolnay/thiserror/releases/tag/2.0.10) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.9...2.0.10) - Support errors containing a generic type parameter's associated type in a field ([#&#8203;408](https://github.com/dtolnay/thiserror/issues/408)) ### [`v2.0.9`](https://github.com/dtolnay/thiserror/releases/tag/2.0.9) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.8...2.0.9) - Work around `missing_inline_in_public_items` clippy restriction being triggered in macro-generated code ([#&#8203;404](https://github.com/dtolnay/thiserror/issues/404)) ### [`v2.0.8`](https://github.com/dtolnay/thiserror/releases/tag/2.0.8) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.7...2.0.8) - Improve support for macro-generated `derive(Error)` call sites ([#&#8203;399](https://github.com/dtolnay/thiserror/issues/399)) ### [`v2.0.7`](https://github.com/dtolnay/thiserror/releases/tag/2.0.7) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.6...2.0.7) - Work around conflict with #\[deny(clippy::allow_attributes)] ([#&#8203;397](https://github.com/dtolnay/thiserror/issues/397), thanks [@&#8203;zertosh](https://github.com/zertosh)) ### [`v2.0.6`](https://github.com/dtolnay/thiserror/releases/tag/2.0.6) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.5...2.0.6) - Suppress deprecation warning on generated From impls ([#&#8203;396](https://github.com/dtolnay/thiserror/issues/396)) ### [`v2.0.5`](https://github.com/dtolnay/thiserror/releases/tag/2.0.5) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.4...2.0.5) - Prevent deprecation warning on generated impl for deprecated type ([#&#8203;394](https://github.com/dtolnay/thiserror/issues/394)) ### [`v2.0.4`](https://github.com/dtolnay/thiserror/releases/tag/2.0.4) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.3...2.0.4) - Eliminate needless_lifetimes clippy lint in generated `From` impls ([#&#8203;391](https://github.com/dtolnay/thiserror/issues/391), thanks [@&#8203;matt-phylum](https://github.com/matt-phylum)) ### [`v2.0.3`](https://github.com/dtolnay/thiserror/releases/tag/2.0.3) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.2...2.0.3) - Support the same Path field being repeated in both Debug and Display representation in error message ([#&#8203;383](https://github.com/dtolnay/thiserror/issues/383)) - Improve error message when a format trait used in error message is not implemented by some field ([#&#8203;384](https://github.com/dtolnay/thiserror/issues/384)) ### [`v2.0.2`](https://github.com/dtolnay/thiserror/releases/tag/2.0.2) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.1...2.0.2) - Fix hang on invalid input inside #\[error(...)] attribute ([#&#8203;382](https://github.com/dtolnay/thiserror/issues/382)) ### [`v2.0.1`](https://github.com/dtolnay/thiserror/releases/tag/2.0.1) [Compare Source](https://github.com/dtolnay/thiserror/compare/2.0.0...2.0.1) - Support errors that contain a dynamically sized final field ([#&#8203;375](https://github.com/dtolnay/thiserror/issues/375)) - Improve inference of trait bounds for fields that are interpolated multiple times in an error message ([#&#8203;377](https://github.com/dtolnay/thiserror/issues/377)) ### [`v2.0.0`](https://github.com/dtolnay/thiserror/releases/tag/2.0.0) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.69...2.0.0) ##### Breaking changes - Referencing keyword-named fields by a raw identifier like `{r#type}` inside a format string is no longer accepted; simply use the unraw name like `{type}` ([#&#8203;347](https://github.com/dtolnay/thiserror/issues/347)) This aligns thiserror with the standard library's formatting macros, which gained support for implicit argument capture later than the release of this feature in thiserror 1.x. ```rust #[derive(Error, Debug)] #[error("... {type} ...")] // Before: {r#type} pub struct Error { pub r#type: Type, } ``` - Trait bounds are no longer inferred on fields whose value is shadowed by an explicit named argument in a format message ([#&#8203;345](https://github.com/dtolnay/thiserror/issues/345)) ```rust // Before: impl<T: Octal> Display for Error<T> // After: impl<T> Display for Error<T> #[derive(Error, Debug)] #[error("{thing:o}", thing = "...")] pub struct Error<T> { thing: T, } ``` - Tuple structs and tuple variants can no longer use numerical `{0}` `{1}` access at the same time as supplying extra positional arguments for a format message, as this makes it ambiguous whether the number refers to a tuple field vs a different positional arg ([#&#8203;354](https://github.com/dtolnay/thiserror/issues/354)) ```rust #[derive(Error, Debug)] #[error("ambiguous: {0} {}", $N)] // ^^^ Not allowed, use #[error("... {0} {n}", n = $N)] pub struct TupleError(i32); ``` - Code containing invocations of thiserror's `derive(Error)` must now have a direct dependency on the `thiserror` crate regardless of the error data structure's contents ([#&#8203;368](https://github.com/dtolnay/thiserror/issues/368), [#&#8203;369](https://github.com/dtolnay/thiserror/issues/369), [#&#8203;370](https://github.com/dtolnay/thiserror/issues/370), [#&#8203;372](https://github.com/dtolnay/thiserror/issues/372)) ##### Features - Support disabling thiserror's standard library dependency by disabling the default "std" Cargo feature: `thiserror = { version = "2", default-features = false }` ([#&#8203;373](https://github.com/dtolnay/thiserror/issues/373)) - Support using `r#source` as field name to opt out of a field named "source" being treated as an error's `Error::source()` ([#&#8203;350](https://github.com/dtolnay/thiserror/issues/350)) ```rust #[derive(Error, Debug)] #[error("{source} ==> {destination}")] pub struct Error { r#source: char, destination: char, } let error = Error { source: 'S', destination: 'D' }; ``` - Infinite recursion in a generated Display impl now produces an `unconditional_recursion` warning ([#&#8203;359](https://github.com/dtolnay/thiserror/issues/359)) ```rust #[derive(Error, Debug)] #[error("??? {self}")] pub struct Error; ``` - A new attribute `#[error(fmt = path::to::myfmt)]` can be used to write formatting logic for an enum variant out-of-line ([#&#8203;367](https://github.com/dtolnay/thiserror/issues/367)) ```rust #[derive(Error, Debug)] pub enum Error { #[error(fmt = demo_fmt)] Demo { code: u16, message: Option<String> }, } fn demo_fmt(code: &u16, message: &Option<String>, formatter: &mut fmt::Formatter) -> fmt::Result { write!(formatter, "{code}")?; if let Some(msg) = message { write!(formatter, " - {msg}")?; } Ok(()) } ``` - Enums with an enum-level format message are now able to have individual variants that are `transparent` to supersede the enum-level message ([#&#8203;366](https://github.com/dtolnay/thiserror/issues/366)) ```rust #[derive(Error, Debug)] #[error("my error {0}")] pub enum Error { Json(#[from] serde_json::Error), Yaml(#[from] serde_yaml::Error), #[error(transparent)] Other(#[from] anyhow::Error), } ``` ### [`v1.0.69`](https://github.com/dtolnay/thiserror/releases/tag/1.0.69) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.68...1.0.69) - Backport [2.0.2](https://github.com/dtolnay/thiserror/releases/tag/2.0.2) fixes ### [`v1.0.68`](https://github.com/dtolnay/thiserror/releases/tag/1.0.68) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.67...1.0.68) - Handle incomplete expressions more robustly in format arguments, such as while code is being typed ([#&#8203;341](https://github.com/dtolnay/thiserror/issues/341), [#&#8203;344](https://github.com/dtolnay/thiserror/issues/344)) ### [`v1.0.67`](https://github.com/dtolnay/thiserror/releases/tag/1.0.67) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.66...1.0.67) - Improve expression syntax support inside format arguments ([#&#8203;335](https://github.com/dtolnay/thiserror/issues/335), [#&#8203;337](https://github.com/dtolnay/thiserror/issues/337), [#&#8203;339](https://github.com/dtolnay/thiserror/issues/339), [#&#8203;340](https://github.com/dtolnay/thiserror/issues/340)) ### [`v1.0.66`](https://github.com/dtolnay/thiserror/releases/tag/1.0.66) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.65...1.0.66) - Improve compile error on malformed format attribute ([#&#8203;327](https://github.com/dtolnay/thiserror/issues/327)) ### [`v1.0.65`](https://github.com/dtolnay/thiserror/releases/tag/1.0.65) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65) - Ensure OUT_DIR is left with deterministic contents after build script execution ([#&#8203;325](https://github.com/dtolnay/thiserror/issues/325)) ### [`v1.0.64`](https://github.com/dtolnay/thiserror/releases/tag/1.0.64) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64) - Exclude derived impls from coverage instrumentation ([#&#8203;322](https://github.com/dtolnay/thiserror/issues/322), thanks [@&#8203;oxalica](https://github.com/oxalica)) ### [`v1.0.63`](https://github.com/dtolnay/thiserror/releases/tag/1.0.63) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63) - Documentation improvements ### [`v1.0.62`](https://github.com/dtolnay/thiserror/releases/tag/1.0.62) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62) - Support referring to nested tuple struct fields inside `#[error("…", …)]` attribute ([#&#8203;309](https://github.com/dtolnay/thiserror/issues/309)) ### [`v1.0.61`](https://github.com/dtolnay/thiserror/releases/tag/1.0.61) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.60...1.0.61) - Use `core::fmt` and `core::panic` to facilitate `error_in_core` support ([#&#8203;299](https://github.com/dtolnay/thiserror/issues/299), thanks [@&#8203;jordens](https://github.com/jordens)) ### [`v1.0.60`](https://github.com/dtolnay/thiserror/releases/tag/1.0.60) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.59...1.0.60) - Resolve unexpected_cfgs warning ([#&#8203;298](https://github.com/dtolnay/thiserror/issues/298)) ### [`v1.0.59`](https://github.com/dtolnay/thiserror/releases/tag/1.0.59) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59) - Unblock testing of rustc `debug-fmt-detail` option ([#&#8203;297](https://github.com/dtolnay/thiserror/issues/297)) ### [`v1.0.58`](https://github.com/dtolnay/thiserror/releases/tag/1.0.58) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.57...1.0.58) - Make backtrace support available when using -Dwarnings ([#&#8203;292](https://github.com/dtolnay/thiserror/issues/292)) ### [`v1.0.57`](https://github.com/dtolnay/thiserror/releases/tag/1.0.57) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.57) - Generate more efficient `Display` impl for error message which do not contain any interpolated value ([#&#8203;286](https://github.com/dtolnay/thiserror/issues/286), thanks [@&#8203;nyurik](https://github.com/nyurik)) ### [`v1.0.56`](https://github.com/dtolnay/thiserror/releases/tag/1.0.56) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.55...1.0.56) - Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache ### [`v1.0.55`](https://github.com/dtolnay/thiserror/releases/tag/1.0.55) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.54...1.0.55) - Work around improperly cached build script result by sccache – second attempt ([#&#8203;280](https://github.com/dtolnay/thiserror/issues/280)) ### [`v1.0.54`](https://github.com/dtolnay/thiserror/releases/tag/1.0.54) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.53...1.0.54) - Work around improperly cached build script result by sccache – first attempt ([#&#8203;279](https://github.com/dtolnay/thiserror/issues/279)) ### [`v1.0.53`](https://github.com/dtolnay/thiserror/releases/tag/1.0.53) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.52...1.0.53) - Reduce spurious rebuilds under RustRover IDE when using a nightly toolchain ([#&#8203;270](https://github.com/dtolnay/thiserror/issues/270)) ### [`v1.0.52`](https://github.com/dtolnay/thiserror/releases/tag/1.0.52) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52) - Fix interaction with RUSTC_BOOTSTRAP ([#&#8203;269](https://github.com/dtolnay/thiserror/issues/269)) ### [`v1.0.51`](https://github.com/dtolnay/thiserror/releases/tag/1.0.51) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.51) - Improve diagnostics when an invalid attribute previously caused thiserror to generate no `Error` impl ([#&#8203;266](https://github.com/dtolnay/thiserror/issues/266)) ### [`v1.0.50`](https://github.com/dtolnay/thiserror/releases/tag/1.0.50) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.49...1.0.50) - Improve diagnostic when a #\[source], #\[from], or #\[transparant] attribute refers to a type that has no std::error::Error impl ([#&#8203;258](https://github.com/dtolnay/thiserror/issues/258), thanks [@&#8203;de-vri-es](https://github.com/de-vri-es)) ### [`v1.0.49`](https://github.com/dtolnay/thiserror/releases/tag/1.0.49) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49) - Access libcore types through `::core` in generated code ([#&#8203;255](https://github.com/dtolnay/thiserror/issues/255), thanks [@&#8203;mina86](https://github.com/mina86)) ### [`v1.0.48`](https://github.com/dtolnay/thiserror/releases/tag/1.0.48) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48) - Improve implementation of displaying Path values in a generated Display impl ([#&#8203;251](https://github.com/dtolnay/thiserror/issues/251), thanks [@&#8203;mina86](https://github.com/mina86)) ### [`v1.0.47`](https://github.com/dtolnay/thiserror/releases/tag/1.0.47) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47) - Work around rust-analyzer bug (https://github.com/rust-lang/rust-analyzer/issues/9911) ### [`v1.0.46`](https://github.com/dtolnay/thiserror/releases/tag/1.0.46) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46) - Add bootstrap workaround to allow rustc to depend on thiserror ([#&#8203;248](https://github.com/dtolnay/thiserror/issues/248), thanks [@&#8203;RalfJung](https://github.com/RalfJung)) ### [`v1.0.45`](https://github.com/dtolnay/thiserror/releases/tag/1.0.45) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.45) - Update backtrace support to nightly's new Error::provide API (https://github.com/rust-lang/rust/pull/113464, [#&#8203;246](https://github.com/dtolnay/thiserror/issues/246)) ### [`v1.0.44`](https://github.com/dtolnay/thiserror/releases/tag/1.0.44) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44) - Documentation improvements ### [`v1.0.43`](https://github.com/dtolnay/thiserror/compare/1.0.42...1.0.43) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.42...1.0.43) ### [`v1.0.42`](https://github.com/dtolnay/thiserror/releases/tag/1.0.42) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.42) - Fix compile error in derived Display impl if there was a nonstandard `write!` macro in scope ([#&#8203;239](https://github.com/dtolnay/thiserror/issues/239)) ### [`v1.0.41`](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41) ### [`v1.0.40`](https://github.com/dtolnay/thiserror/releases/tag/1.0.40) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.39...1.0.40) - Update syn dependency to 2.x ### [`v1.0.39`](https://github.com/dtolnay/thiserror/releases/tag/1.0.39) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39) - Set html_root_url attribute ### [`v1.0.38`](https://github.com/dtolnay/thiserror/releases/tag/1.0.38) [Compare Source](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38) - Documentation improvements </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40Mi4zIiwidXBkYXRlZEluVmVyIjoiNDAuNDIuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update artifacts 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 libs/clipboard/Cargo.toml --workspace
error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/scrap`
referenced by workspace at `/tmp/renovate/repos/gitea/test-actions/rustdesk/Cargo.toml`

Caused by:
  failed to load manifest for dependency `hbb_common`

Caused by:
  failed to read `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/hbb_common/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

File name: libs/virtual_display/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path libs/virtual_display/dylib/Cargo.toml --workspace
error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/scrap`
referenced by workspace at `/tmp/renovate/repos/gitea/test-actions/rustdesk/Cargo.toml`

Caused by:
  failed to load manifest for dependency `hbb_common`

Caused by:
  failed to read `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/hbb_common/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

### ⚠️ Artifact update problem Renovate failed to update artifacts 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 libs/clipboard/Cargo.toml --workspace error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/scrap` referenced by workspace at `/tmp/renovate/repos/gitea/test-actions/rustdesk/Cargo.toml` Caused by: failed to load manifest for dependency `hbb_common` Caused by: failed to read `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/hbb_common/Cargo.toml` Caused by: No such file or directory (os error 2) ``` ##### File name: libs/virtual_display/Cargo.lock ``` Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path libs/virtual_display/dylib/Cargo.toml --workspace error: failed to load manifest for workspace member `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/scrap` referenced by workspace at `/tmp/renovate/repos/gitea/test-actions/rustdesk/Cargo.toml` Caused by: failed to load manifest for dependency `hbb_common` Caused by: failed to read `/tmp/renovate/repos/gitea/test-actions/rustdesk/libs/hbb_common/Cargo.toml` Caused by: No such file or directory (os error 2) ```
renovatebot force-pushed renovate/thiserror-2.x from 590e4ebc08
Some checks failed
renovate/artifacts Artifact file update failure
to 629b237f60
Some checks failed
renovate/artifacts Artifact file update failure
2025-06-06 00:31:48 +00:00
Compare
Commenting is not possible because the repository is archived.
No reviewers
No labels
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
test-actions/rustdesk!77
No description provided.