-
-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
Older version of the pnet
package is causing compilation errors for the AUR package due to RustcDecodable
and RustcEncodable
macros being removed from the Rust compiler (syntex_pos
dependency). AUR package weylus
is built with the latest 0.11.4 release, which is causing the error. Publishing a new release would fix this
Compiling syntex_pos v0.42.0
error: cannot find derive macro `RustcEncodable` in this scope
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:253:45
|
253 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy)]
| ^^^^^^^^^^^^^^
error: cannot find derive macro `RustcDecodable` in this scope
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:253:61
|
253 | #[derive(PartialEq, Eq, Clone, Debug, Hash, RustcEncodable, RustcDecodable, Copy)]
| ^^^^^^^^^^^^^^
error: cannot find derive macro `RustcEncodable` in this scope
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:275:23
|
275 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)]
| ^^^^^^^^^^^^^^
error: cannot find derive macro `RustcDecodable` in this scope
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:275:39
|
275 | #[derive(Copy, Clone, RustcEncodable, RustcDecodable, Eq, PartialEq)]
| ^^^^^^^^^^^^^^
Compiling typenum v1.17.0
error[E0599]: the method `encode` exists for struct `Vec<MultiByteChar>`, but its trait bounds were not satisfied
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:357:50
|
276 | pub struct MultiByteChar {
| ------------------------ doesn't satisfy `MultiByteChar: Encodable`
...
357 | (*self.multibyte_chars.borrow()).encode(s)
| ^^^^^^ method cannot be called on `Vec<MultiByteChar>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`MultiByteChar: Encodable`
which is required by `Vec<MultiByteChar>: Encodable`
`MultiByteChar: Encodable`
which is required by `[MultiByteChar]: Encodable`
note: the trait `Encodable` must be implemented
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/serialize.rs:851:1
|
851 | pub trait Encodable {
| ^^^^^^^^^^^^^^^^^^^
error[E0277]: the trait bound `MultiByteChar: Decodable` is not satisfied
--> /home/flynn/.cache/yay/weylus/src/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syntex_pos-0.42.0/src/lib.rs:401:68
|
401 | try!(d.read_struct_field("multibyte_chars", 5, |d| Decodable::decode(d)));
| ^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `MultiByteChar`
|
= help: the following other types implement trait `Decodable`:
()
(T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
(T10, T11)
(T11,)
(T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
(T3, T4, T5, T6, T7, T8, T9, T10, T11)
(T4, T5, T6, T7, T8, T9, T10, T11)
and 74 others
= note: required for `Vec<MultiByteChar>` to implement `Decodable`
Some errors have detailed explanations: E0277, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `syntex_pos` (lib) due to 6 previous errors
gitdexgit
Metadata
Metadata
Assignees
Labels
No labels