Skip to content

Instantly share code, notes, and snippets.

@vinipsmaker
Created January 6, 2016 07:13
Show Gist options
  • Save vinipsmaker/162f06561f3b0aba694b to your computer and use it in GitHub Desktop.
Save vinipsmaker/162f06561f3b0aba694b to your computer and use it in GitHub Desktop.
[rust@vinipsmaker-pi xml-rs]$ cargo build
Updating registry `https://github.com/rust-lang/crates.io-index`
Compiling bitflags v0.3.3
Compiling xml-rs v0.3.0 (file:///home/rust/Projects/xml-rs)
src/reader/parser/outside_tag.rs:12:55: 12:61 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/outside_tag.rs:12 pub fn outside_tag(&mut self, t: Token) -> Option<Result> {
^~~~~~
src/reader/parser/inside_processing_instruction.rs:11:107: 11:113 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_processing_instruction.rs:11 pub fn inside_processing_instruction(&mut self, t: Token, s: ProcessingInstructionSubstate) -> Option<Result> {
^~~~~~
src/reader/parser/inside_declaration.rs:14:86: 14:92 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_declaration.rs:14 pub fn inside_declaration(&mut self, t: Token, s: DeclarationSubstate) -> Option<Result> {
^~~~~~
src/reader/parser/inside_doctype.rs:6:58: 6:64 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_doctype.rs:6 pub fn inside_doctype(&mut self, t: Token) -> Option<Result> {
^~~~~~
src/reader/parser/inside_opening_tag.rs:10:85: 10:91 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_opening_tag.rs:10 pub fn inside_opening_tag(&mut self, t: Token, s: OpeningTagSubstate) -> Option<Result> {
^~~~~~
src/reader/parser/inside_closing_tag_name.rs:8:90: 8:96 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_closing_tag_name.rs:8 pub fn inside_closing_tag_name(&mut self, t: Token, s: ClosingTagSubstate) -> Option<Result> {
^~~~~~
src/reader/parser/inside_comment.rs:7:58: 7:64 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_comment.rs:7 pub fn inside_comment(&mut self, t: Token) -> Option<Result> {
^~~~~~
src/reader/parser/inside_cdata.rs:7:56: 7:62 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_cdata.rs:7 pub fn inside_cdata(&mut self, t: Token) -> Option<Result> {
^~~~~~
src/reader/parser/inside_reference.rs:10:76: 10:82 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_reference.rs:10 pub fn inside_reference(&mut self, t: Token, prev_st: State) -> Option<Result> {
^~~~~~
src/reader/parser/mod.rs:242:51: 242:57 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/mod.rs:242 pub fn next<R: Read>(&mut self, r: &mut R) -> Result {
^~~~~~
src/reader/parser/inside_reference.rs:10:59: 10:64 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_reference.rs:10 pub fn inside_reference(&mut self, t: Token, prev_st: State) -> Option<Result> {
^~~~~
src/reader/parser/inside_opening_tag.rs:10:55: 10:73 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_opening_tag.rs:10 pub fn inside_opening_tag(&mut self, t: Token, s: OpeningTagSubstate) -> Option<Result> {
^~~~~~~~~~~~~~~~~~
src/reader/parser/inside_closing_tag_name.rs:8:60: 8:78 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_closing_tag_name.rs:8 pub fn inside_closing_tag_name(&mut self, t: Token, s: ClosingTagSubstate) -> Option<Result> {
^~~~~~~~~~~~~~~~~~
src/reader/parser/inside_processing_instruction.rs:11:66: 11:95 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_processing_instruction.rs:11 pub fn inside_processing_instruction(&mut self, t: Token, s: ProcessingInstructionSubstate) -> Option<Result> {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/reader/parser/inside_declaration.rs:14:55: 14:74 warning: private type in public interface (error E0446), #[warn(private_in_public)] on by default
src/reader/parser/inside_declaration.rs:14 pub fn inside_declaration(&mut self, t: Token, s: DeclarationSubstate) -> Option<Result> {
^~~~~~~~~~~~~~~~~~~
error: could not exec the linker `cc`: No such file or directory (os error 2)
Could not compile `xml-rs`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment