Aug 30 00:15:16.029 INFO checking thrust-0.1.0 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 00:15:16.029 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 00:15:16.030 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-3/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-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.255 INFO blam! 5d0f76128123f6124363e517cbb30dca0eb338d63e5e66ec35ad2af61ca476cf Aug 30 00:15:16.256 INFO running `"docker" "start" "-a" "5d0f76128123f6124363e517cbb30dca0eb338d63e5e66ec35ad2af61ca476cf"` Aug 30 00:15:16.977 INFO kablam! Checking thrust v0.1.0 (file:///source) Aug 30 00:15:17.372 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:17.372 INFO kablam! --> src/lib.rs:6:5 Aug 30 00:15:17.372 INFO kablam! | Aug 30 00:15:17.372 INFO kablam! 6 | use std::str; Aug 30 00:15:17.372 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.372 INFO kablam! | Aug 30 00:15:17.372 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 00:15:17.372 INFO kablam! Aug 30 00:15:17.372 INFO kablam! warning: unused import: `be_u8` Aug 30 00:15:17.372 INFO kablam! --> src/parser.rs:1:99 Aug 30 00:15:17.372 INFO kablam! | Aug 30 00:15:17.372 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:17.372 INFO kablam! | ^^^^^ Aug 30 00:15:17.372 INFO kablam! Aug 30 00:15:17.372 INFO kablam! warning: unused import: `std::convert::From` Aug 30 00:15:17.372 INFO kablam! --> src/parser.rs:4:5 Aug 30 00:15:17.372 INFO kablam! | Aug 30 00:15:17.372 INFO kablam! 4 | use std::convert::From; Aug 30 00:15:17.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 00:15:17.373 INFO kablam! Aug 30 00:15:17.373 INFO kablam! warning: unused imports: `Index`, `RangeFrom`, `Range` Aug 30 00:15:17.373 INFO kablam! --> src/parser.rs:5:16 Aug 30 00:15:17.373 INFO kablam! | Aug 30 00:15:17.373 INFO kablam! 5 | use std::ops::{Index,Range,RangeFrom}; Aug 30 00:15:17.373 INFO kablam! | ^^^^^ ^^^^^ ^^^^^^^^^ Aug 30 00:15:17.373 INFO kablam! Aug 30 00:15:17.376 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:17.376 INFO kablam! --> src/parser.rs:220:9 Aug 30 00:15:17.376 INFO kablam! | Aug 30 00:15:17.376 INFO kablam! 220 | use std::str; Aug 30 00:15:17.376 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.376 INFO kablam! Aug 30 00:15:17.376 INFO kablam! warning: unused import: `nom::IResult::*` Aug 30 00:15:17.376 INFO kablam! --> src/parser.rs:221:9 Aug 30 00:15:17.376 INFO kablam! | Aug 30 00:15:17.376 INFO kablam! 221 | use nom::IResult::*; Aug 30 00:15:17.376 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:17.376 INFO kablam! Aug 30 00:15:17.376 INFO kablam! warning: unused import: `Ast` Aug 30 00:15:17.376 INFO kablam! --> src/parser.rs:223:120 Aug 30 00:15:17.376 INFO kablam! | Aug 30 00:15:17.376 INFO kablam! 223 | use ast::{IdentNode, StructNode, FunctionNode, ServiceNode, NamespaceNode, StructFieldNode, FieldMetadataNode, Ty, Ast}; Aug 30 00:15:17.376 INFO kablam! | ^^^ Aug 30 00:15:17.376 INFO kablam! Aug 30 00:15:17.378 INFO kablam! warning: unused import: `Read` Aug 30 00:15:17.378 INFO kablam! --> src/ast.rs:1:15 Aug 30 00:15:17.378 INFO kablam! | Aug 30 00:15:17.378 INFO kablam! 1 | use std::io::{Read, Write}; Aug 30 00:15:17.378 INFO kablam! | ^^^^ Aug 30 00:15:17.378 INFO kablam! Aug 30 00:15:17.379 INFO kablam! warning: unused import: `parser::*` Aug 30 00:15:17.379 INFO kablam! --> src/ast.rs:276:9 Aug 30 00:15:17.379 INFO kablam! | Aug 30 00:15:17.379 INFO kablam! 276 | use parser::*; Aug 30 00:15:17.379 INFO kablam! | ^^^^^^^^^ Aug 30 00:15:17.379 INFO kablam! Aug 30 00:15:17.380 INFO kablam! warning: unused import: `std::path::Path` Aug 30 00:15:17.380 INFO kablam! --> src/generator.rs:2:5 Aug 30 00:15:17.380 INFO kablam! | Aug 30 00:15:17.380 INFO kablam! 2 | use std::path::Path; Aug 30 00:15:17.380 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:17.380 INFO kablam! Aug 30 00:15:17.380 INFO kablam! warning: unused imports: `Result`, `Write` Aug 30 00:15:17.380 INFO kablam! --> src/generator.rs:3:15 Aug 30 00:15:17.380 INFO kablam! | Aug 30 00:15:17.380 INFO kablam! 3 | use std::io::{Result, Read, Write}; Aug 30 00:15:17.380 INFO kablam! | ^^^^^^ ^^^^^ Aug 30 00:15:17.380 INFO kablam! Aug 30 00:15:17.380 INFO kablam! warning: unused import: `ast::Ast` Aug 30 00:15:17.380 INFO kablam! --> src/generator.rs:5:5 Aug 30 00:15:17.380 INFO kablam! | Aug 30 00:15:17.381 INFO kablam! 5 | use ast::Ast; Aug 30 00:15:17.381 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.381 INFO kablam! Aug 30 00:15:17.386 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:17.386 INFO kablam! --> src/lib.rs:6:5 Aug 30 00:15:17.386 INFO kablam! | Aug 30 00:15:17.386 INFO kablam! 6 | use std::str; Aug 30 00:15:17.386 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.386 INFO kablam! | Aug 30 00:15:17.386 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 00:15:17.386 INFO kablam! Aug 30 00:15:17.387 INFO kablam! warning: unused import: `be_u8` Aug 30 00:15:17.387 INFO kablam! --> src/parser.rs:1:99 Aug 30 00:15:17.387 INFO kablam! | Aug 30 00:15:17.387 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:17.387 INFO kablam! | ^^^^^ Aug 30 00:15:17.387 INFO kablam! Aug 30 00:15:17.387 INFO kablam! warning: unused import: `std::convert::From` Aug 30 00:15:17.387 INFO kablam! --> src/parser.rs:4:5 Aug 30 00:15:17.387 INFO kablam! | Aug 30 00:15:17.387 INFO kablam! 4 | use std::convert::From; Aug 30 00:15:17.387 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 00:15:17.387 INFO kablam! Aug 30 00:15:17.387 INFO kablam! warning: unused imports: `Index`, `RangeFrom`, `Range` Aug 30 00:15:17.387 INFO kablam! --> src/parser.rs:5:16 Aug 30 00:15:17.387 INFO kablam! | Aug 30 00:15:17.387 INFO kablam! 5 | use std::ops::{Index,Range,RangeFrom}; Aug 30 00:15:17.387 INFO kablam! | ^^^^^ ^^^^^ ^^^^^^^^^ Aug 30 00:15:17.387 INFO kablam! Aug 30 00:15:17.390 INFO kablam! warning: unused import: `super::*` Aug 30 00:15:17.390 INFO kablam! --> src/parser.rs:219:9 Aug 30 00:15:17.390 INFO kablam! | Aug 30 00:15:17.390 INFO kablam! 219 | use super::*; Aug 30 00:15:17.390 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.391 INFO kablam! Aug 30 00:15:17.391 INFO kablam! warning: unused import: `std::str` Aug 30 00:15:17.391 INFO kablam! --> src/parser.rs:220:9 Aug 30 00:15:17.391 INFO kablam! | Aug 30 00:15:17.391 INFO kablam! 220 | use std::str; Aug 30 00:15:17.391 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.391 INFO kablam! Aug 30 00:15:17.391 INFO kablam! warning: unused import: `nom::IResult::*` Aug 30 00:15:17.391 INFO kablam! --> src/parser.rs:221:9 Aug 30 00:15:17.391 INFO kablam! | Aug 30 00:15:17.391 INFO kablam! 221 | use nom::IResult::*; Aug 30 00:15:17.391 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:17.391 INFO kablam! Aug 30 00:15:17.391 INFO kablam! warning: unused imports: `Ast`, `FieldMetadataNode`, `FunctionNode`, `IdentNode`, `NamespaceNode`, `ServiceNode`, `StructFieldNode`, `StructNode`, `Ty` Aug 30 00:15:17.391 INFO kablam! --> src/parser.rs:223:15 Aug 30 00:15:17.391 INFO kablam! | Aug 30 00:15:17.391 INFO kablam! 223 | use ast::{IdentNode, StructNode, FunctionNode, ServiceNode, NamespaceNode, StructFieldNode, FieldMetadataNode, Ty, Ast}; Aug 30 00:15:17.391 INFO kablam! | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^ ^^^ Aug 30 00:15:17.391 INFO kablam! Aug 30 00:15:17.391 INFO kablam! warning: unused import: `Read` Aug 30 00:15:17.391 INFO kablam! --> src/ast.rs:1:15 Aug 30 00:15:17.392 INFO kablam! | Aug 30 00:15:17.392 INFO kablam! 1 | use std::io::{Read, Write}; Aug 30 00:15:17.392 INFO kablam! | ^^^^ Aug 30 00:15:17.392 INFO kablam! Aug 30 00:15:17.392 INFO kablam! warning: unused import: `std::path::Path` Aug 30 00:15:17.392 INFO kablam! --> src/generator.rs:2:5 Aug 30 00:15:17.392 INFO kablam! | Aug 30 00:15:17.392 INFO kablam! 2 | use std::path::Path; Aug 30 00:15:17.392 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 00:15:17.392 INFO kablam! Aug 30 00:15:17.392 INFO kablam! warning: unused imports: `Result`, `Write` Aug 30 00:15:17.392 INFO kablam! --> src/generator.rs:3:15 Aug 30 00:15:17.392 INFO kablam! | Aug 30 00:15:17.392 INFO kablam! 3 | use std::io::{Result, Read, Write}; Aug 30 00:15:17.392 INFO kablam! | ^^^^^^ ^^^^^ Aug 30 00:15:17.392 INFO kablam! Aug 30 00:15:17.392 INFO kablam! warning: unused import: `ast::Ast` Aug 30 00:15:17.392 INFO kablam! --> src/generator.rs:5:5 Aug 30 00:15:17.392 INFO kablam! | Aug 30 00:15:17.392 INFO kablam! 5 | use ast::Ast; Aug 30 00:15:17.392 INFO kablam! | ^^^^^^^^ Aug 30 00:15:17.393 INFO kablam! Aug 30 00:15:18.053 INFO kablam! warning: unused variable: `w` Aug 30 00:15:18.053 INFO kablam! --> src/ast.rs:4:19 Aug 30 00:15:18.053 INFO kablam! | Aug 30 00:15:18.053 INFO kablam! 4 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:18.053 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:18.053 INFO kablam! | Aug 30 00:15:18.053 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:18.053 INFO kablam! Aug 30 00:15:18.053 INFO kablam! warning: unused variable: `w` Aug 30 00:15:18.053 INFO kablam! --> src/ast.rs:195:19 Aug 30 00:15:18.053 INFO kablam! | Aug 30 00:15:18.053 INFO kablam! 195 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:18.053 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:18.053 INFO kablam! Aug 30 00:15:18.053 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.053 INFO kablam! --> src/generator.rs:18:17 Aug 30 00:15:18.053 INFO kablam! | Aug 30 00:15:18.053 INFO kablam! 18 | Err(err) => return "Error opening the input .thrift file." Aug 30 00:15:18.053 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.053 INFO kablam! Aug 30 00:15:18.053 INFO kablam! warning: unused variable: `i` Aug 30 00:15:18.053 INFO kablam! --> src/generator.rs:26:27 Aug 30 00:15:18.054 INFO kablam! | Aug 30 00:15:18.054 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:18.054 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:18.054 INFO kablam! Aug 30 00:15:18.054 INFO kablam! warning: unused variable: `o` Aug 30 00:15:18.054 INFO kablam! --> src/generator.rs:26:30 Aug 30 00:15:18.054 INFO kablam! | Aug 30 00:15:18.054 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:18.054 INFO kablam! | ^ help: consider using `_o` instead Aug 30 00:15:18.054 INFO kablam! Aug 30 00:15:18.054 INFO kablam! warning: unused variable: `output` Aug 30 00:15:18.054 INFO kablam! --> src/generator.rs:15:28 Aug 30 00:15:18.054 INFO kablam! | Aug 30 00:15:18.054 INFO kablam! 15 | pub fn run(path: &str, output: &str) -> &'static str { Aug 30 00:15:18.054 INFO kablam! | ^^^^^^ help: consider using `_output` instead Aug 30 00:15:18.054 INFO kablam! Aug 30 00:15:18.054 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.054 INFO kablam! --> src/lib.rs:26:13 Aug 30 00:15:18.054 INFO kablam! | Aug 30 00:15:18.054 INFO kablam! 26 | fn from(err: string::FromUtf8Error) -> ThriftCompilerError { Aug 30 00:15:18.054 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.054 INFO kablam! Aug 30 00:15:18.055 INFO kablam! warning: unused variable: `i` Aug 30 00:15:18.055 INFO kablam! --> src/lib.rs:40:27 Aug 30 00:15:18.055 INFO kablam! | Aug 30 00:15:18.055 INFO kablam! 40 | IResult::Done(i, nodes) => { Aug 30 00:15:18.055 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:18.055 INFO kablam! Aug 30 00:15:18.055 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.055 INFO kablam! --> src/lib.rs:62:28 Aug 30 00:15:18.055 INFO kablam! | Aug 30 00:15:18.055 INFO kablam! 62 | IResult::Error(err) => { Aug 30 00:15:18.055 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.055 INFO kablam! Aug 30 00:15:18.241 INFO kablam! warning: function is never used: `eof` Aug 30 00:15:18.242 INFO kablam! --> src/parser.rs:32:1 Aug 30 00:15:18.243 INFO kablam! | Aug 30 00:15:18.243 INFO kablam! 32 | fn eof(input:&[u8]) -> IResult<&[u8], &[u8]> { Aug 30 00:15:18.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.243 INFO kablam! Aug 30 00:15:18.243 INFO kablam! warning: function is never used: `namespace` Aug 30 00:15:18.243 INFO kablam! --> src/parser.rs:60:1 Aug 30 00:15:18.243 INFO kablam! | Aug 30 00:15:18.243 INFO kablam! 60 | pub fn namespace<'a>(input:&'a [u8]) -> IResult<&'a [u8], &'a [u8]> { Aug 30 00:15:18.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.243 INFO kablam! Aug 30 00:15:18.243 INFO kablam! warning: struct is never constructed: `Parser` Aug 30 00:15:18.243 INFO kablam! --> src/parser.rs:214:1 Aug 30 00:15:18.243 INFO kablam! | Aug 30 00:15:18.243 INFO kablam! 214 | pub struct Parser<'a> { Aug 30 00:15:18.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.243 INFO kablam! Aug 30 00:15:18.243 INFO kablam! warning: method is never used: `new` Aug 30 00:15:18.243 INFO kablam! --> src/ast.rs:127:5 Aug 30 00:15:18.243 INFO kablam! | Aug 30 00:15:18.243 INFO kablam! 127 | pub fn new(name: IdentNode) -> ServiceNode { Aug 30 00:15:18.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.244 INFO kablam! Aug 30 00:15:18.244 INFO kablam! warning: field is never used: `input` Aug 30 00:15:18.244 INFO kablam! --> src/generator.rs:10:5 Aug 30 00:15:18.244 INFO kablam! | Aug 30 00:15:18.244 INFO kablam! 10 | input: String, Aug 30 00:15:18.244 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 00:15:18.244 INFO kablam! Aug 30 00:15:18.244 INFO kablam! warning: field is never used: `output` Aug 30 00:15:18.244 INFO kablam! --> src/generator.rs:11:5 Aug 30 00:15:18.244 INFO kablam! | Aug 30 00:15:18.244 INFO kablam! 11 | output: Option Aug 30 00:15:18.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.244 INFO kablam! Aug 30 00:15:18.254 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 00:15:18.254 INFO kablam! --> src/generator.rs:23:9 Aug 30 00:15:18.254 INFO kablam! | Aug 30 00:15:18.254 INFO kablam! 23 | file.read_to_string(&mut input); Aug 30 00:15:18.254 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.254 INFO kablam! | Aug 30 00:15:18.254 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 00:15:18.254 INFO kablam! Aug 30 00:15:18.283 INFO kablam! warning: unused variable: `w` Aug 30 00:15:18.283 INFO kablam! --> src/ast.rs:4:19 Aug 30 00:15:18.283 INFO kablam! | Aug 30 00:15:18.283 INFO kablam! 4 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:18.283 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:18.283 INFO kablam! | Aug 30 00:15:18.283 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:18.283 INFO kablam! Aug 30 00:15:18.283 INFO kablam! warning: unused variable: `w` Aug 30 00:15:18.283 INFO kablam! --> src/ast.rs:195:19 Aug 30 00:15:18.283 INFO kablam! | Aug 30 00:15:18.284 INFO kablam! 195 | fn gen(&self, w: &mut Write) {} Aug 30 00:15:18.284 INFO kablam! | ^ help: consider using `_w` instead Aug 30 00:15:18.284 INFO kablam! Aug 30 00:15:18.284 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.284 INFO kablam! --> src/generator.rs:18:17 Aug 30 00:15:18.284 INFO kablam! | Aug 30 00:15:18.284 INFO kablam! 18 | Err(err) => return "Error opening the input .thrift file." Aug 30 00:15:18.284 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.284 INFO kablam! Aug 30 00:15:18.284 INFO kablam! warning: unused variable: `i` Aug 30 00:15:18.284 INFO kablam! --> src/generator.rs:26:27 Aug 30 00:15:18.284 INFO kablam! | Aug 30 00:15:18.284 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:18.284 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:18.284 INFO kablam! Aug 30 00:15:18.284 INFO kablam! warning: unused variable: `o` Aug 30 00:15:18.284 INFO kablam! --> src/generator.rs:26:30 Aug 30 00:15:18.284 INFO kablam! | Aug 30 00:15:18.284 INFO kablam! 26 | IResult::Done(i, o) => println!("Done parsing."), Aug 30 00:15:18.284 INFO kablam! | ^ help: consider using `_o` instead Aug 30 00:15:18.284 INFO kablam! Aug 30 00:15:18.285 INFO kablam! warning: unused variable: `output` Aug 30 00:15:18.285 INFO kablam! --> src/generator.rs:15:28 Aug 30 00:15:18.285 INFO kablam! | Aug 30 00:15:18.285 INFO kablam! 15 | pub fn run(path: &str, output: &str) -> &'static str { Aug 30 00:15:18.285 INFO kablam! | ^^^^^^ help: consider using `_output` instead Aug 30 00:15:18.285 INFO kablam! Aug 30 00:15:18.285 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.285 INFO kablam! --> src/lib.rs:26:13 Aug 30 00:15:18.285 INFO kablam! | Aug 30 00:15:18.285 INFO kablam! 26 | fn from(err: string::FromUtf8Error) -> ThriftCompilerError { Aug 30 00:15:18.285 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.285 INFO kablam! Aug 30 00:15:18.285 INFO kablam! warning: unused variable: `i` Aug 30 00:15:18.285 INFO kablam! --> src/lib.rs:40:27 Aug 30 00:15:18.285 INFO kablam! | Aug 30 00:15:18.285 INFO kablam! 40 | IResult::Done(i, nodes) => { Aug 30 00:15:18.285 INFO kablam! | ^ help: consider using `_i` instead Aug 30 00:15:18.285 INFO kablam! Aug 30 00:15:18.286 INFO kablam! warning: unused variable: `err` Aug 30 00:15:18.286 INFO kablam! --> src/lib.rs:62:28 Aug 30 00:15:18.286 INFO kablam! | Aug 30 00:15:18.286 INFO kablam! 62 | IResult::Error(err) => { Aug 30 00:15:18.286 INFO kablam! | ^^^ help: consider using `_err` instead Aug 30 00:15:18.286 INFO kablam! Aug 30 00:15:18.497 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.497 INFO kablam! --> src/ast.rs:282:13 Aug 30 00:15:18.497 INFO kablam! | Aug 30 00:15:18.497 INFO kablam! 282 | let mut s = Ty::String; Aug 30 00:15:18.497 INFO kablam! | ----^ Aug 30 00:15:18.497 INFO kablam! | | Aug 30 00:15:18.497 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.497 INFO kablam! | Aug 30 00:15:18.497 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 00:15:18.497 INFO kablam! Aug 30 00:15:18.499 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.499 INFO kablam! --> src/ast.rs:290:13 Aug 30 00:15:18.499 INFO kablam! | Aug 30 00:15:18.499 INFO kablam! 290 | let mut s = Ty::Void; Aug 30 00:15:18.499 INFO kablam! | ----^ Aug 30 00:15:18.499 INFO kablam! | | Aug 30 00:15:18.499 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.499 INFO kablam! Aug 30 00:15:18.501 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.501 INFO kablam! --> src/ast.rs:298:13 Aug 30 00:15:18.501 INFO kablam! | Aug 30 00:15:18.501 INFO kablam! 298 | let mut s = Ty::Bool; Aug 30 00:15:18.501 INFO kablam! | ----^ Aug 30 00:15:18.501 INFO kablam! | | Aug 30 00:15:18.501 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.501 INFO kablam! Aug 30 00:15:18.503 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.503 INFO kablam! --> src/ast.rs:306:13 Aug 30 00:15:18.503 INFO kablam! | Aug 30 00:15:18.503 INFO kablam! 306 | let mut s = Ty::Signed16; Aug 30 00:15:18.503 INFO kablam! | ----^ Aug 30 00:15:18.503 INFO kablam! | | Aug 30 00:15:18.503 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.503 INFO kablam! Aug 30 00:15:18.505 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.505 INFO kablam! --> src/ast.rs:314:13 Aug 30 00:15:18.505 INFO kablam! | Aug 30 00:15:18.505 INFO kablam! 314 | let mut s = Ty::Signed32; Aug 30 00:15:18.505 INFO kablam! | ----^ Aug 30 00:15:18.505 INFO kablam! | | Aug 30 00:15:18.505 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.505 INFO kablam! Aug 30 00:15:18.507 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.507 INFO kablam! --> src/ast.rs:322:13 Aug 30 00:15:18.507 INFO kablam! | Aug 30 00:15:18.507 INFO kablam! 322 | let mut s = Ty::Signed64; Aug 30 00:15:18.507 INFO kablam! | ----^ Aug 30 00:15:18.507 INFO kablam! | | Aug 30 00:15:18.507 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.507 INFO kablam! Aug 30 00:15:18.509 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.509 INFO kablam! --> src/ast.rs:330:13 Aug 30 00:15:18.509 INFO kablam! | Aug 30 00:15:18.509 INFO kablam! 330 | let mut s = Ty::Byte; Aug 30 00:15:18.509 INFO kablam! | ----^ Aug 30 00:15:18.509 INFO kablam! | | Aug 30 00:15:18.509 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.509 INFO kablam! Aug 30 00:15:18.511 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.511 INFO kablam! --> src/ast.rs:338:13 Aug 30 00:15:18.511 INFO kablam! | Aug 30 00:15:18.511 INFO kablam! 338 | let mut s = Ty::Binary; Aug 30 00:15:18.511 INFO kablam! | ----^ Aug 30 00:15:18.511 INFO kablam! | | Aug 30 00:15:18.511 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.511 INFO kablam! Aug 30 00:15:18.514 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.514 INFO kablam! --> src/ast.rs:346:13 Aug 30 00:15:18.514 INFO kablam! | Aug 30 00:15:18.514 INFO kablam! 346 | let mut s = Ty::List(Box::new(Ty::String)); Aug 30 00:15:18.514 INFO kablam! | ----^ Aug 30 00:15:18.514 INFO kablam! | | Aug 30 00:15:18.514 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.514 INFO kablam! Aug 30 00:15:18.516 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.516 INFO kablam! --> src/ast.rs:354:13 Aug 30 00:15:18.516 INFO kablam! | Aug 30 00:15:18.517 INFO kablam! 354 | let mut s = Ty::Map(Box::new(Ty::String), Box::new(Ty::String)); Aug 30 00:15:18.517 INFO kablam! | ----^ Aug 30 00:15:18.517 INFO kablam! | | Aug 30 00:15:18.517 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.517 INFO kablam! Aug 30 00:15:18.519 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.519 INFO kablam! --> src/ast.rs:362:13 Aug 30 00:15:18.519 INFO kablam! | Aug 30 00:15:18.519 INFO kablam! 362 | let mut s = StructFieldNode { Aug 30 00:15:18.519 INFO kablam! | ----^ Aug 30 00:15:18.519 INFO kablam! | | Aug 30 00:15:18.519 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.520 INFO kablam! Aug 30 00:15:18.522 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.522 INFO kablam! --> src/ast.rs:375:13 Aug 30 00:15:18.522 INFO kablam! | Aug 30 00:15:18.522 INFO kablam! 375 | let mut s = StructFieldNode { Aug 30 00:15:18.522 INFO kablam! | ----^ Aug 30 00:15:18.522 INFO kablam! | | Aug 30 00:15:18.522 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.522 INFO kablam! Aug 30 00:15:18.525 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.525 INFO kablam! --> src/ast.rs:388:13 Aug 30 00:15:18.526 INFO kablam! | Aug 30 00:15:18.526 INFO kablam! 388 | let mut field = StructFieldNode { Aug 30 00:15:18.526 INFO kablam! | ----^^^^^ Aug 30 00:15:18.526 INFO kablam! | | Aug 30 00:15:18.526 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.526 INFO kablam! Aug 30 00:15:18.526 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.526 INFO kablam! --> src/ast.rs:394:13 Aug 30 00:15:18.526 INFO kablam! | Aug 30 00:15:18.526 INFO kablam! 394 | let mut s = StructNode { Aug 30 00:15:18.526 INFO kablam! | ----^ Aug 30 00:15:18.526 INFO kablam! | | Aug 30 00:15:18.526 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.526 INFO kablam! Aug 30 00:15:18.530 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.530 INFO kablam! --> src/ast.rs:407:13 Aug 30 00:15:18.530 INFO kablam! | Aug 30 00:15:18.530 INFO kablam! 407 | let mut field1 = StructFieldNode { Aug 30 00:15:18.530 INFO kablam! | ----^^^^^^ Aug 30 00:15:18.530 INFO kablam! | | Aug 30 00:15:18.530 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.530 INFO kablam! Aug 30 00:15:18.530 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.530 INFO kablam! --> src/ast.rs:414:13 Aug 30 00:15:18.530 INFO kablam! | Aug 30 00:15:18.530 INFO kablam! 414 | let mut field2 = StructFieldNode { Aug 30 00:15:18.530 INFO kablam! | ----^^^^^^ Aug 30 00:15:18.530 INFO kablam! | | Aug 30 00:15:18.530 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.530 INFO kablam! Aug 30 00:15:18.531 INFO kablam! warning: variable does not need to be mutable Aug 30 00:15:18.531 INFO kablam! --> src/ast.rs:421:13 Aug 30 00:15:18.531 INFO kablam! | Aug 30 00:15:18.531 INFO kablam! 421 | let mut s = StructNode { Aug 30 00:15:18.531 INFO kablam! | ----^ Aug 30 00:15:18.531 INFO kablam! | | Aug 30 00:15:18.531 INFO kablam! | help: remove this `mut` Aug 30 00:15:18.531 INFO kablam! Aug 30 00:15:18.746 INFO kablam! warning: function is never used: `eof` Aug 30 00:15:18.746 INFO kablam! --> src/parser.rs:32:1 Aug 30 00:15:18.746 INFO kablam! | Aug 30 00:15:18.746 INFO kablam! 32 | fn eof(input:&[u8]) -> IResult<&[u8], &[u8]> { Aug 30 00:15:18.746 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.747 INFO kablam! Aug 30 00:15:18.747 INFO kablam! warning: function is never used: `namespace` Aug 30 00:15:18.747 INFO kablam! --> src/parser.rs:60:1 Aug 30 00:15:18.747 INFO kablam! | Aug 30 00:15:18.747 INFO kablam! 60 | pub fn namespace<'a>(input:&'a [u8]) -> IResult<&'a [u8], &'a [u8]> { Aug 30 00:15:18.747 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.748 INFO kablam! Aug 30 00:15:18.748 INFO kablam! warning: struct is never constructed: `Parser` Aug 30 00:15:18.748 INFO kablam! --> src/parser.rs:214:1 Aug 30 00:15:18.748 INFO kablam! | Aug 30 00:15:18.748 INFO kablam! 214 | pub struct Parser<'a> { Aug 30 00:15:18.749 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.749 INFO kablam! Aug 30 00:15:18.750 INFO kablam! warning: field is never used: `input` Aug 30 00:15:18.750 INFO kablam! --> src/generator.rs:10:5 Aug 30 00:15:18.750 INFO kablam! | Aug 30 00:15:18.750 INFO kablam! 10 | input: String, Aug 30 00:15:18.750 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 00:15:18.751 INFO kablam! Aug 30 00:15:18.751 INFO kablam! warning: field is never used: `output` Aug 30 00:15:18.751 INFO kablam! --> src/generator.rs:11:5 Aug 30 00:15:18.752 INFO kablam! | Aug 30 00:15:18.752 INFO kablam! 11 | output: Option Aug 30 00:15:18.752 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.753 INFO kablam! Aug 30 00:15:18.829 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 00:15:18.829 INFO kablam! --> src/generator.rs:23:9 Aug 30 00:15:18.829 INFO kablam! | Aug 30 00:15:18.829 INFO kablam! 23 | file.read_to_string(&mut input); Aug 30 00:15:18.829 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.829 INFO kablam! | Aug 30 00:15:18.830 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 00:15:18.830 INFO kablam! Aug 30 00:15:18.893 INFO kablam! warning: unused variable: `r` Aug 30 00:15:18.893 INFO kablam! --> tests/namespace.rs:17:9 Aug 30 00:15:18.893 INFO kablam! | Aug 30 00:15:18.893 INFO kablam! 17 | let r = ThriftCompiler::run(empty).unwrap(); Aug 30 00:15:18.893 INFO kablam! | ^ help: consider using `_r` instead Aug 30 00:15:18.893 INFO kablam! | Aug 30 00:15:18.893 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 00:15:18.893 INFO kablam! Aug 30 00:15:18.939 INFO kablam! warning: constant `ns` should have an upper case name such as `NS` Aug 30 00:15:18.939 INFO kablam! --> tests/namespace.rs:5:1 Aug 30 00:15:18.939 INFO kablam! | Aug 30 00:15:18.939 INFO kablam! 5 | pub const ns: &'static [u8] = b"namespace rust foobar\n"; Aug 30 00:15:18.939 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.939 INFO kablam! | Aug 30 00:15:18.939 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Aug 30 00:15:18.939 INFO kablam! Aug 30 00:15:18.939 INFO kablam! warning: constant `ns_1` should have an upper case name such as `NS_1` Aug 30 00:15:18.939 INFO kablam! --> tests/namespace.rs:6:1 Aug 30 00:15:18.939 INFO kablam! | Aug 30 00:15:18.939 INFO kablam! 6 | / pub const ns_1: &'static [u8] = b" Aug 30 00:15:18.939 INFO kablam! 7 | | namespace rust foobar\n Aug 30 00:15:18.939 INFO kablam! 8 | | "; Aug 30 00:15:18.939 INFO kablam! | |__^ Aug 30 00:15:18.940 INFO kablam! Aug 30 00:15:18.940 INFO kablam! warning: constant `ns_2` should have an upper case name such as `NS_2` Aug 30 00:15:18.940 INFO kablam! --> tests/namespace.rs:9:1 Aug 30 00:15:18.940 INFO kablam! | Aug 30 00:15:18.940 INFO kablam! 9 | / pub const ns_2: &'static [u8] = b" Aug 30 00:15:18.940 INFO kablam! 10 | | namespace rust foobar\n Aug 30 00:15:18.940 INFO kablam! 11 | | "; Aug 30 00:15:18.940 INFO kablam! | |__^ Aug 30 00:15:18.948 INFO kablam! Aug 30 00:15:18.949 INFO kablam! warning: constant `empty` should have an upper case name such as `EMPTY` Aug 30 00:15:18.949 INFO kablam! --> tests/namespace.rs:12:1 Aug 30 00:15:18.949 INFO kablam! | Aug 30 00:15:18.949 INFO kablam! 12 | pub const empty: &'static [u8] = b""; Aug 30 00:15:18.949 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 00:15:18.949 INFO kablam! Aug 30 00:15:18.966 INFO kablam! warning: constant `empty` should have an upper case name such as `EMPTY` Aug 30 00:15:18.966 INFO kablam! --> tests/struct.rs:5:1 Aug 30 00:15:18.966 INFO kablam! | Aug 30 00:15:18.966 INFO kablam! 5 | / pub const empty: &'static [u8] = b" Aug 30 00:15:18.966 INFO kablam! 6 | | namespace rust ping Aug 30 00:15:18.966 INFO kablam! 7 | | struct Ping {} Aug 30 00:15:18.966 INFO kablam! 8 | | "; Aug 30 00:15:18.967 INFO kablam! | |__^ Aug 30 00:15:18.970 INFO kablam! | Aug 30 00:15:18.971 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Aug 30 00:15:18.971 INFO kablam! Aug 30 00:15:18.972 INFO kablam! warning: constant `empty_gen` should have an upper case name such as `EMPTY_GEN` Aug 30 00:15:18.972 INFO kablam! --> tests/struct.rs:10:1 Aug 30 00:15:18.972 INFO kablam! | Aug 30 00:15:18.972 INFO kablam! 10 | / pub const empty_gen: &'static str = "pub struct Ping { Aug 30 00:15:18.972 INFO kablam! 11 | | } Aug 30 00:15:18.972 INFO kablam! 12 | | "; Aug 30 00:15:18.972 INFO kablam! | |__^ Aug 30 00:15:18.972 INFO kablam! Aug 30 00:15:18.973 INFO kablam! warning: constant `field` should have an upper case name such as `FIELD` Aug 30 00:15:18.973 INFO kablam! --> tests/struct.rs:14:1 Aug 30 00:15:18.973 INFO kablam! | Aug 30 00:15:18.973 INFO kablam! 14 | / pub const field: &'static [u8] = b" Aug 30 00:15:18.973 INFO kablam! 15 | | namespace rust ping Aug 30 00:15:18.973 INFO kablam! 16 | | struct Ping { Aug 30 00:15:18.973 INFO kablam! 17 | | 1: required string foobar; Aug 30 00:15:18.973 INFO kablam! 18 | | } Aug 30 00:15:18.973 INFO kablam! 19 | | "; Aug 30 00:15:18.973 INFO kablam! | |__^ Aug 30 00:15:18.973 INFO kablam! Aug 30 00:15:18.973 INFO kablam! warning: constant `field_gen` should have an upper case name such as `FIELD_GEN` Aug 30 00:15:18.973 INFO kablam! --> tests/struct.rs:21:1 Aug 30 00:15:18.973 INFO kablam! | Aug 30 00:15:18.973 INFO kablam! 21 | / pub const field_gen: &'static str = "pub struct Ping { Aug 30 00:15:18.974 INFO kablam! 22 | | foobar: String, Aug 30 00:15:18.974 INFO kablam! 23 | | } Aug 30 00:15:18.974 INFO kablam! 24 | | "; Aug 30 00:15:18.974 INFO kablam! | |__^ Aug 30 00:15:18.974 INFO kablam! Aug 30 00:15:19.411 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.47s Aug 30 00:15:19.419 INFO kablam! su: No module specific data is present Aug 30 00:15:19.890 INFO running `"docker" "rm" "-f" "5d0f76128123f6124363e517cbb30dca0eb338d63e5e66ec35ad2af61ca476cf"` Aug 30 00:15:20.078 INFO blam! 5d0f76128123f6124363e517cbb30dca0eb338d63e5e66ec35ad2af61ca476cf