Skip to content

Instantly share code, notes, and snippets.

@rekby

rekby/log.txt Secret

Created September 11, 2022 02:04
Show Gist options
  • Save rekby/34f5e8b072f6eddc5fc18dfd0f124821 to your computer and use it in GitHub Desktop.
Save rekby/34f5e8b072f6eddc5fc18dfd0f124821 to your computer and use it in GitHub Desktop.
build pbjson-types failes
➤ rustc --version
rustc 1.61.0 (fe5b13d68 2022-05-18)
rekby@Dobrak94:~/p/o/i/pbjson-types|main⚡?
➤ cargo build
Compiling anyhow v1.0.64
Compiling syn v1.0.99
error[E0432]: unresolved import `std::any::Demand`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:7:5
|
7 | use std::any::Demand;
| ^^^^^^^^^^^^^^^^ no `Demand` in `any`
error[E0432]: unresolved import `core::any::Demand`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:9:5
|
9 | use core::any::Demand;
| ^^^^^^^^^^^^^^^^^ no `Demand` in `any`
error[E0432]: unresolved import `std::any::Demand`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/wrapper.rs:5:5
|
5 | use std::any::Demand;
| ^^^^^^^^^^^^^^^^ no `Demand` in `any`
error[E0407]: method `provide` is not a member of trait `StdError`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:131:5
|
131 | / fn provide<'a>(&'a self, demand: &mut Demand<'a>) {
132 | | self.error.provide(demand);
133 | | }
| |_____^ not a member of trait `StdError`
error[E0407]: method `provide` is not a member of trait `StdError`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:145:5
|
145 | / fn provide<'a>(&'a self, demand: &mut Demand<'a>) {
146 | | demand.provide_ref(self.error.backtrace());
147 | | self.error.provide(demand);
148 | | }
| |_____^ not a member of trait `StdError`
error[E0407]: method `provide` is not a member of trait `StdError`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:932:5
|
932 | / fn provide<'a>(&'a self, demand: &mut Demand<'a>) {
933 | | unsafe { ErrorImpl::provide(self.erase(), demand) }
934 | | }
| |_____^ not a member of trait `StdError`
error[E0407]: method `provide` is not a member of trait `StdError`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/wrapper.rs:78:5
|
78 | / fn provide<'a>(&'a self, demand: &mut Demand<'a>) {
79 | | self.0.provide(demand);
80 | | }
| |_____^ not a member of trait `StdError`
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:2:33
|
2 | pub(crate) use std::backtrace::{Backtrace, BacktraceStatus};
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:2:44
|
2 | pub(crate) use std::backtrace::{Backtrace, BacktraceStatus};
| ^^^^^^^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:400:15
|
400 | _assert::<Backtrace>();
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:87:57
|
87 | self.ok_or_else(|| Error::from_display(context, backtrace!()))
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:95:59
|
95 | self.ok_or_else(|| Error::from_display(context(), backtrace!()))
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:1:5
|
1 | use crate::backtrace::Backtrace;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:841:23
|
841 | backtrace: Option<Backtrace>,
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:62
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:36:25
|
36 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:36:25
|
36 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:83:36
|
83 | Error::from_adhoc(message, backtrace!())
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:88:59
|
88 | pub(crate) fn from_std<E>(error: E, backtrace: Option<Backtrace>) -> Self
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:111:63
|
111 | pub(crate) fn from_adhoc<M>(message: M, backtrace: Option<Backtrace>) -> Self
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:137:65
|
137 | pub(crate) fn from_display<M>(message: M, backtrace: Option<Backtrace>) -> Self
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:164:78
|
164 | pub(crate) fn from_context<C, E>(context: C, error: E, backtrace: Option<Backtrace>) -> Self
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:193:27
|
193 | backtrace: Option<Backtrace>,
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:225:27
|
225 | backtrace: Option<Backtrace>,
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:13:9
|
13 | std::backtrace::Backtrace
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:363:33
|
363 | pub fn backtrace(&self) -> &impl_backtrace!() {
| ----------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `impl_backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:62
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:546:25
|
546 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:546:25
|
546 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:893:57
|
893 | pub(crate) unsafe fn backtrace(this: Ref<Self>) -> &Backtrace {
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:902:56
|
902 | return Self::error(this).request_ref::<Backtrace>();
| ^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/fmt.rs:44:17
|
44 | use crate::backtrace::BacktraceStatus;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/fmt.rs:47:20
|
47 | if let BacktraceStatus::Captured = backtrace.status() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:70:36
|
70 | Error::from_adhoc(message, backtrace!())
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:62
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:113:25
|
113 | let backtrace = backtrace_if_absent!(&*error);
| ----------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:113:25
|
113 | let backtrace = backtrace_if_absent!(&*error);
| ----------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:62
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:27:29
|
27 | let backtrace = backtrace_if_absent!(&self);
| --------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:27:29
|
27 | let backtrace = backtrace_if_absent!(&self);
| --------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/lib.rs:214:32
|
214 | #![cfg_attr(backtrace, feature(error_generic_member_access, provide_any))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/lib.rs:214:61
|
214 | #![cfg_attr(backtrace, feature(error_generic_member_access, provide_any))]
| ^^^^^^^^^^^
error[E0635]: unknown feature `error_generic_member_access`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/lib.rs:214:32
|
214 | #![cfg_attr(backtrace, feature(error_generic_member_access, provide_any))]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0635]: unknown feature `provide_any`
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/lib.rs:214:61
|
214 | #![cfg_attr(backtrace, feature(error_generic_member_access, provide_any))]
| ^^^^^^^^^^^
error[E0599]: no method named `request_ref` found for reference `&dyn std::error::Error` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:48
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^ method not found in `&dyn std::error::Error`
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:27:29
|
27 | let backtrace = backtrace_if_absent!(&self);
| --------------------------- in this macro invocation
|
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:27:29
|
27 | let backtrace = backtrace_if_absent!(&self);
| --------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:87:57
|
87 | self.ok_or_else(|| Error::from_display(context, backtrace!()))
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:95:59
|
95 | self.ok_or_else(|| Error::from_display(context(), backtrace!()))
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `provide` found for type parameter `E` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/context.rs:132:20
|
132 | self.error.provide(demand);
| ^^^^^^^ method not found in `E`
error[E0599]: no method named `request_ref` found for reference `&dyn std::error::Error` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:48
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^ method not found in `&dyn std::error::Error`
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:36:25
|
36 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:36:25
|
36 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:83:36
|
83 | Error::from_adhoc(message, backtrace!())
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `request_ref` found for reference `&dyn std::error::Error` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:48
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^ method not found in `&dyn std::error::Error`
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:546:25
|
546 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:546:25
|
546 | let backtrace = backtrace_if_absent!(&error);
| ---------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `request_ref` found for reference `&(dyn std::error::Error + Send + Sync + 'static)` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:902:42
|
902 | return Self::error(this).request_ref::<Backtrace>();
| ^^^^^^^^^^^ method not found in `&(dyn std::error::Error + Send + Sync + 'static)`
error[E0599]: no method named `provide` found for reference `&(dyn std::error::Error + Send + Sync + 'static)` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/error.rs:914:27
|
914 | Self::error(this).provide(demand);
| ^^^^^^^ method not found in `&(dyn std::error::Error + Send + Sync + 'static)`
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/fmt.rs:47:58
|
47 | if let BacktraceStatus::Captured = backtrace.status() {
| ^^^^^^
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:70:36
|
70 | Error::from_adhoc(message, backtrace!())
| ------------ in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `request_ref` found for reference `&dyn std::error::Error` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:41:48
|
41 | match ($err as &dyn std::error::Error).request_ref::<std::backtrace::Backtrace>() {
| ^^^^^^^^^^^ method not found in `&dyn std::error::Error`
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:113:25
|
113 | let backtrace = backtrace_if_absent!(&*error);
| ----------------------------- in this macro invocation
|
= note: this error originates in the macro `backtrace_if_absent` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0658]: use of unstable library feature 'backtrace'
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/backtrace.rs:27:14
|
27 | Some(crate::backtrace::Backtrace::capture())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
::: /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/kind.rs:113:25
|
113 | let backtrace = backtrace_if_absent!(&*error);
| ----------------------------- in this macro invocation
|
= note: see issue #53487 <https://github.com/rust-lang/rust/issues/53487> for more information
= note: this error originates in the macro `backtrace` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no method named `provide` found for struct `Box<(dyn std::error::Error + Send + Sync + 'static)>` in the current scope
--> /Users/rekby/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.64/src/wrapper.rs:79:16
|
79 | self.0.provide(demand);
| ^^^^^^^ method not found in `Box<(dyn std::error::Error + Send + Sync + 'static)>`
Some errors have detailed explanations: E0407, E0432, E0554, E0599, E0635, E0658.
For more information about an error, try `rustc --explain E0407`.
error: could not compile `anyhow` due to 56 previous errors
warning: build failed, waiting for other jobs to finish...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment