You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.
When I try to build latest commit 9958a54 with nightly rustc 1.30.0-dev (52c785bfc 2018-08-08) I get errors:
Compiling domain v0.3.0 (file:///mnt/another/srcs/GIT/domain)
Running `rustc --crate-name domain src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=87fc5076fb9ca965 -C extra-filename=-87fc5076fb9ca965 --out-dir /mnt/another/srcs/GIT/domain/target/release/deps -L dependency=/mnt/another/srcs/GIT/domain/target/release/deps --extern base64=/mnt/another/srcs/GIT/domain/target/release/deps/libbase64-0361a0558368b386.rlib --extern bytes=/mnt/another/srcs/GIT/domain/target/release/deps/libbytes-cd12887ded74a0dd.rlib --extern chrono=/mnt/another/srcs/GIT/domain/target/release/deps/libchrono-5f2afb162ca6089a.rlib --extern failure=/mnt/another/srcs/GIT/domain/target/release/deps/libfailure-b9c1c6cfa783236d.rlib --extern failure_derive=/mnt/another/srcs/GIT/domain/target/release/deps/libfailure_derive-9202c4472f7e8fed.so --extern futures=/mnt/another/srcs/GIT/domain/target/release/deps/libfutures-ff1458c073f460e0.rlib --extern rand=/mnt/another/srcs/GIT/domain/target/release/deps/librand-ff601df1196eaccb.rlib --extern tokio=/mnt/another/srcs/GIT/domain/target/release/deps/libtokio-b7e2d3be332df088.rlib -L native=/mnt/another/srcs/GIT/domain/target/release/build/backtrace-sys-8f11f1bd0862fc3f/out`
warning: unnecessary parentheses around function argument
--> src/utils/base32.rs:49:25
|
49 | f.write_char(ch((chunk[4] & 0x1F)))?; // 7
| ^^^^^^^^^^^^^^^^^ help: remove these parentheses
|
= note: #[warn(unused_parens)] on by default
warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead
--> src/bits/charstr.rs:28:5
|
28 | use std::ascii::AsciiExt;
| ^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default
warning: use of deprecated item 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
--> src/bits/charstr.rs:292:25
|
292 | self.iter().map(AsciiExt::to_ascii_lowercase)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated item 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
--> src/bits/charstr.rs:294:36
|
294 | .map(AsciiExt::to_ascii_lowercase))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated item 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
--> src/bits/charstr.rs:300:25
|
300 | self.iter().map(AsciiExt::to_ascii_lowercase)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated item 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
--> src/bits/charstr.rs:301:35
|
301 | .cmp(other.iter().map(AsciiExt::to_ascii_lowercase))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
warning: use of deprecated item 'std::ascii::AsciiExt::to_ascii_lowercase': use inherent methods instead
--> src/bits/charstr.rs:310:25
|
310 | self.iter().map(AsciiExt::to_ascii_lowercase)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0277]: `N` doesn't implement `std::fmt::Debug`
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `N` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `N`
= help: consider adding a `where N: std::fmt::Debug` bound
= note: required because of the requirements on the impl of `std::fmt::Debug` for `bits::record::RecordParseError<N, D>`
error[E0277]: `D` doesn't implement `std::fmt::Debug`
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `D` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `D`
= help: consider adding a `where D: std::fmt::Debug` bound
= note: required because of the requirements on the impl of `std::fmt::Debug` for `bits::record::RecordParseError<N, D>`
error[E0277]: `N` cannot be shared between threads safely
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `N` cannot be shared between threads safely
|
= help: within `bits::record::RecordParseError<N, D>`, the trait `std::marker::Sync` is not implemented for `N`
= help: consider adding a `where N: std::marker::Sync` bound
= note: required because it appears within the type `bits::record::RecordParseError<N, D>`
error[E0277]: `D` cannot be shared between threads safely
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `D` cannot be shared between threads safely
|
= help: within `bits::record::RecordParseError<N, D>`, the trait `std::marker::Sync` is not implemented for `D`
= help: consider adding a `where D: std::marker::Sync` bound
= note: required because it appears within the type `bits::record::RecordParseError<N, D>`
error[E0277]: `N` cannot be sent between threads safely
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `N` cannot be sent between threads safely
|
= help: within `bits::record::RecordParseError<N, D>`, the trait `std::marker::Send` is not implemented for `N`
= help: consider adding a `where N: std::marker::Send` bound
= note: required because it appears within the type `bits::record::RecordParseError<N, D>`
error[E0277]: `D` cannot be sent between threads safely
--> src/bits/record.rs:495:34
|
495 | #[derive(Clone, Copy, Debug, Eq, Fail, PartialEq)]
| ^^^^ `D` cannot be sent between threads safely
|
= help: within `bits::record::RecordParseError<N, D>`, the trait `std::marker::Send` is not implemented for `D`
= help: consider adding a `where D: std::marker::Send` bound
= note: required because it appears within the type `bits::record::RecordParseError<N, D>`
error: aborting due to 6 previous errors
For more information about this error, try `rustc --explain E0277`.
error: Could not compile `domain`.
The text was updated successfully, but these errors were encountered:
Looks like something changed in failure-0.1.2. Should be fixed now. I also took the opportunity to fix the deprecation warnings from AsciiExt and BufMut.
When I try to build latest commit 9958a54 with nightly rustc 1.30.0-dev (52c785bfc 2018-08-08) I get errors:
The text was updated successfully, but these errors were encountered: