Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Compiling error #17

Open
Open
@erikfluff

Description

@erikfluff

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 as pub
--> /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 as pub
--> /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 as pub
--> /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 as pub
--> /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 as pub
--> /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 as pub
--> /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 as pub
--> /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 as pub
--> /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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions