Bug#1063601: tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`
Quoting Peter Green (2024-02-14 00:51:12) > >> [eyre 0.6.8] error[E0407]: method `backtrace` is not a member of trait > `Error` > >> [eyre 0.6.8] --> > /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/out/probe.rs:19:9 > > The above seems like a failure not in tailspin but in librust-eyre-dev. > > I don't think the errors Sebastian quoted are the cause of the build failure > at all. I think they are just noise from a test compilation performed to > determine what the compiler supports. Those same errors are present > in the successful build log for tailspin 2.0.0 > > The actual error seems to be. > > > error: environment variable `CARGO_CHANNEL` not defined at compile time > > --> tests/utils.rs:11:48 > >| > > 11 | PathBuf::from(format!("./target/{}/tspin", env!("CARGO_CHANNEL"))) > >|^ > >| > >= help: Cargo sets build script variables at run time. Use > > `std::env::var("CARGO_CHANNEL")` instead > >= note: this error originates in the macro `env` (in Nightly builds, run > > with -Z macro-backtrace for more info) Ohhh, of course. Sorry to have bothered you instead of checking beyond the bugreport itself. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#1063601: tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`
reassign 1063601 tailspin 3.0.0+dfsg-1 retitle 1063601 tailspin FTBFS error: environment variable `CARGO_CHANNEL` not defined at compile time thanks >> [eyre 0.6.8] error[E0407]: method `backtrace` is not a member of trait `Error` >> [eyre 0.6.8] --> /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/out/probe.rs:19:9 The above seems like a failure not in tailspin but in librust-eyre-dev. I don't think the errors Sebastian quoted are the cause of the build failure at all. I think they are just noise from a test compilation performed to determine what the compiler supports. Those same errors are present in the successful build log for tailspin 2.0.0 The actual error seems to be. error: environment variable `CARGO_CHANNEL` not defined at compile time --> tests/utils.rs:11:48 | 11 | PathBuf::from(format!("./target/{}/tspin", env!("CARGO_CHANNEL"))) |^ | = help: Cargo sets build script variables at run time. Use `std::env::var("CARGO_CHANNEL")` instead = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) I also notice the following earlier in the build log. "debian cargo wrapper: WARNING: falling back to simply calling upstream cargo, because CARGO_HOME does not end with debian/cargo_home:" This message appears in the failed logs for 3.0.0 but not in the succesful logs for 2.0.0. After serching for CARGO_CHANNEL I think may be the actual cause of the failure. All the results on codesearch.debian.net for CARGO_CHANNEL seem to relate to dh_cargo or your fork thereof. So I think these are probablly related.
Processed: Re: Bug#1063601: tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`
Processing control commands: > reassign -1 librust-eyre-dev Bug #1063601 [src:tailspin] tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error` Bug reassigned from package 'src:tailspin' to 'librust-eyre-dev'. No longer marked as found in versions tailspin/3.0.0+dfsg-1. Ignoring request to alter fixed versions of bug #1063601 to the same values previously set > retitle -1 librust-eyre-dev: fails to builds its source Bug #1063601 [librust-eyre-dev] tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error` Changed Bug title to 'librust-eyre-dev: fails to builds its source' from 'tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`'. > affects -1 tailspin Bug #1063601 [librust-eyre-dev] librust-eyre-dev: fails to builds its source Added indication that 1063601 affects tailspin -- 1063601: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063601 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#1063601: tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`
Control: reassign -1 librust-eyre-dev Control: retitle -1 librust-eyre-dev: fails to builds its source Control: affects -1 tailspin Quoting Sebastian Ramacher (2024-02-09 21:04:28) > https://buildd.debian.org/status/fetch.php?pkg=tailspin=amd64=3.0.0%2Bdfsg-1=1706195420=0 > > Running > `/<>/target/release/build/eyre-15058028a1ebd405/build-script-build` > [eyre 0.6.8] error[E0407]: method `backtrace` is not a member of trait `Error` > [eyre 0.6.8] --> > /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/out/probe.rs:19:9 > [eyre 0.6.8]| > [eyre 0.6.8] 19 | / fn backtrace() -> Option<> { > [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] --> > /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/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] warning: the feature `backtrace` has been stable since 1.65.0 > and no longer requires an attribute to enable > [eyre 0.6.8] --> > /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/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] > [eyre 0.6.8] error: aborting due to 2 previous errors; 1 warning emitted > [eyre 0.6.8] > [eyre 0.6.8] Some errors have detailed explanations: E0407, E0554. > [eyre 0.6.8] For more information about an error, try `rustc --explain E0407`. > [eyre 0.6.8] cargo:rustc-cfg=track_caller The above seems like a failure not in tailspin but in librust-eyre-dev. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#1063601: tailspin: FTBFS: error[E0407]: method `backtrace` is not a member of trait `Error`
Source: tailspin Version: 3.0.0+dfsg-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramac...@debian.org https://buildd.debian.org/status/fetch.php?pkg=tailspin=amd64=3.0.0%2Bdfsg-1=1706195420=0 Running `/<>/target/release/build/eyre-15058028a1ebd405/build-script-build` [eyre 0.6.8] error[E0407]: method `backtrace` is not a member of trait `Error` [eyre 0.6.8] --> /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/out/probe.rs:19:9 [eyre 0.6.8]| [eyre 0.6.8] 19 | / fn backtrace() -> Option<> { [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] --> /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/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] warning: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable [eyre 0.6.8] --> /<>/target/x86_64-unknown-linux-gnu/release/build/eyre-eb1eb971e427fb49/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] [eyre 0.6.8] error: aborting due to 2 previous errors; 1 warning emitted [eyre 0.6.8] [eyre 0.6.8] Some errors have detailed explanations: E0407, E0554. [eyre 0.6.8] For more information about an error, try `rustc --explain E0407`. [eyre 0.6.8] cargo:rustc-cfg=track_caller Cheers -- Sebastian Ramacher