Aug 30 00:15:15.876 INFO checking thrust-0.1.0 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 00:15:15.876 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 00:15:15.876 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-2/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 00:15:16.081 INFO blam! 84adb54512268261144d4f5d004f5ecb2298f5a69fad2a8147a95bf29267fc02 Aug 30 00:15:16.083 INFO running `"docker" "start" "-a" "84adb54512268261144d4f5d004f5ecb2298f5a69fad2a8147a95bf29267fc02"` Aug 30 00:15:16.816 INFO kablam! Checking docopt v0.6.86 Aug 30 00:15:18.933 INFO kablam! Checking thrust v0.1.0 (file:///source) Aug 30 00:15:19.443 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:19.443 INFO kablam! --> src/lib.rs:6:5 Aug 30 00:15:19.444 INFO kablam! | Aug 30 00:15:19.444 INFO kablam! 6 | use std::str; Aug 30 00:15:19.444 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.444 INFO kablam! | Aug 30 00:15:19.444 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 00:15:19.444 INFO kablam! Aug 30 00:15:19.444 INFO kablam! warning: unused import: `be_u8` Aug 30 00:15:19.444 INFO kablam! --> src/parser.rs:1:99 Aug 30 00:15:19.444 INFO kablam! | Aug 30 00:15:19.444 INFO kablam! 1 | use nom::{space, alphanumeric, ErrorKind, IterIndices, IResult, multispace, not_line_ending, Err, be_u8, digit, InputLength, is_alphanumeric}; Aug 30 00:15:19.444 INFO kablam! | ^^^^^ Aug 30 00:15:19.444 INFO kablam! Aug 30 00:15:19.444 INFO kablam! warning: unused import: `std::convert::From` Aug 30 00:15:19.444 INFO kablam! --> src/parser.rs:4:5 Aug 30 00:15:19.444 INFO kablam! | Aug 30 00:15:19.444 INFO kablam! 4 | use std::convert::From; Aug 30 00:15:19.445 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 00:15:19.445 INFO kablam! Aug 30 00:15:19.445 INFO kablam! warning: unused imports: `Index`, `RangeFrom`, `Range` Aug 30 00:15:19.445 INFO kablam! --> src/parser.rs:5:16 Aug 30 00:15:19.445 INFO kablam! | Aug 30 00:15:19.445 INFO kablam! 5 | use std::ops::{Index,Range,RangeFrom}; Aug 30 00:15:19.445 INFO kablam! | ^^^^^ ^^^^^ ^^^^^^^^^ Aug 30 00:15:19.445 INFO kablam! Aug 30 00:15:19.448 INFO kablam! warning: unused import: `super::*` Aug 30 00:15:19.448 INFO kablam! --> src/parser.rs:219:9 Aug 30 00:15:19.448 INFO kablam! | Aug 30 00:15:19.448 INFO kablam! 219 | use super::*; Aug 30 00:15:19.448 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.448 INFO kablam! Aug 30 00:15:19.448 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:19.448 INFO kablam! --> src/parser.rs:220:9 Aug 30 00:15:19.448 INFO kablam! | Aug 30 00:15:19.448 INFO kablam! 220 | use std::str; Aug 30 00:15:19.448 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.448 INFO kablam! Aug 30 00:15:19.448 INFO kablam! warning: unused import: `nom::IResult::*` Aug 30 00:15:19.448 INFO kablam! --> src/parser.rs:221:9 Aug 30 00:15:19.448 INFO kablam! | Aug 30 00:15:19.448 INFO kablam! 221 | use nom::IResult::*; Aug 30 00:15:19.448 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:19.448 INFO kablam! Aug 30 00:15:19.448 INFO kablam! warning: unused imports: `Ast`, `FieldMetadataNode`, `FunctionNode`, `IdentNode`, `NamespaceNode`, `ServiceNode`, `StructFieldNode`, `StructNode`, `Ty` Aug 30 00:15:19.449 INFO kablam! --> src/parser.rs:223:15 Aug 30 00:15:19.449 INFO kablam! | Aug 30 00:15:19.449 INFO kablam! 223 | use ast::{IdentNode, StructNode, FunctionNode, ServiceNode, NamespaceNode, StructFieldNode, FieldMetadataNode, Ty, Ast}; Aug 30 00:15:19.449 INFO kablam! | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^ ^^^ Aug 30 00:15:19.449 INFO kablam! Aug 30 00:15:19.449 INFO kablam! warning: unused import: `Read` Aug 30 00:15:19.449 INFO kablam! --> src/ast.rs:1:15 Aug 30 00:15:19.449 INFO kablam! | Aug 30 00:15:19.449 INFO kablam! 1 | use std::io::{Read, Write}; Aug 30 00:15:19.449 INFO kablam! | ^^^^ Aug 30 00:15:19.449 INFO kablam! Aug 30 00:15:19.449 INFO kablam! warning: unused import: `std::path::Path` Aug 30 00:15:19.450 INFO kablam! --> src/generator.rs:2:5 Aug 30 00:15:19.450 INFO kablam! | Aug 30 00:15:19.450 INFO kablam! 2 | use std::path::Path; Aug 30 00:15:19.450 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:19.450 INFO kablam! Aug 30 00:15:19.450 INFO kablam! warning: unused imports: `Result`, `Write` Aug 30 00:15:19.450 INFO kablam! --> src/generator.rs:3:15 Aug 30 00:15:19.450 INFO kablam! | Aug 30 00:15:19.450 INFO kablam! 3 | use std::io::{Result, Read, Write}; Aug 30 00:15:19.450 INFO kablam! | ^^^^^^ ^^^^^ Aug 30 00:15:19.450 INFO kablam! Aug 30 00:15:19.450 INFO kablam! warning: unused import: `ast::Ast` Aug 30 00:15:19.450 INFO kablam! --> src/generator.rs:5:5 Aug 30 00:15:19.450 INFO kablam! | Aug 30 00:15:19.450 INFO kablam! 5 | use ast::Ast; Aug 30 00:15:19.450 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.450 INFO kablam! Aug 30 00:15:19.661 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:19.661 INFO kablam! --> src/lib.rs:6:5 Aug 30 00:15:19.661 INFO kablam! | Aug 30 00:15:19.661 INFO kablam! 6 | use std::str; Aug 30 00:15:19.661 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.662 INFO kablam! | Aug 30 00:15:19.662 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 00:15:19.662 INFO kablam! Aug 30 00:15:19.662 INFO kablam! warning: unused import: `be_u8` Aug 30 00:15:19.662 INFO kablam! --> src/parser.rs:1:99 Aug 30 00:15:19.662 INFO kablam! | Aug 30 00:15:19.662 INFO kablam! 1 | use nom::{space, alphanumeric, ErrorKind, IterIndices, IResult, multispace, not_line_ending, Err, be_u8, digit, InputLength, is_alphanumeric}; Aug 30 00:15:19.662 INFO kablam! | ^^^^^ Aug 30 00:15:19.662 INFO kablam! Aug 30 00:15:19.662 INFO kablam! warning: unused import: `std::convert::From` Aug 30 00:15:19.662 INFO kablam! --> src/parser.rs:4:5 Aug 30 00:15:19.662 INFO kablam! | Aug 30 00:15:19.662 INFO kablam! 4 | use std::convert::From; Aug 30 00:15:19.662 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 00:15:19.663 INFO kablam! Aug 30 00:15:19.663 INFO kablam! warning: unused imports: `Index`, `RangeFrom`, `Range` Aug 30 00:15:19.663 INFO kablam! --> src/parser.rs:5:16 Aug 30 00:15:19.663 INFO kablam! | Aug 30 00:15:19.663 INFO kablam! 5 | use std::ops::{Index,Range,RangeFrom}; Aug 30 00:15:19.663 INFO kablam! | ^^^^^ ^^^^^ ^^^^^^^^^ Aug 30 00:15:19.663 INFO kablam! Aug 30 00:15:19.667 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:19.667 INFO kablam! --> src/parser.rs:220:9 Aug 30 00:15:19.667 INFO kablam! | Aug 30 00:15:19.667 INFO kablam! 220 | use std::str; Aug 30 00:15:19.667 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.668 INFO kablam! Aug 30 00:15:19.668 INFO kablam! warning: unused import: `nom::IResult::*` Aug 30 00:15:19.668 INFO kablam! --> src/parser.rs:221:9 Aug 30 00:15:19.668 INFO kablam! | Aug 30 00:15:19.668 INFO kablam! 221 | use nom::IResult::*; Aug 30 00:15:19.668 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:19.668 INFO kablam! Aug 30 00:15:19.668 INFO kablam! warning: unused import: `Ast` Aug 30 00:15:19.668 INFO kablam! --> src/parser.rs:223:120 Aug 30 00:15:19.668 INFO kablam! | Aug 30 00:15:19.668 INFO kablam! 223 | use ast::{IdentNode, StructNode, FunctionNode, ServiceNode, NamespaceNode, StructFieldNode, FieldMetadataNode, Ty, Ast}; Aug 30 00:15:19.668 INFO kablam! | ^^^ Aug 30 00:15:19.669 INFO kablam! Aug 30 00:15:19.670 INFO kablam! warning: unused import: `Read` Aug 30 00:15:19.670 INFO kablam! --> src/ast.rs:1:15 Aug 30 00:15:19.670 INFO kablam! | Aug 30 00:15:19.670 INFO kablam! 1 | use std::io::{Read, Write}; Aug 30 00:15:19.670 INFO kablam! | ^^^^ Aug 30 00:15:19.670 INFO kablam! Aug 30 00:15:19.672 INFO kablam! warning: unused import: `parser::*` Aug 30 00:15:19.672 INFO kablam! --> src/ast.rs:276:9 Aug 30 00:15:19.672 INFO kablam! | Aug 30 00:15:19.672 INFO kablam! 276 | use parser::*; Aug 30 00:15:19.672 INFO kablam! | ^^^^^^^^^ Aug 30 00:15:19.672 INFO kablam! Aug 30 00:15:19.673 INFO kablam! warning: unused import: `std::path::Path` Aug 30 00:15:19.673 INFO kablam! --> src/generator.rs:2:5 Aug 30 00:15:19.673 INFO kablam! | Aug 30 00:15:19.673 INFO kablam! 2 | use std::path::Path; Aug 30 00:15:19.673 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:19.673 INFO kablam! Aug 30 00:15:19.674 INFO kablam! warning: unused imports: `Result`, `Write` Aug 30 00:15:19.674 INFO kablam! --> src/generator.rs:3:15 Aug 30 00:15:19.674 INFO kablam! | Aug 30 00:15:19.674 INFO kablam! 3 | use std::io::{Result, Read, Write}; Aug 30 00:15:19.674 INFO kablam! | ^^^^^^ ^^^^^ Aug 30 00:15:19.674 INFO kablam! Aug 30 00:15:19.674 INFO kablam! warning: unused import: `ast::Ast` Aug 30 00:15:19.674 INFO kablam! --> src/generator.rs:5:5 Aug 30 00:15:19.674 INFO kablam! | Aug 30 00:15:19.674 INFO kablam! 5 | use ast::Ast; Aug 30 00:15:19.674 INFO kablam! | ^^^^^^^^ Aug 30 00:15:19.674 INFO kablam! Aug 30 00:15:20.415 INFO kablam! warning: unused variable: `w` Aug 30 00:15:20.415 INFO kablam! --> src/ast.rs:4:19 Aug 30 00:15:20.416 INFO kablam! | Aug 30 00:15:20.416 INFO kablam! 4 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:20.416 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:20.416 INFO kablam! | Aug 30 00:15:20.416 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:20.416 INFO kablam! Aug 30 00:15:20.416 INFO kablam! warning: unused variable: `w` Aug 30 00:15:20.416 INFO kablam! --> src/ast.rs:195:19 Aug 30 00:15:20.416 INFO kablam! | Aug 30 00:15:20.416 INFO kablam! 195 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:20.416 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:20.416 INFO kablam! Aug 30 00:15:20.416 INFO kablam! warning: unused variable: `err` Aug 30 00:15:20.416 INFO kablam! --> src/generator.rs:18:17 Aug 30 00:15:20.416 INFO kablam! | Aug 30 00:15:20.416 INFO kablam! 18 | Err(err) => return "Error opening the input .thrift file." Aug 30 00:15:20.416 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:20.416 INFO kablam! Aug 30 00:15:20.417 INFO kablam! warning: unused variable: `i` Aug 30 00:15:20.417 INFO kablam! --> src/generator.rs:26:27 Aug 30 00:15:20.417 INFO kablam! | Aug 30 00:15:20.417 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:20.417 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:20.417 INFO kablam! Aug 30 00:15:20.417 INFO kablam! warning: unused variable: `o` Aug 30 00:15:20.417 INFO kablam! --> src/generator.rs:26:30 Aug 30 00:15:20.417 INFO kablam! | Aug 30 00:15:20.417 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:20.418 INFO kablam! | ^ help: consider using `_o` instead Aug 30 00:15:20.418 INFO kablam! Aug 30 00:15:20.418 INFO kablam! warning: unused variable: `output` Aug 30 00:15:20.418 INFO kablam! --> src/generator.rs:15:28 Aug 30 00:15:20.418 INFO kablam! | Aug 30 00:15:20.418 INFO kablam! 15 | pub fn run(path: &str, output: &str) -> &'static str { Aug 30 00:15:20.418 INFO kablam! | ^^^^^^ help: consider using `_output` instead Aug 30 00:15:20.418 INFO kablam! Aug 30 00:15:20.418 INFO kablam! warning: unused variable: `err` Aug 30 00:15:20.418 INFO kablam! --> src/lib.rs:26:13 Aug 30 00:15:20.418 INFO kablam! | Aug 30 00:15:20.418 INFO kablam! 26 | fn from(err: string::FromUtf8Error) -> ThriftCompilerError { Aug 30 00:15:20.418 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:20.418 INFO kablam! Aug 30 00:15:20.418 INFO kablam! warning: unused variable: `i` Aug 30 00:15:20.418 INFO kablam! --> src/lib.rs:40:27 Aug 30 00:15:20.418 INFO kablam! | Aug 30 00:15:20.418 INFO kablam! 40 | IResult::Done(i, nodes) => { Aug 30 00:15:20.418 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:20.418 INFO kablam! Aug 30 00:15:20.418 INFO kablam! warning: unused variable: `err` Aug 30 00:15:20.418 INFO kablam! --> src/lib.rs:62:28 Aug 30 00:15:20.418 INFO kablam! | Aug 30 00:15:20.418 INFO kablam! 62 | IResult::Error(err) => { Aug 30 00:15:20.419 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:20.419 INFO kablam! Aug 30 00:15:20.667 INFO kablam! warning: function is never used: `eof` Aug 30 00:15:20.667 INFO kablam! --> src/parser.rs:32:1 Aug 30 00:15:20.667 INFO kablam! | Aug 30 00:15:20.667 INFO kablam! 32 | fn eof(input:&[u8]) -> IResult<&[u8], &[u8]> { Aug 30 00:15:20.667 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.667 INFO kablam! Aug 30 00:15:20.667 INFO kablam! warning: function is never used: `namespace` Aug 30 00:15:20.667 INFO kablam! --> src/parser.rs:60:1 Aug 30 00:15:20.667 INFO kablam! | Aug 30 00:15:20.667 INFO kablam! 60 | pub fn namespace<'a>(input:&'a [u8]) -> IResult<&'a [u8], &'a [u8]> { Aug 30 00:15:20.667 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.667 INFO kablam! Aug 30 00:15:20.667 INFO kablam! warning: struct is never constructed: `Parser` Aug 30 00:15:20.667 INFO kablam! --> src/parser.rs:214:1 Aug 30 00:15:20.667 INFO kablam! | Aug 30 00:15:20.667 INFO kablam! 214 | pub struct Parser<'a> { Aug 30 00:15:20.668 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.668 INFO kablam! Aug 30 00:15:20.668 INFO kablam! warning: method is never used: `new` Aug 30 00:15:20.668 INFO kablam! --> src/ast.rs:127:5 Aug 30 00:15:20.668 INFO kablam! | Aug 30 00:15:20.668 INFO kablam! 127 | pub fn new(name: IdentNode) -> ServiceNode { Aug 30 00:15:20.668 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.668 INFO kablam! Aug 30 00:15:20.668 INFO kablam! warning: field is never used: `input` Aug 30 00:15:20.668 INFO kablam! --> src/generator.rs:10:5 Aug 30 00:15:20.668 INFO kablam! | Aug 30 00:15:20.668 INFO kablam! 10 | input: String, Aug 30 00:15:20.668 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 00:15:20.668 INFO kablam! Aug 30 00:15:20.668 INFO kablam! warning: field is never used: `output` Aug 30 00:15:20.668 INFO kablam! --> src/generator.rs:11:5 Aug 30 00:15:20.668 INFO kablam! | Aug 30 00:15:20.668 INFO kablam! 11 | output: Option Aug 30 00:15:20.668 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.668 INFO kablam! Aug 30 00:15:20.686 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 00:15:20.686 INFO kablam! --> src/generator.rs:23:9 Aug 30 00:15:20.686 INFO kablam! | Aug 30 00:15:20.686 INFO kablam! 23 | file.read_to_string(&mut input); Aug 30 00:15:20.686 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:20.686 INFO kablam! | Aug 30 00:15:20.686 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 00:15:20.686 INFO kablam! Aug 30 00:15:21.056 INFO kablam! warning: unused variable: `w` Aug 30 00:15:21.056 INFO kablam! --> src/ast.rs:4:19 Aug 30 00:15:21.056 INFO kablam! | Aug 30 00:15:21.056 INFO kablam! 4 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:21.056 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:21.056 INFO kablam! | Aug 30 00:15:21.056 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:21.057 INFO kablam! Aug 30 00:15:21.057 INFO kablam! warning: unused variable: `w` Aug 30 00:15:21.057 INFO kablam! --> src/ast.rs:195:19 Aug 30 00:15:21.057 INFO kablam! | Aug 30 00:15:21.057 INFO kablam! 195 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:21.057 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:21.057 INFO kablam! Aug 30 00:15:21.058 INFO kablam! warning: unused variable: `err` Aug 30 00:15:21.058 INFO kablam! --> src/generator.rs:18:17 Aug 30 00:15:21.058 INFO kablam! | Aug 30 00:15:21.058 INFO kablam! 18 | Err(err) => return "Error opening the input .thrift file." Aug 30 00:15:21.058 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:21.058 INFO kablam! Aug 30 00:15:21.059 INFO kablam! warning: unused variable: `i` Aug 30 00:15:21.059 INFO kablam! --> src/generator.rs:26:27 Aug 30 00:15:21.059 INFO kablam! | Aug 30 00:15:21.059 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:21.059 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:21.059 INFO kablam! Aug 30 00:15:21.059 INFO kablam! warning: unused variable: `o` Aug 30 00:15:21.059 INFO kablam! --> src/generator.rs:26:30 Aug 30 00:15:21.059 INFO kablam! | Aug 30 00:15:21.059 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:21.059 INFO kablam! | ^ help: consider using `_o` instead Aug 30 00:15:21.059 INFO kablam! Aug 30 00:15:21.059 INFO kablam! warning: unused variable: `output` Aug 30 00:15:21.059 INFO kablam! --> src/generator.rs:15:28 Aug 30 00:15:21.060 INFO kablam! | Aug 30 00:15:21.060 INFO kablam! 15 | pub fn run(path: &str, output: &str) -> &'static str { Aug 30 00:15:21.060 INFO kablam! | ^^^^^^ help: consider using `_output` instead Aug 30 00:15:21.060 INFO kablam! Aug 30 00:15:21.060 INFO kablam! warning: unused variable: `err` Aug 30 00:15:21.060 INFO kablam! --> src/lib.rs:26:13 Aug 30 00:15:21.060 INFO kablam! | Aug 30 00:15:21.060 INFO kablam! 26 | fn from(err: string::FromUtf8Error) -> ThriftCompilerError { Aug 30 00:15:21.060 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:21.060 INFO kablam! Aug 30 00:15:21.060 INFO kablam! warning: unused variable: `i` Aug 30 00:15:21.060 INFO kablam! --> src/lib.rs:40:27 Aug 30 00:15:21.060 INFO kablam! | Aug 30 00:15:21.061 INFO kablam! 40 | IResult::Done(i, nodes) => { Aug 30 00:15:21.061 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:21.061 INFO kablam! Aug 30 00:15:21.061 INFO kablam! warning: unused variable: `err` Aug 30 00:15:21.061 INFO kablam! --> src/lib.rs:62:28 Aug 30 00:15:21.061 INFO kablam! | Aug 30 00:15:21.061 INFO kablam! 62 | IResult::Error(err) => { Aug 30 00:15:21.061 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:21.061 INFO kablam! Aug 30 00:15:21.269 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.269 INFO kablam! --> src/ast.rs:282:13 Aug 30 00:15:21.269 INFO kablam! | Aug 30 00:15:21.269 INFO kablam! 282 | let mut s = Ty::String; Aug 30 00:15:21.269 INFO kablam! | ----^ Aug 30 00:15:21.269 INFO kablam! | | Aug 30 00:15:21.269 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.269 INFO kablam! | Aug 30 00:15:21.269 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 00:15:21.269 INFO kablam! Aug 30 00:15:21.271 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.271 INFO kablam! --> src/ast.rs:290:13 Aug 30 00:15:21.271 INFO kablam! | Aug 30 00:15:21.271 INFO kablam! 290 | let mut s = Ty::Void; Aug 30 00:15:21.272 INFO kablam! | ----^ Aug 30 00:15:21.272 INFO kablam! | | Aug 30 00:15:21.272 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.272 INFO kablam! Aug 30 00:15:21.275 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.275 INFO kablam! --> src/ast.rs:298:13 Aug 30 00:15:21.275 INFO kablam! | Aug 30 00:15:21.275 INFO kablam! 298 | let mut s = Ty::Bool; Aug 30 00:15:21.275 INFO kablam! | ----^ Aug 30 00:15:21.275 INFO kablam! | | Aug 30 00:15:21.275 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.275 INFO kablam! Aug 30 00:15:21.278 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.278 INFO kablam! --> src/ast.rs:306:13 Aug 30 00:15:21.278 INFO kablam! | Aug 30 00:15:21.278 INFO kablam! 306 | let mut s = Ty::Signed16; Aug 30 00:15:21.278 INFO kablam! | ----^ Aug 30 00:15:21.278 INFO kablam! | | Aug 30 00:15:21.278 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.278 INFO kablam! Aug 30 00:15:21.280 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.280 INFO kablam! --> src/ast.rs:314:13 Aug 30 00:15:21.280 INFO kablam! | Aug 30 00:15:21.280 INFO kablam! 314 | let mut s = Ty::Signed32; Aug 30 00:15:21.280 INFO kablam! | ----^ Aug 30 00:15:21.280 INFO kablam! | | Aug 30 00:15:21.281 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.281 INFO kablam! Aug 30 00:15:21.283 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.283 INFO kablam! --> src/ast.rs:322:13 Aug 30 00:15:21.283 INFO kablam! | Aug 30 00:15:21.283 INFO kablam! 322 | let mut s = Ty::Signed64; Aug 30 00:15:21.283 INFO kablam! | ----^ Aug 30 00:15:21.284 INFO kablam! | | Aug 30 00:15:21.284 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.284 INFO kablam! Aug 30 00:15:21.287 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.287 INFO kablam! --> src/ast.rs:330:13 Aug 30 00:15:21.287 INFO kablam! | Aug 30 00:15:21.287 INFO kablam! 330 | let mut s = Ty::Byte; Aug 30 00:15:21.288 INFO kablam! | ----^ Aug 30 00:15:21.288 INFO kablam! | | Aug 30 00:15:21.288 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.288 INFO kablam! Aug 30 00:15:21.290 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.290 INFO kablam! --> src/ast.rs:338:13 Aug 30 00:15:21.290 INFO kablam! | Aug 30 00:15:21.291 INFO kablam! 338 | let mut s = Ty::Binary; Aug 30 00:15:21.291 INFO kablam! | ----^ Aug 30 00:15:21.291 INFO kablam! | | Aug 30 00:15:21.291 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.291 INFO kablam! Aug 30 00:15:21.294 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.294 INFO kablam! --> src/ast.rs:346:13 Aug 30 00:15:21.294 INFO kablam! | Aug 30 00:15:21.294 INFO kablam! 346 | let mut s = Ty::List(Box::new(Ty::String)); Aug 30 00:15:21.294 INFO kablam! | ----^ Aug 30 00:15:21.294 INFO kablam! | | Aug 30 00:15:21.294 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.294 INFO kablam! Aug 30 00:15:21.298 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.298 INFO kablam! --> src/ast.rs:354:13 Aug 30 00:15:21.298 INFO kablam! | Aug 30 00:15:21.298 INFO kablam! 354 | let mut s = Ty::Map(Box::new(Ty::String), Box::new(Ty::String)); Aug 30 00:15:21.298 INFO kablam! | ----^ Aug 30 00:15:21.298 INFO kablam! | | Aug 30 00:15:21.298 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.298 INFO kablam! Aug 30 00:15:21.302 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.302 INFO kablam! --> src/ast.rs:362:13 Aug 30 00:15:21.302 INFO kablam! | Aug 30 00:15:21.303 INFO kablam! 362 | let mut s = StructFieldNode { Aug 30 00:15:21.303 INFO kablam! | ----^ Aug 30 00:15:21.303 INFO kablam! | | Aug 30 00:15:21.303 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.303 INFO kablam! Aug 30 00:15:21.305 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.305 INFO kablam! --> src/ast.rs:375:13 Aug 30 00:15:21.305 INFO kablam! | Aug 30 00:15:21.305 INFO kablam! 375 | let mut s = StructFieldNode { Aug 30 00:15:21.305 INFO kablam! | ----^ Aug 30 00:15:21.306 INFO kablam! | | Aug 30 00:15:21.306 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.306 INFO kablam! Aug 30 00:15:21.310 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.310 INFO kablam! --> src/ast.rs:388:13 Aug 30 00:15:21.310 INFO kablam! | Aug 30 00:15:21.310 INFO kablam! 388 | let mut field = StructFieldNode { Aug 30 00:15:21.310 INFO kablam! | ----^^^^^ Aug 30 00:15:21.310 INFO kablam! | | Aug 30 00:15:21.310 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.310 INFO kablam! Aug 30 00:15:21.310 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.310 INFO kablam! --> src/ast.rs:394:13 Aug 30 00:15:21.310 INFO kablam! | Aug 30 00:15:21.310 INFO kablam! 394 | let mut s = StructNode { Aug 30 00:15:21.310 INFO kablam! | ----^ Aug 30 00:15:21.310 INFO kablam! | | Aug 30 00:15:21.310 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.310 INFO kablam! Aug 30 00:15:21.315 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.315 INFO kablam! --> src/ast.rs:407:13 Aug 30 00:15:21.315 INFO kablam! | Aug 30 00:15:21.315 INFO kablam! 407 | let mut field1 = StructFieldNode { Aug 30 00:15:21.315 INFO kablam! | ----^^^^^^ Aug 30 00:15:21.315 INFO kablam! | | Aug 30 00:15:21.315 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.315 INFO kablam! Aug 30 00:15:21.315 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.315 INFO kablam! --> src/ast.rs:414:13 Aug 30 00:15:21.315 INFO kablam! | Aug 30 00:15:21.315 INFO kablam! 414 | let mut field2 = StructFieldNode { Aug 30 00:15:21.315 INFO kablam! | ----^^^^^^ Aug 30 00:15:21.315 INFO kablam! | | Aug 30 00:15:21.315 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.316 INFO kablam! Aug 30 00:15:21.316 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:21.316 INFO kablam! --> src/ast.rs:421:13 Aug 30 00:15:21.316 INFO kablam! | Aug 30 00:15:21.316 INFO kablam! 421 | let mut s = StructNode { Aug 30 00:15:21.316 INFO kablam! | ----^ Aug 30 00:15:21.316 INFO kablam! | | Aug 30 00:15:21.316 INFO kablam! | help: remove this `mut` Aug 30 00:15:21.316 INFO kablam! Aug 30 00:15:21.318 INFO kablam! warning: unused variable: `r` Aug 30 00:15:21.318 INFO kablam! --> tests/namespace.rs:17:9 Aug 30 00:15:21.318 INFO kablam! | Aug 30 00:15:21.318 INFO kablam! 17 | let r = ThriftCompiler::run(empty).unwrap(); Aug 30 00:15:21.318 INFO kablam! | ^ help: consider using `_r` instead Aug 30 00:15:21.318 INFO kablam! | Aug 30 00:15:21.318 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:21.319 INFO kablam! Aug 30 00:15:21.331 INFO kablam! warning: constant `empty` should have an upper case name such as `EMPTY` Aug 30 00:15:21.331 INFO kablam! --> tests/struct.rs:5:1 Aug 30 00:15:21.331 INFO kablam! | Aug 30 00:15:21.331 INFO kablam! 5 | / pub const empty: &'static [u8] = b" Aug 30 00:15:21.331 INFO kablam! 6 | | namespace rust ping Aug 30 00:15:21.331 INFO kablam! 7 | | struct Ping {} Aug 30 00:15:21.331 INFO kablam! 8 | | "; Aug 30 00:15:21.331 INFO kablam! | |__^ Aug 30 00:15:21.331 INFO kablam! | Aug 30 00:15:21.331 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Aug 30 00:15:21.331 INFO kablam! Aug 30 00:15:21.332 INFO kablam! warning: constant `empty_gen` should have an upper case name such as `EMPTY_GEN` Aug 30 00:15:21.332 INFO kablam! --> tests/struct.rs:10:1 Aug 30 00:15:21.332 INFO kablam! | Aug 30 00:15:21.332 INFO kablam! 10 | / pub const empty_gen: &'static str = "pub struct Ping { Aug 30 00:15:21.332 INFO kablam! 11 | | } Aug 30 00:15:21.332 INFO kablam! 12 | | "; Aug 30 00:15:21.332 INFO kablam! | |__^ Aug 30 00:15:21.332 INFO kablam! Aug 30 00:15:21.332 INFO kablam! warning: constant `field` should have an upper case name such as `FIELD` Aug 30 00:15:21.332 INFO kablam! --> tests/struct.rs:14:1 Aug 30 00:15:21.332 INFO kablam! | Aug 30 00:15:21.332 INFO kablam! 14 | / pub const field: &'static [u8] = b" Aug 30 00:15:21.332 INFO kablam! 15 | | namespace rust ping Aug 30 00:15:21.332 INFO kablam! 16 | | struct Ping { Aug 30 00:15:21.333 INFO kablam! 17 | | 1: required string foobar; Aug 30 00:15:21.333 INFO kablam! 18 | | } Aug 30 00:15:21.333 INFO kablam! 19 | | "; Aug 30 00:15:21.333 INFO kablam! | |__^ Aug 30 00:15:21.333 INFO kablam! Aug 30 00:15:21.333 INFO kablam! warning: constant `ns` should have an upper case name such as `NS` Aug 30 00:15:21.333 INFO kablam! --> tests/namespace.rs:5:1 Aug 30 00:15:21.333 INFO kablam! | Aug 30 00:15:21.333 INFO kablam! 5 | pub const ns: &'static [u8] = b"namespace rust foobar\n"; Aug 30 00:15:21.333 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.333 INFO kablam! | Aug 30 00:15:21.333 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Aug 30 00:15:21.333 INFO kablam! Aug 30 00:15:21.333 INFO kablam! warning: constant `field_gen` should have an upper case name such as `FIELD_GEN` Aug 30 00:15:21.333 INFO kablam! --> tests/struct.rs:21:1 Aug 30 00:15:21.333 INFO kablam! | Aug 30 00:15:21.333 INFO kablam! 21 | / pub const field_gen: &'static str = "pub struct Ping { Aug 30 00:15:21.333 INFO kablam! 22 | | foobar: String, Aug 30 00:15:21.333 INFO kablam! 23 | | } Aug 30 00:15:21.333 INFO kablam! 24 | | "; Aug 30 00:15:21.333 INFO kablam! | |__^ Aug 30 00:15:21.333 INFO kablam! Aug 30 00:15:21.333 INFO kablam! warning: constant `ns_1` should have an upper case name such as `NS_1` Aug 30 00:15:21.334 INFO kablam! --> tests/namespace.rs:6:1 Aug 30 00:15:21.334 INFO kablam! | Aug 30 00:15:21.334 INFO kablam! 6 | / pub const ns_1: &'static [u8] = b" Aug 30 00:15:21.334 INFO kablam! 7 | | namespace rust foobar\n Aug 30 00:15:21.334 INFO kablam! 8 | | "; Aug 30 00:15:21.334 INFO kablam! | |__^ Aug 30 00:15:21.334 INFO kablam! Aug 30 00:15:21.334 INFO kablam! warning: constant `ns_2` should have an upper case name such as `NS_2` Aug 30 00:15:21.334 INFO kablam! --> tests/namespace.rs:9:1 Aug 30 00:15:21.334 INFO kablam! | Aug 30 00:15:21.334 INFO kablam! 9 | / pub const ns_2: &'static [u8] = b" Aug 30 00:15:21.334 INFO kablam! 10 | | namespace rust foobar\n Aug 30 00:15:21.334 INFO kablam! 11 | | "; Aug 30 00:15:21.335 INFO kablam! | |__^ Aug 30 00:15:21.335 INFO kablam! Aug 30 00:15:21.335 INFO kablam! warning: constant `empty` should have an upper case name such as `EMPTY` Aug 30 00:15:21.335 INFO kablam! --> tests/namespace.rs:12:1 Aug 30 00:15:21.335 INFO kablam! | Aug 30 00:15:21.335 INFO kablam! 12 | pub const empty: &'static [u8] = b""; Aug 30 00:15:21.335 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.335 INFO kablam! Aug 30 00:15:21.502 INFO kablam! warning: function is never used: `eof` Aug 30 00:15:21.502 INFO kablam! --> src/parser.rs:32:1 Aug 30 00:15:21.502 INFO kablam! | Aug 30 00:15:21.502 INFO kablam! 32 | fn eof(input:&[u8]) -> IResult<&[u8], &[u8]> { Aug 30 00:15:21.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.502 INFO kablam! Aug 30 00:15:21.502 INFO kablam! warning: function is never used: `namespace` Aug 30 00:15:21.502 INFO kablam! --> src/parser.rs:60:1 Aug 30 00:15:21.502 INFO kablam! | Aug 30 00:15:21.502 INFO kablam! 60 | pub fn namespace<'a>(input:&'a [u8]) -> IResult<&'a [u8], &'a [u8]> { Aug 30 00:15:21.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.503 INFO kablam! Aug 30 00:15:21.503 INFO kablam! warning: struct is never constructed: `Parser` Aug 30 00:15:21.503 INFO kablam! --> src/parser.rs:214:1 Aug 30 00:15:21.503 INFO kablam! | Aug 30 00:15:21.503 INFO kablam! 214 | pub struct Parser<'a> { Aug 30 00:15:21.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.503 INFO kablam! Aug 30 00:15:21.503 INFO kablam! warning: field is never used: `input` Aug 30 00:15:21.503 INFO kablam! --> src/generator.rs:10:5 Aug 30 00:15:21.503 INFO kablam! | Aug 30 00:15:21.503 INFO kablam! 10 | input: String, Aug 30 00:15:21.503 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 00:15:21.503 INFO kablam! Aug 30 00:15:21.503 INFO kablam! warning: field is never used: `output` Aug 30 00:15:21.503 INFO kablam! --> src/generator.rs:11:5 Aug 30 00:15:21.503 INFO kablam! | Aug 30 00:15:21.503 INFO kablam! 11 | output: Option Aug 30 00:15:21.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.503 INFO kablam! Aug 30 00:15:21.525 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 00:15:21.525 INFO kablam! --> src/generator.rs:23:9 Aug 30 00:15:21.525 INFO kablam! | Aug 30 00:15:21.525 INFO kablam! 23 | file.read_to_string(&mut input); Aug 30 00:15:21.525 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:21.525 INFO kablam! | Aug 30 00:15:21.525 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 00:15:21.525 INFO kablam! Aug 30 00:15:21.658 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 4.89s Aug 30 00:15:21.662 INFO kablam! su: No module specific data is present Aug 30 00:15:22.032 INFO running `"docker" "rm" "-f" "84adb54512268261144d4f5d004f5ecb2298f5a69fad2a8147a95bf29267fc02"` Aug 30 00:15:22.148 INFO blam! 84adb54512268261144d4f5d004f5ecb2298f5a69fad2a8147a95bf29267fc02