-
Notifications
You must be signed in to change notification settings - Fork 9
Compiling error #17
Comments
looks to be related to rust-lang/rust#42460 I tried updating the .toml to use the current version of nickel.rs, but that then fails with error: failed to select a version for then there were issues with the version of getopts, then there were more... this reminds me of rpm hell a decade ago )-: I hacked around on it some more, but possibly because of updated depenancies it eventually errored with
I think it needs somebody that actually understands rust rather than somebody that just hacks at cargo.toml files... |
Hi! I haven't maintained this for a while, as Spotify released an official API for the same use case. I thought I had updated the README to mention it but I must have forgotten. I'm sorry if you wasted a lot of time on this :( |
only a few hours (-: it was quite frustrating, then elating then frustrating playing "whack a mole" with the dependencies (-: |
Trying to compile with the cargo build --release, but getting this error
error: variant
StandAlone
is private, and cannot be reexported, consider decla ring its enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:5:9
|
5 | pub use self::TokenClass::*;
| ^^^^^^^^^^^^^^^^^^^^
error: variant
TEXT
is private, and cannot be reexported, consider declaring i ts enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:4:9
|
4 | pub use self::ParserState::*;
| ^^^^^^^^^^^^^^^^^^^^^
error: variant
CTAG
is private, and cannot be reexported, consider declaring i ts enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:4:9
|
4 | pub use self::ParserState::*;
| ^^^^^^^^^^^^^^^^^^^^^
error: variant
TAG
is private, and cannot be reexported, consider declaring it s enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:4:9
|
4 | pub use self::ParserState::*;
| ^^^^^^^^^^^^^^^^^^^^^
error: variant
WhiteSpace
is private, and cannot be reexported, consider decla ring its enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:5:9
|
5 | pub use self::TokenClass::*;
| ^^^^^^^^^^^^^^^^^^^^
error: variant
OTAG
is private, and cannot be reexported, consider declaring i ts enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:4:9
|
4 | pub use self::ParserState::*;
| ^^^^^^^^^^^^^^^^^^^^^
error: variant
Normal
is private, and cannot be reexported, consider declaring its enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:5:9
|
5 | pub use self::TokenClass::*;
| ^^^^^^^^^^^^^^^^^^^^
error: variant
NewLineWhiteSpace
is private, and cannot be reexported, conside r declaring its enum aspub
--> /home/pi/.cargo/registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src /parser.rs:5:9
|
5 | pub use self::TokenClass::*;
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to 8 previous errors
error: Could not compile
mustache
.Caused by:
process didn't exit successfully:
rustc --crate-name mustache /home/pi/.cargo /registry/src/github.com-1ecc6299db9ec823/mustache-0.6.3/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C metadata=acdadfbcc11e8b91 -C extra-f ilename=-acdadfbcc11e8b91 --out-dir /home/pi/spotifyd-http/target/release/deps - L dependency=/home/pi/spotifyd-http/target/release/deps --extern log=/home/pi/sp otifyd-http/target/release/deps/liblog-295e160fc212e7ab.rlib --extern rustc_seri alize=/home/pi/spotifyd-http/target/release/deps/librustc_serialize-2adfe847bbad 5e30.rlib --cap-lints allow
(exit code: 101)warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: