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

Build breaks on armv7: error[E0407]: method backtrace is not a member of trait Error #211

Open
yurivict opened this issue Dec 11, 2024 · 0 comments

Comments

@yurivict
Copy link

Error:

[eyre 0.6.8] error[E0407]: method `backtrace` is not a member of trait `Error`
[eyre 0.6.8]   --> /wrkdirs/usr/ports/devel/cargo-spellcheck/work/target/release/build/eyre-75082b40f71007b4/out/probe.rs:19:9
[eyre 0.6.8]    |
[eyre 0.6.8] 19 | /         fn backtrace(&self) -> Option<&Backtrace> {
[eyre 0.6.8] 20 | |             let backtrace = Backtrace::capture();
[eyre 0.6.8] 21 | |             match backtrace.status() {
[eyre 0.6.8] 22 | |                 BacktraceStatus::Captured | BacktraceStatus::Disabled | _ => {}
[eyre 0.6.8] 23 | |             }
[eyre 0.6.8] 24 | |             unimplemented!()
[eyre 0.6.8] 25 | |         }
[eyre 0.6.8]    | |_________^ not a member of trait `Error`
[eyre 0.6.8] 
[eyre 0.6.8] error[E0554]: `#![feature]` may not be used on the stable release channel
[eyre 0.6.8]  --> /wrkdirs/usr/ports/devel/cargo-spellcheck/work/target/release/build/eyre-75082b40f71007b4/out/probe.rs:2:5
[eyre 0.6.8]   |
[eyre 0.6.8] 2 |     #![feature(backtrace)]
[eyre 0.6.8]   |     ^^^^^^^^^^^^^^^^^^^^^^
[eyre 0.6.8] 
[eyre 0.6.8] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable
[eyre 0.6.8]  --> /wrkdirs/usr/ports/devel/cargo-spellcheck/work/target/release/build/eyre-75082b40f71007b4/out/probe.rs:2:16
[eyre 0.6.8]   |
[eyre 0.6.8] 2 |     #![feature(backtrace)]
[eyre 0.6.8]   |                ^^^^^^^^^
[eyre 0.6.8]   |
[eyre 0.6.8]   = note: `#[warn(stable_features)]` on by default
[eyre 0.6.8] 

The error was encountered during build of cargo-spellcheck-0.14.0

FreeBSD 14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant