Aug 30 10:05:05.395 INFO checking mysqlbinlog-0.1.5 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 10:05:05.395 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 10:05:05.395 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/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 10:05:05.589 INFO blam! 30a0d8cafaf50cf5cd93a9568b1afac4784f2c9f0aa19fa728afe3b7f1180e31 Aug 30 10:05:05.591 INFO running `"docker" "start" "-a" "30a0d8cafaf50cf5cd93a9568b1afac4784f2c9f0aa19fa728afe3b7f1180e31"` Aug 30 10:05:06.259 INFO kablam! Checking mysqlbinlog v0.1.5 (file:///source) Aug 30 10:05:07.643 INFO kablam! warning: unused import: `rowevents::value_type` Aug 30 10:05:07.643 INFO kablam! --> src/rowevents/parser.rs:5:5 Aug 30 10:05:07.643 INFO kablam! | Aug 30 10:05:07.643 INFO kablam! 5 | use rowevents::value_type; Aug 30 10:05:07.643 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.643 INFO kablam! | Aug 30 10:05:07.643 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 10:05:07.643 INFO kablam! Aug 30 10:05:07.644 INFO kablam! warning: unused import: `std::option::Option` Aug 30 10:05:07.644 INFO kablam! --> src/rowevents/parser.rs:11:5 Aug 30 10:05:07.644 INFO kablam! | Aug 30 10:05:07.644 INFO kablam! 11 | use std::option::Option; Aug 30 10:05:07.644 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.644 INFO kablam! Aug 30 10:05:07.645 INFO kablam! warning: unused import: `std::str` Aug 30 10:05:07.645 INFO kablam! --> src/rowevents/parser.rs:15:5 Aug 30 10:05:07.645 INFO kablam! | Aug 30 10:05:07.645 INFO kablam! 15 | use std::str; Aug 30 10:05:07.645 INFO kablam! | ^^^^^^^^ Aug 30 10:05:07.645 INFO kablam! Aug 30 10:05:07.645 INFO kablam! warning: unused import: `std::io::BufReader` Aug 30 10:05:07.645 INFO kablam! --> src/rowevents/stream.rs:3:5 Aug 30 10:05:07.645 INFO kablam! | Aug 30 10:05:07.645 INFO kablam! 3 | use std::io::BufReader; Aug 30 10:05:07.645 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.645 INFO kablam! Aug 30 10:05:07.645 INFO kablam! warning: unused import: `std::process` Aug 30 10:05:07.645 INFO kablam! --> src/rowevents/stream.rs:6:5 Aug 30 10:05:07.645 INFO kablam! | Aug 30 10:05:07.645 INFO kablam! 6 | use std::process; Aug 30 10:05:07.645 INFO kablam! | ^^^^^^^^^^^^ Aug 30 10:05:07.645 INFO kablam! Aug 30 10:05:07.645 INFO kablam! warning: unused import: `NaiveDate` Aug 30 10:05:07.645 INFO kablam! --> src/rowevents/event_header.rs:2:29 Aug 30 10:05:07.645 INFO kablam! | Aug 30 10:05:07.645 INFO kablam! 2 | use chrono::{NaiveDateTime, NaiveDate}; Aug 30 10:05:07.646 INFO kablam! | ^^^^^^^^^ Aug 30 10:05:07.646 INFO kablam! Aug 30 10:05:07.646 INFO kablam! warning: unused import: `LittleEndian` Aug 30 10:05:07.646 INFO kablam! --> src/rowevents/descriptor_datetime.rs:2:17 Aug 30 10:05:07.647 INFO kablam! | Aug 30 10:05:07.647 INFO kablam! 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt}; Aug 30 10:05:07.647 INFO kablam! | ^^^^^^^^^^^^ Aug 30 10:05:07.647 INFO kablam! Aug 30 10:05:07.647 INFO kablam! warning: unused import: `NaiveDateTime` Aug 30 10:05:07.647 INFO kablam! --> src/rowevents/descriptor_datetime.rs:6:14 Aug 30 10:05:07.647 INFO kablam! | Aug 30 10:05:07.647 INFO kablam! 6 | use chrono::{NaiveDateTime, NaiveDate}; Aug 30 10:05:07.647 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 10:05:07.647 INFO kablam! Aug 30 10:05:07.647 INFO kablam! warning: unnecessary parentheses around assigned value Aug 30 10:05:07.647 INFO kablam! --> src/rowevents/descriptor_decimal.rs:67:17 Aug 30 10:05:07.647 INFO kablam! | Aug 30 10:05:07.647 INFO kablam! 67 | from += (i * 4); Aug 30 10:05:07.647 INFO kablam! | ^^^^^^^ help: remove these parentheses Aug 30 10:05:07.647 INFO kablam! | Aug 30 10:05:07.647 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 10:05:07.647 INFO kablam! Aug 30 10:05:07.647 INFO kablam! warning: unnecessary parentheses around assigned value Aug 30 10:05:07.647 INFO kablam! --> src/rowevents/descriptor_decimal.rs:78:17 Aug 30 10:05:07.647 INFO kablam! | Aug 30 10:05:07.647 INFO kablam! 78 | from += (i * 4); Aug 30 10:05:07.648 INFO kablam! | ^^^^^^^ help: remove these parentheses Aug 30 10:05:07.648 INFO kablam! Aug 30 10:05:07.648 INFO kablam! warning: unused import: `std::rc::Rc` Aug 30 10:05:07.648 INFO kablam! --> src/lib.rs:20:5 Aug 30 10:05:07.648 INFO kablam! | Aug 30 10:05:07.648 INFO kablam! 20 | use std::rc::Rc; Aug 30 10:05:07.648 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:05:07.648 INFO kablam! Aug 30 10:05:07.762 INFO kablam! warning: unused import: `rowevents::value_type` Aug 30 10:05:07.762 INFO kablam! --> src/rowevents/parser.rs:5:5 Aug 30 10:05:07.762 INFO kablam! | Aug 30 10:05:07.762 INFO kablam! 5 | use rowevents::value_type; Aug 30 10:05:07.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.762 INFO kablam! | Aug 30 10:05:07.762 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 10:05:07.762 INFO kablam! Aug 30 10:05:07.762 INFO kablam! warning: unused import: `std::option::Option` Aug 30 10:05:07.762 INFO kablam! --> src/rowevents/parser.rs:11:5 Aug 30 10:05:07.762 INFO kablam! | Aug 30 10:05:07.762 INFO kablam! 11 | use std::option::Option; Aug 30 10:05:07.762 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.762 INFO kablam! Aug 30 10:05:07.762 INFO kablam! warning: unused import: `std::str` Aug 30 10:05:07.762 INFO kablam! --> src/rowevents/parser.rs:15:5 Aug 30 10:05:07.762 INFO kablam! | Aug 30 10:05:07.762 INFO kablam! 15 | use std::str; Aug 30 10:05:07.763 INFO kablam! | ^^^^^^^^ Aug 30 10:05:07.763 INFO kablam! Aug 30 10:05:07.764 INFO kablam! warning: unused import: `std::io::BufReader` Aug 30 10:05:07.764 INFO kablam! --> src/rowevents/stream.rs:3:5 Aug 30 10:05:07.764 INFO kablam! | Aug 30 10:05:07.764 INFO kablam! 3 | use std::io::BufReader; Aug 30 10:05:07.764 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Aug 30 10:05:07.764 INFO kablam! Aug 30 10:05:07.764 INFO kablam! warning: unused import: `std::process` Aug 30 10:05:07.764 INFO kablam! --> src/rowevents/stream.rs:6:5 Aug 30 10:05:07.764 INFO kablam! | Aug 30 10:05:07.764 INFO kablam! 6 | use std::process; Aug 30 10:05:07.764 INFO kablam! | ^^^^^^^^^^^^ Aug 30 10:05:07.764 INFO kablam! Aug 30 10:05:07.765 INFO kablam! warning: unused import: `NaiveDate` Aug 30 10:05:07.765 INFO kablam! --> src/rowevents/event_header.rs:2:29 Aug 30 10:05:07.765 INFO kablam! | Aug 30 10:05:07.765 INFO kablam! 2 | use chrono::{NaiveDateTime, NaiveDate}; Aug 30 10:05:07.765 INFO kablam! | ^^^^^^^^^ Aug 30 10:05:07.765 INFO kablam! Aug 30 10:05:07.765 INFO kablam! warning: unused import: `LittleEndian` Aug 30 10:05:07.766 INFO kablam! --> src/rowevents/descriptor_datetime.rs:2:17 Aug 30 10:05:07.766 INFO kablam! | Aug 30 10:05:07.766 INFO kablam! 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt}; Aug 30 10:05:07.766 INFO kablam! | ^^^^^^^^^^^^ Aug 30 10:05:07.766 INFO kablam! Aug 30 10:05:07.766 INFO kablam! warning: unused import: `NaiveDateTime` Aug 30 10:05:07.766 INFO kablam! --> src/rowevents/descriptor_datetime.rs:6:14 Aug 30 10:05:07.766 INFO kablam! | Aug 30 10:05:07.766 INFO kablam! 6 | use chrono::{NaiveDateTime, NaiveDate}; Aug 30 10:05:07.766 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 10:05:07.766 INFO kablam! Aug 30 10:05:07.766 INFO kablam! warning: unnecessary parentheses around assigned value Aug 30 10:05:07.766 INFO kablam! --> src/rowevents/descriptor_decimal.rs:67:17 Aug 30 10:05:07.766 INFO kablam! | Aug 30 10:05:07.766 INFO kablam! 67 | from += (i * 4); Aug 30 10:05:07.766 INFO kablam! | ^^^^^^^ help: remove these parentheses Aug 30 10:05:07.766 INFO kablam! | Aug 30 10:05:07.766 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 10:05:07.767 INFO kablam! Aug 30 10:05:07.768 INFO kablam! warning: unnecessary parentheses around assigned value Aug 30 10:05:07.768 INFO kablam! --> src/rowevents/descriptor_decimal.rs:78:17 Aug 30 10:05:07.768 INFO kablam! | Aug 30 10:05:07.768 INFO kablam! 78 | from += (i * 4); Aug 30 10:05:07.768 INFO kablam! | ^^^^^^^ help: remove these parentheses Aug 30 10:05:07.768 INFO kablam! Aug 30 10:05:07.768 INFO kablam! warning: unused import: `std::rc::Rc` Aug 30 10:05:07.768 INFO kablam! --> src/lib.rs:20:5 Aug 30 10:05:07.768 INFO kablam! | Aug 30 10:05:07.768 INFO kablam! 20 | use std::rc::Rc; Aug 30 10:05:07.768 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:05:07.768 INFO kablam! Aug 30 10:05:08.487 INFO kablam! warning: unused variable: `max_len` Aug 30 10:05:08.487 INFO kablam! --> src/rowevents/descriptor.rs:11:9 Aug 30 10:05:08.487 INFO kablam! | Aug 30 10:05:08.487 INFO kablam! 11 | let max_len = metadata1 + metadata2 * 256; // Aug 30 10:05:08.487 INFO kablam! | ^^^^^^^ help: consider using `_max_len` instead Aug 30 10:05:08.487 INFO kablam! | Aug 30 10:05:08.487 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 10:05:08.487 INFO kablam! Aug 30 10:05:08.487 INFO kablam! warning: unused variable: `max_len` Aug 30 10:05:08.487 INFO kablam! --> src/rowevents/descriptor.rs:32:9 Aug 30 10:05:08.487 INFO kablam! | Aug 30 10:05:08.487 INFO kablam! 32 | let max_len = metadata1 + metadata2 * 256; Aug 30 10:05:08.487 INFO kablam! | ^^^^^^^ help: consider using `_max_len` instead Aug 30 10:05:08.487 INFO kablam! Aug 30 10:05:08.487 INFO kablam! warning: unused variable: `nullable` Aug 30 10:05:08.487 INFO kablam! --> src/rowevents/descriptor.rs:39:36 Aug 30 10:05:08.488 INFO kablam! | Aug 30 10:05:08.488 INFO kablam! 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> { Aug 30 10:05:08.488 INFO kablam! | ^^^^^^^^ help: consider using `_nullable` instead Aug 30 10:05:08.488 INFO kablam! Aug 30 10:05:08.488 INFO kablam! warning: unused variable: `metadata2` Aug 30 10:05:08.488 INFO kablam! --> src/rowevents/descriptor_datetime.rs:8:42 Aug 30 10:05:08.488 INFO kablam! | Aug 30 10:05:08.488 INFO kablam! 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> { Aug 30 10:05:08.488 INFO kablam! | ^^^^^^^^^ help: consider using `_metadata2` instead Aug 30 10:05:08.488 INFO kablam! Aug 30 10:05:08.488 INFO kablam! warning: unused variable: `f` Aug 30 10:05:08.488 INFO kablam! --> src/lib.rs:244:35 Aug 30 10:05:08.488 INFO kablam! | Aug 30 10:05:08.488 INFO kablam! 244 | &ValueType::Float(f) => { Aug 30 10:05:08.488 INFO kablam! | ^ help: consider using `_f` instead Aug 30 10:05:08.488 INFO kablam! Aug 30 10:05:08.489 INFO kablam! warning: unused variable: `f` Aug 30 10:05:08.489 INFO kablam! --> src/lib.rs:250:36 Aug 30 10:05:08.489 INFO kablam! | Aug 30 10:05:08.489 INFO kablam! 250 | &ValueType::Double(f) => { Aug 30 10:05:08.490 INFO kablam! | ^ help: consider using `_f` instead Aug 30 10:05:08.490 INFO kablam! Aug 30 10:05:08.490 INFO kablam! warning: unused variable: `d` Aug 30 10:05:08.490 INFO kablam! --> src/lib.rs:256:41 Aug 30 10:05:08.490 INFO kablam! | Aug 30 10:05:08.490 INFO kablam! 256 | &ValueType::Decimal(ref d) => { Aug 30 10:05:08.490 INFO kablam! | ^ help: consider using `_d` instead Aug 30 10:05:08.490 INFO kablam! Aug 30 10:05:08.490 INFO kablam! warning: unused variable: `i` Aug 30 10:05:08.490 INFO kablam! --> src/lib.rs:262:40 Aug 30 10:05:08.490 INFO kablam! | Aug 30 10:05:08.490 INFO kablam! 262 | &ValueType::String(ref i) => { Aug 30 10:05:08.490 INFO kablam! | ^ help: consider using `_i` instead Aug 30 10:05:08.490 INFO kablam! Aug 30 10:05:08.490 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.490 INFO kablam! --> src/lib.rs:281:67 Aug 30 10:05:08.490 INFO kablam! | Aug 30 10:05:08.490 INFO kablam! 281 | pub extern fn binlog_reader_read_table_map_event(ptr: *mut Event, info: *mut EventInfo, db_name: *mut u8, table_name: *mut u8) -> bool { Aug 30 10:05:08.490 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.490 INFO kablam! Aug 30 10:05:08.490 INFO kablam! warning: unused variable: `ptr` Aug 30 10:05:08.490 INFO kablam! --> src/lib.rs:300:52 Aug 30 10:05:08.491 INFO kablam! | Aug 30 10:05:08.491 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.491 INFO kablam! | ^^^ help: consider using `_ptr` instead Aug 30 10:05:08.491 INFO kablam! Aug 30 10:05:08.491 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.491 INFO kablam! --> src/lib.rs:300:69 Aug 30 10:05:08.491 INFO kablam! | Aug 30 10:05:08.491 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.491 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.491 INFO kablam! Aug 30 10:05:08.491 INFO kablam! warning: unused variable: `content` Aug 30 10:05:08.491 INFO kablam! --> src/lib.rs:300:91 Aug 30 10:05:08.491 INFO kablam! | Aug 30 10:05:08.491 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.491 INFO kablam! | ^^^^^^^ help: consider using `_content` instead Aug 30 10:05:08.491 INFO kablam! Aug 30 10:05:08.491 INFO kablam! warning: unused variable: `ptr` Aug 30 10:05:08.491 INFO kablam! --> src/lib.rs:306:52 Aug 30 10:05:08.491 INFO kablam! | Aug 30 10:05:08.491 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.491 INFO kablam! | ^^^ help: consider using `_ptr` instead Aug 30 10:05:08.491 INFO kablam! Aug 30 10:05:08.492 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.492 INFO kablam! --> src/lib.rs:306:69 Aug 30 10:05:08.492 INFO kablam! | Aug 30 10:05:08.492 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.492 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.492 INFO kablam! Aug 30 10:05:08.492 INFO kablam! warning: unused variable: `content` Aug 30 10:05:08.492 INFO kablam! --> src/lib.rs:306:91 Aug 30 10:05:08.492 INFO kablam! | Aug 30 10:05:08.492 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.492 INFO kablam! | ^^^^^^^ help: consider using `_content` instead Aug 30 10:05:08.492 INFO kablam! Aug 30 10:05:08.492 INFO kablam! warning: unused variable: `e` Aug 30 10:05:08.492 INFO kablam! --> src/rowevents/reader.rs:90:39 Aug 30 10:05:08.492 INFO kablam! | Aug 30 10:05:08.492 INFO kablam! 90 | Event::Rotate(ref e) => { Aug 30 10:05:08.492 INFO kablam! | ^ help: consider using `_e` instead Aug 30 10:05:08.492 INFO kablam! Aug 30 10:05:08.492 INFO kablam! warning: unused variable: `data` Aug 30 10:05:08.492 INFO kablam! --> src/rowevents/parser.rs:106:13 Aug 30 10:05:08.492 INFO kablam! | Aug 30 10:05:08.492 INFO kablam! 106 | let data = self.stream.read(eh.get_event_len() - 19); Aug 30 10:05:08.492 INFO kablam! | ^^^^ help: consider using `_data` instead Aug 30 10:05:08.492 INFO kablam! Aug 30 10:05:08.492 INFO kablam! warning: unused variable: `eh` Aug 30 10:05:08.493 INFO kablam! --> src/rowevents/parser.rs:110:41 Aug 30 10:05:08.493 INFO kablam! | Aug 30 10:05:08.493 INFO kablam! 110 | pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result { Aug 30 10:05:08.493 INFO kablam! | ^^ help: consider using `_eh` instead Aug 30 10:05:08.493 INFO kablam! Aug 30 10:05:08.493 INFO kablam! warning: unused variable: `data` Aug 30 10:05:08.493 INFO kablam! --> src/rowevents/parser.rs:116:17 Aug 30 10:05:08.493 INFO kablam! | Aug 30 10:05:08.493 INFO kablam! 116 | let data = self.stream.read(57); Aug 30 10:05:08.493 INFO kablam! | ^^^^ help: consider using `_data` instead Aug 30 10:05:08.493 INFO kablam! Aug 30 10:05:08.493 INFO kablam! warning: unused variable: `length_array` Aug 30 10:05:08.493 INFO kablam! --> src/rowevents/parser.rs:119:13 Aug 30 10:05:08.493 INFO kablam! | Aug 30 10:05:08.493 INFO kablam! 119 | let length_array = self.stream.read(eh.get_event_len() - (57 + 19)); Aug 30 10:05:08.493 INFO kablam! | ^^^^^^^^^^^^ help: consider using `_length_array` instead Aug 30 10:05:08.493 INFO kablam! Aug 30 10:05:08.493 INFO kablam! warning: unused variable: `eh` Aug 30 10:05:08.493 INFO kablam! --> src/rowevents/parser.rs:123:38 Aug 30 10:05:08.493 INFO kablam! | Aug 30 10:05:08.493 INFO kablam! 123 | pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result { Aug 30 10:05:08.493 INFO kablam! | ^^ help: consider using `_eh` instead Aug 30 10:05:08.493 INFO kablam! Aug 30 10:05:08.494 INFO kablam! warning: value assigned to `db_name_len` is never read Aug 30 10:05:08.494 INFO kablam! --> src/rowevents/parser.rs:132:17 Aug 30 10:05:08.494 INFO kablam! | Aug 30 10:05:08.494 INFO kablam! 132 | let mut db_name_len = 0; Aug 30 10:05:08.494 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:05:08.494 INFO kablam! | Aug 30 10:05:08.494 INFO kablam! = note: #[warn(unused_assignments)] on by default Aug 30 10:05:08.494 INFO kablam! Aug 30 10:05:08.494 INFO kablam! warning: value assigned to `table_name_len` is never read Aug 30 10:05:08.494 INFO kablam! --> src/rowevents/parser.rs:133:17 Aug 30 10:05:08.494 INFO kablam! | Aug 30 10:05:08.494 INFO kablam! 133 | let mut table_name_len = 0; Aug 30 10:05:08.494 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 10:05:08.494 INFO kablam! Aug 30 10:05:08.494 INFO kablam! warning: unused variable: `table_id` Aug 30 10:05:08.494 INFO kablam! --> src/rowevents/parser.rs:140:17 Aug 30 10:05:08.494 INFO kablam! | Aug 30 10:05:08.494 INFO kablam! 140 | let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64); Aug 30 10:05:08.494 INFO kablam! | ^^^^^^^^ help: consider using `_table_id` instead Aug 30 10:05:08.494 INFO kablam! Aug 30 10:05:08.494 INFO kablam! warning: unused variable: `flags` Aug 30 10:05:08.495 INFO kablam! --> src/rowevents/parser.rs:141:17 Aug 30 10:05:08.495 INFO kablam! | Aug 30 10:05:08.495 INFO kablam! 141 | let flags = cursor.read_i16::()?; Aug 30 10:05:08.495 INFO kablam! | ^^^^^ help: consider using `_flags` instead Aug 30 10:05:08.495 INFO kablam! Aug 30 10:05:08.495 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.495 INFO kablam! --> src/rowevents/parser.rs:185:17 Aug 30 10:05:08.495 INFO kablam! | Aug 30 10:05:08.495 INFO kablam! 185 | let offset = 0; Aug 30 10:05:08.495 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.495 INFO kablam! Aug 30 10:05:08.495 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.495 INFO kablam! --> src/rowevents/parser.rs:205:17 Aug 30 10:05:08.495 INFO kablam! | Aug 30 10:05:08.495 INFO kablam! 205 | let offset = 0; Aug 30 10:05:08.495 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.495 INFO kablam! Aug 30 10:05:08.495 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.495 INFO kablam! --> src/rowevents/parser.rs:228:17 Aug 30 10:05:08.495 INFO kablam! | Aug 30 10:05:08.495 INFO kablam! 228 | let offset = 0; Aug 30 10:05:08.495 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.496 INFO kablam! Aug 30 10:05:08.496 INFO kablam! warning: unused variable: `table_id` Aug 30 10:05:08.496 INFO kablam! --> src/rowevents/parser.rs:250:17 Aug 30 10:05:08.496 INFO kablam! | Aug 30 10:05:08.496 INFO kablam! 250 | let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64); Aug 30 10:05:08.496 INFO kablam! | ^^^^^^^^ help: consider using `_table_id` instead Aug 30 10:05:08.496 INFO kablam! Aug 30 10:05:08.496 INFO kablam! warning: unused variable: `flags` Aug 30 10:05:08.496 INFO kablam! --> src/rowevents/parser.rs:251:17 Aug 30 10:05:08.496 INFO kablam! | Aug 30 10:05:08.496 INFO kablam! 251 | let flags = cursor.read_i16::()?; Aug 30 10:05:08.496 INFO kablam! | ^^^^^ help: consider using `_flags` instead Aug 30 10:05:08.496 INFO kablam! Aug 30 10:05:08.496 INFO kablam! warning: unused variable: `extra_data` Aug 30 10:05:08.496 INFO kablam! --> src/rowevents/parser.rs:262:17 Aug 30 10:05:08.496 INFO kablam! | Aug 30 10:05:08.496 INFO kablam! 262 | let extra_data = self.stream.read(extra_data_len - 2); Aug 30 10:05:08.496 INFO kablam! | ^^^^^^^^^^ help: consider using `_extra_data` instead Aug 30 10:05:08.496 INFO kablam! Aug 30 10:05:08.496 INFO kablam! warning: unused variable: `slice_end` Aug 30 10:05:08.496 INFO kablam! --> src/rowevents/parser.rs:354:17 Aug 30 10:05:08.496 INFO kablam! | Aug 30 10:05:08.496 INFO kablam! 354 | let mut slice_end = 0; Aug 30 10:05:08.497 INFO kablam! | ^^^^^^^^^ help: consider using `_slice_end` instead Aug 30 10:05:08.497 INFO kablam! Aug 30 10:05:08.497 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.497 INFO kablam! --> src/lib.rs:49:9 Aug 30 10:05:08.497 INFO kablam! | Aug 30 10:05:08.497 INFO kablam! 49 | let mut reader = unsafe { Aug 30 10:05:08.497 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.497 INFO kablam! | | Aug 30 10:05:08.497 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.497 INFO kablam! | Aug 30 10:05:08.497 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 10:05:08.497 INFO kablam! Aug 30 10:05:08.506 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.506 INFO kablam! --> src/lib.rs:95:9 Aug 30 10:05:08.506 INFO kablam! | Aug 30 10:05:08.506 INFO kablam! 95 | let mut reader = unsafe { Aug 30 10:05:08.506 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.506 INFO kablam! | | Aug 30 10:05:08.506 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.506 INFO kablam! Aug 30 10:05:08.506 INFO kablam! warning: unused variable: `max_len` Aug 30 10:05:08.506 INFO kablam! --> src/rowevents/descriptor.rs:11:9 Aug 30 10:05:08.506 INFO kablam! | Aug 30 10:05:08.506 INFO kablam! 11 | let max_len = metadata1 + metadata2 * 256; // Aug 30 10:05:08.506 INFO kablam! | ^^^^^^^ help: consider using `_max_len` instead Aug 30 10:05:08.506 INFO kablam! | Aug 30 10:05:08.506 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 10:05:08.506 INFO kablam! Aug 30 10:05:08.507 INFO kablam! warning: unused variable: `max_len` Aug 30 10:05:08.507 INFO kablam! --> src/rowevents/descriptor.rs:32:9 Aug 30 10:05:08.507 INFO kablam! | Aug 30 10:05:08.507 INFO kablam! 32 | let max_len = metadata1 + metadata2 * 256; Aug 30 10:05:08.507 INFO kablam! | ^^^^^^^ help: consider using `_max_len` instead Aug 30 10:05:08.507 INFO kablam! Aug 30 10:05:08.510 INFO kablam! warning: unused variable: `nullable` Aug 30 10:05:08.510 INFO kablam! --> src/rowevents/descriptor.rs:39:36 Aug 30 10:05:08.510 INFO kablam! | Aug 30 10:05:08.510 INFO kablam! 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> { Aug 30 10:05:08.510 INFO kablam! | ^^^^^^^^ help: consider using `_nullable` instead Aug 30 10:05:08.510 INFO kablam! Aug 30 10:05:08.510 INFO kablam! warning: unused variable: `metadata2` Aug 30 10:05:08.510 INFO kablam! --> src/rowevents/descriptor_datetime.rs:8:42 Aug 30 10:05:08.510 INFO kablam! | Aug 30 10:05:08.511 INFO kablam! 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> { Aug 30 10:05:08.511 INFO kablam! | ^^^^^^^^^ help: consider using `_metadata2` instead Aug 30 10:05:08.511 INFO kablam! Aug 30 10:05:08.511 INFO kablam! warning: unused variable: `f` Aug 30 10:05:08.511 INFO kablam! --> src/lib.rs:244:35 Aug 30 10:05:08.511 INFO kablam! | Aug 30 10:05:08.511 INFO kablam! 244 | &ValueType::Float(f) => { Aug 30 10:05:08.511 INFO kablam! | ^ help: consider using `_f` instead Aug 30 10:05:08.511 INFO kablam! Aug 30 10:05:08.511 INFO kablam! warning: unused variable: `f` Aug 30 10:05:08.511 INFO kablam! --> src/lib.rs:250:36 Aug 30 10:05:08.511 INFO kablam! | Aug 30 10:05:08.511 INFO kablam! 250 | &ValueType::Double(f) => { Aug 30 10:05:08.511 INFO kablam! | ^ help: consider using `_f` instead Aug 30 10:05:08.511 INFO kablam! Aug 30 10:05:08.511 INFO kablam! warning: unused variable: `d` Aug 30 10:05:08.511 INFO kablam! --> src/lib.rs:256:41 Aug 30 10:05:08.511 INFO kablam! | Aug 30 10:05:08.511 INFO kablam! 256 | &ValueType::Decimal(ref d) => { Aug 30 10:05:08.511 INFO kablam! | ^ help: consider using `_d` instead Aug 30 10:05:08.511 INFO kablam! Aug 30 10:05:08.512 INFO kablam! warning: unused variable: `i` Aug 30 10:05:08.512 INFO kablam! --> src/lib.rs:262:40 Aug 30 10:05:08.512 INFO kablam! | Aug 30 10:05:08.512 INFO kablam! 262 | &ValueType::String(ref i) => { Aug 30 10:05:08.512 INFO kablam! | ^ help: consider using `_i` instead Aug 30 10:05:08.512 INFO kablam! Aug 30 10:05:08.512 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.512 INFO kablam! --> src/lib.rs:281:67 Aug 30 10:05:08.512 INFO kablam! | Aug 30 10:05:08.512 INFO kablam! 281 | pub extern fn binlog_reader_read_table_map_event(ptr: *mut Event, info: *mut EventInfo, db_name: *mut u8, table_name: *mut u8) -> bool { Aug 30 10:05:08.512 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.512 INFO kablam! Aug 30 10:05:08.512 INFO kablam! warning: unused variable: `ptr` Aug 30 10:05:08.512 INFO kablam! --> src/lib.rs:300:52 Aug 30 10:05:08.512 INFO kablam! | Aug 30 10:05:08.512 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.512 INFO kablam! | ^^^ help: consider using `_ptr` instead Aug 30 10:05:08.512 INFO kablam! Aug 30 10:05:08.512 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.512 INFO kablam! --> src/lib.rs:300:69 Aug 30 10:05:08.512 INFO kablam! | Aug 30 10:05:08.513 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.513 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.513 INFO kablam! Aug 30 10:05:08.513 INFO kablam! warning: unused variable: `content` Aug 30 10:05:08.513 INFO kablam! --> src/lib.rs:300:91 Aug 30 10:05:08.513 INFO kablam! | Aug 30 10:05:08.513 INFO kablam! 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.513 INFO kablam! | ^^^^^^^ help: consider using `_content` instead Aug 30 10:05:08.513 INFO kablam! Aug 30 10:05:08.513 INFO kablam! warning: unused variable: `ptr` Aug 30 10:05:08.513 INFO kablam! --> src/lib.rs:306:52 Aug 30 10:05:08.513 INFO kablam! | Aug 30 10:05:08.513 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.513 INFO kablam! | ^^^ help: consider using `_ptr` instead Aug 30 10:05:08.513 INFO kablam! Aug 30 10:05:08.513 INFO kablam! warning: unused variable: `info` Aug 30 10:05:08.513 INFO kablam! --> src/lib.rs:306:69 Aug 30 10:05:08.513 INFO kablam! | Aug 30 10:05:08.513 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.513 INFO kablam! | ^^^^ help: consider using `_info` instead Aug 30 10:05:08.513 INFO kablam! Aug 30 10:05:08.513 INFO kablam! warning: unused variable: `content` Aug 30 10:05:08.514 INFO kablam! --> src/lib.rs:306:91 Aug 30 10:05:08.514 INFO kablam! | Aug 30 10:05:08.514 INFO kablam! 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool { Aug 30 10:05:08.514 INFO kablam! | ^^^^^^^ help: consider using `_content` instead Aug 30 10:05:08.514 INFO kablam! Aug 30 10:05:08.514 INFO kablam! warning: unused variable: `e` Aug 30 10:05:08.514 INFO kablam! --> src/rowevents/reader.rs:90:39 Aug 30 10:05:08.514 INFO kablam! | Aug 30 10:05:08.514 INFO kablam! 90 | Event::Rotate(ref e) => { Aug 30 10:05:08.514 INFO kablam! | ^ help: consider using `_e` instead Aug 30 10:05:08.514 INFO kablam! Aug 30 10:05:08.514 INFO kablam! warning: unused variable: `data` Aug 30 10:05:08.514 INFO kablam! --> src/rowevents/parser.rs:106:13 Aug 30 10:05:08.514 INFO kablam! | Aug 30 10:05:08.514 INFO kablam! 106 | let data = self.stream.read(eh.get_event_len() - 19); Aug 30 10:05:08.514 INFO kablam! | ^^^^ help: consider using `_data` instead Aug 30 10:05:08.514 INFO kablam! Aug 30 10:05:08.514 INFO kablam! warning: unused variable: `eh` Aug 30 10:05:08.514 INFO kablam! --> src/rowevents/parser.rs:110:41 Aug 30 10:05:08.514 INFO kablam! | Aug 30 10:05:08.514 INFO kablam! 110 | pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result { Aug 30 10:05:08.515 INFO kablam! | ^^ help: consider using `_eh` instead Aug 30 10:05:08.515 INFO kablam! Aug 30 10:05:08.515 INFO kablam! warning: unused variable: `data` Aug 30 10:05:08.515 INFO kablam! --> src/rowevents/parser.rs:116:17 Aug 30 10:05:08.515 INFO kablam! | Aug 30 10:05:08.515 INFO kablam! 116 | let data = self.stream.read(57); Aug 30 10:05:08.515 INFO kablam! | ^^^^ help: consider using `_data` instead Aug 30 10:05:08.515 INFO kablam! Aug 30 10:05:08.515 INFO kablam! warning: unused variable: `length_array` Aug 30 10:05:08.515 INFO kablam! --> src/rowevents/parser.rs:119:13 Aug 30 10:05:08.515 INFO kablam! | Aug 30 10:05:08.515 INFO kablam! 119 | let length_array = self.stream.read(eh.get_event_len() - (57 + 19)); Aug 30 10:05:08.515 INFO kablam! | ^^^^^^^^^^^^ help: consider using `_length_array` instead Aug 30 10:05:08.515 INFO kablam! Aug 30 10:05:08.515 INFO kablam! warning: unused variable: `eh` Aug 30 10:05:08.515 INFO kablam! --> src/rowevents/parser.rs:123:38 Aug 30 10:05:08.515 INFO kablam! | Aug 30 10:05:08.515 INFO kablam! 123 | pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result { Aug 30 10:05:08.515 INFO kablam! | ^^ help: consider using `_eh` instead Aug 30 10:05:08.515 INFO kablam! Aug 30 10:05:08.516 INFO kablam! warning: value assigned to `db_name_len` is never read Aug 30 10:05:08.516 INFO kablam! --> src/rowevents/parser.rs:132:17 Aug 30 10:05:08.516 INFO kablam! | Aug 30 10:05:08.516 INFO kablam! 132 | let mut db_name_len = 0; Aug 30 10:05:08.516 INFO kablam! | ^^^^^^^^^^^ Aug 30 10:05:08.516 INFO kablam! | Aug 30 10:05:08.516 INFO kablam! = note: #[warn(unused_assignments)] on by default Aug 30 10:05:08.516 INFO kablam! Aug 30 10:05:08.516 INFO kablam! warning: value assigned to `table_name_len` is never read Aug 30 10:05:08.516 INFO kablam! --> src/rowevents/parser.rs:133:17 Aug 30 10:05:08.516 INFO kablam! | Aug 30 10:05:08.516 INFO kablam! 133 | let mut table_name_len = 0; Aug 30 10:05:08.516 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 10:05:08.516 INFO kablam! Aug 30 10:05:08.516 INFO kablam! warning: unused variable: `table_id` Aug 30 10:05:08.516 INFO kablam! --> src/rowevents/parser.rs:140:17 Aug 30 10:05:08.516 INFO kablam! | Aug 30 10:05:08.516 INFO kablam! 140 | let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64); Aug 30 10:05:08.517 INFO kablam! | ^^^^^^^^ help: consider using `_table_id` instead Aug 30 10:05:08.517 INFO kablam! Aug 30 10:05:08.517 INFO kablam! warning: unused variable: `flags` Aug 30 10:05:08.517 INFO kablam! --> src/rowevents/parser.rs:141:17 Aug 30 10:05:08.517 INFO kablam! | Aug 30 10:05:08.517 INFO kablam! 141 | let flags = cursor.read_i16::()?; Aug 30 10:05:08.517 INFO kablam! | ^^^^^ help: consider using `_flags` instead Aug 30 10:05:08.517 INFO kablam! Aug 30 10:05:08.517 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.517 INFO kablam! --> src/rowevents/parser.rs:185:17 Aug 30 10:05:08.517 INFO kablam! | Aug 30 10:05:08.517 INFO kablam! 185 | let offset = 0; Aug 30 10:05:08.517 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.517 INFO kablam! Aug 30 10:05:08.517 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.517 INFO kablam! --> src/rowevents/parser.rs:205:17 Aug 30 10:05:08.517 INFO kablam! | Aug 30 10:05:08.517 INFO kablam! 205 | let offset = 0; Aug 30 10:05:08.517 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.517 INFO kablam! Aug 30 10:05:08.517 INFO kablam! warning: unused variable: `offset` Aug 30 10:05:08.517 INFO kablam! --> src/rowevents/parser.rs:228:17 Aug 30 10:05:08.517 INFO kablam! | Aug 30 10:05:08.517 INFO kablam! 228 | let offset = 0; Aug 30 10:05:08.518 INFO kablam! | ^^^^^^ help: consider using `_offset` instead Aug 30 10:05:08.518 INFO kablam! Aug 30 10:05:08.518 INFO kablam! warning: unused variable: `table_id` Aug 30 10:05:08.518 INFO kablam! --> src/rowevents/parser.rs:250:17 Aug 30 10:05:08.518 INFO kablam! | Aug 30 10:05:08.518 INFO kablam! 250 | let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64); Aug 30 10:05:08.518 INFO kablam! | ^^^^^^^^ help: consider using `_table_id` instead Aug 30 10:05:08.518 INFO kablam! Aug 30 10:05:08.518 INFO kablam! warning: unused variable: `flags` Aug 30 10:05:08.518 INFO kablam! --> src/rowevents/parser.rs:251:17 Aug 30 10:05:08.518 INFO kablam! | Aug 30 10:05:08.518 INFO kablam! 251 | let flags = cursor.read_i16::()?; Aug 30 10:05:08.518 INFO kablam! | ^^^^^ help: consider using `_flags` instead Aug 30 10:05:08.518 INFO kablam! Aug 30 10:05:08.518 INFO kablam! warning: unused variable: `extra_data` Aug 30 10:05:08.518 INFO kablam! --> src/rowevents/parser.rs:262:17 Aug 30 10:05:08.518 INFO kablam! | Aug 30 10:05:08.518 INFO kablam! 262 | let extra_data = self.stream.read(extra_data_len - 2); Aug 30 10:05:08.518 INFO kablam! | ^^^^^^^^^^ help: consider using `_extra_data` instead Aug 30 10:05:08.518 INFO kablam! Aug 30 10:05:08.518 INFO kablam! warning: unused variable: `slice_end` Aug 30 10:05:08.518 INFO kablam! --> src/rowevents/parser.rs:354:17 Aug 30 10:05:08.518 INFO kablam! | Aug 30 10:05:08.518 INFO kablam! 354 | let mut slice_end = 0; Aug 30 10:05:08.518 INFO kablam! | ^^^^^^^^^ help: consider using `_slice_end` instead Aug 30 10:05:08.519 INFO kablam! Aug 30 10:05:08.520 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.520 INFO kablam! --> src/lib.rs:49:9 Aug 30 10:05:08.521 INFO kablam! | Aug 30 10:05:08.521 INFO kablam! 49 | let mut reader = unsafe { Aug 30 10:05:08.521 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.521 INFO kablam! | | Aug 30 10:05:08.521 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.521 INFO kablam! | Aug 30 10:05:08.521 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 10:05:08.521 INFO kablam! Aug 30 10:05:08.528 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.528 INFO kablam! --> src/lib.rs:95:9 Aug 30 10:05:08.528 INFO kablam! | Aug 30 10:05:08.528 INFO kablam! 95 | let mut reader = unsafe { Aug 30 10:05:08.528 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.528 INFO kablam! | | Aug 30 10:05:08.528 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.528 INFO kablam! Aug 30 10:05:08.604 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.604 INFO kablam! --> src/rowevents/parser.rs:354:13 Aug 30 10:05:08.604 INFO kablam! | Aug 30 10:05:08.604 INFO kablam! 354 | let mut slice_end = 0; Aug 30 10:05:08.604 INFO kablam! | ----^^^^^^^^^ Aug 30 10:05:08.604 INFO kablam! | | Aug 30 10:05:08.604 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.604 INFO kablam! Aug 30 10:05:08.611 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.611 INFO kablam! --> src/rowevents/stream.rs:34:13 Aug 30 10:05:08.611 INFO kablam! | Aug 30 10:05:08.611 INFO kablam! 34 | let mut result = File::open(filename); Aug 30 10:05:08.611 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.611 INFO kablam! | | Aug 30 10:05:08.611 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.611 INFO kablam! Aug 30 10:05:08.612 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.612 INFO kablam! --> src/rowevents/stream.rs:35:19 Aug 30 10:05:08.612 INFO kablam! | Aug 30 10:05:08.612 INFO kablam! 35 | if let Ok(mut file) = result { Aug 30 10:05:08.612 INFO kablam! | ----^^^^ Aug 30 10:05:08.612 INFO kablam! | | Aug 30 10:05:08.612 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.612 INFO kablam! Aug 30 10:05:08.656 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.656 INFO kablam! --> src/rowevents/parser.rs:354:13 Aug 30 10:05:08.656 INFO kablam! | Aug 30 10:05:08.656 INFO kablam! 354 | let mut slice_end = 0; Aug 30 10:05:08.656 INFO kablam! | ----^^^^^^^^^ Aug 30 10:05:08.656 INFO kablam! | | Aug 30 10:05:08.656 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.656 INFO kablam! Aug 30 10:05:08.662 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.663 INFO kablam! --> src/rowevents/stream.rs:34:13 Aug 30 10:05:08.663 INFO kablam! | Aug 30 10:05:08.663 INFO kablam! 34 | let mut result = File::open(filename); Aug 30 10:05:08.663 INFO kablam! | ----^^^^^^ Aug 30 10:05:08.663 INFO kablam! | | Aug 30 10:05:08.663 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.663 INFO kablam! Aug 30 10:05:08.663 INFO kablam! warning: variable does not need to be mutable Aug 30 10:05:08.663 INFO kablam! --> src/rowevents/stream.rs:35:19 Aug 30 10:05:08.663 INFO kablam! | Aug 30 10:05:08.663 INFO kablam! 35 | if let Ok(mut file) = result { Aug 30 10:05:08.663 INFO kablam! | ----^^^^ Aug 30 10:05:08.663 INFO kablam! | | Aug 30 10:05:08.663 INFO kablam! | help: remove this `mut` Aug 30 10:05:08.663 INFO kablam! Aug 30 10:05:08.697 INFO kablam! warning: field is never used: `filename` Aug 30 10:05:08.697 INFO kablam! --> src/rowevents/reader.rs:12:5 Aug 30 10:05:08.697 INFO kablam! | Aug 30 10:05:08.697 INFO kablam! 12 | filename: String, Aug 30 10:05:08.698 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 30 10:05:08.698 INFO kablam! | Aug 30 10:05:08.698 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 10:05:08.698 INFO kablam! Aug 30 10:05:08.715 INFO kablam! warning: literal out of range for u8 Aug 30 10:05:08.715 INFO kablam! --> src/rowevents/descriptor.rs:11:43 Aug 30 10:05:08.715 INFO kablam! | Aug 30 10:05:08.715 INFO kablam! 11 | let max_len = metadata1 + metadata2 * 256; // Aug 30 10:05:08.715 INFO kablam! | ^^^ Aug 30 10:05:08.715 INFO kablam! | Aug 30 10:05:08.715 INFO kablam! = note: #[warn(overflowing_literals)] on by default Aug 30 10:05:08.715 INFO kablam! Aug 30 10:05:08.715 INFO kablam! warning: literal out of range for u8 Aug 30 10:05:08.715 INFO kablam! --> src/rowevents/descriptor.rs:32:43 Aug 30 10:05:08.715 INFO kablam! | Aug 30 10:05:08.715 INFO kablam! 32 | let max_len = metadata1 + metadata2 * 256; Aug 30 10:05:08.715 INFO kablam! | ^^^ Aug 30 10:05:08.715 INFO kablam! Aug 30 10:05:08.751 INFO kablam! warning: field is never used: `filename` Aug 30 10:05:08.751 INFO kablam! --> src/rowevents/reader.rs:12:5 Aug 30 10:05:08.751 INFO kablam! | Aug 30 10:05:08.751 INFO kablam! 12 | filename: String, Aug 30 10:05:08.752 INFO kablam! | ^^^^^^^^^^^^^^^^ Aug 30 10:05:08.752 INFO kablam! | Aug 30 10:05:08.755 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 10:05:08.756 INFO kablam! Aug 30 10:05:08.779 INFO kablam! warning: literal out of range for u8 Aug 30 10:05:08.779 INFO kablam! --> src/rowevents/descriptor.rs:11:43 Aug 30 10:05:08.779 INFO kablam! | Aug 30 10:05:08.779 INFO kablam! 11 | let max_len = metadata1 + metadata2 * 256; // Aug 30 10:05:08.779 INFO kablam! | ^^^ Aug 30 10:05:08.779 INFO kablam! | Aug 30 10:05:08.779 INFO kablam! = note: #[warn(overflowing_literals)] on by default Aug 30 10:05:08.779 INFO kablam! Aug 30 10:05:08.779 INFO kablam! warning: literal out of range for u8 Aug 30 10:05:08.779 INFO kablam! --> src/rowevents/descriptor.rs:32:43 Aug 30 10:05:08.779 INFO kablam! | Aug 30 10:05:08.780 INFO kablam! 32 | let max_len = metadata1 + metadata2 * 256; Aug 30 10:05:08.780 INFO kablam! | ^^^ Aug 30 10:05:08.780 INFO kablam! Aug 30 10:05:10.069 INFO kablam! warning: unused `#[macro_use]` import Aug 30 10:05:10.069 INFO kablam! --> examples/read_binlog_file.rs:4:1 Aug 30 10:05:10.069 INFO kablam! | Aug 30 10:05:10.069 INFO kablam! 4 | #[macro_use] Aug 30 10:05:10.069 INFO kablam! | ^^^^^^^^^^^^ Aug 30 10:05:10.069 INFO kablam! | Aug 30 10:05:10.069 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 10:05:10.069 INFO kablam! Aug 30 10:05:10.153 INFO kablam! error[E0061]: this function takes 0 parameters but 1 parameter was supplied Aug 30 10:05:10.153 INFO kablam! --> examples/sync_binlog_to_redis.rs:14:27 Aug 30 10:05:10.153 INFO kablam! | Aug 30 10:05:10.153 INFO kablam! 14 | let event = r.read_event(&e1); Aug 30 10:05:10.153 INFO kablam! | ^^^^^^^^^^ expected 0 parameters Aug 30 10:05:10.153 INFO kablam! Aug 30 10:05:10.167 INFO kablam! error[E0308]: mismatched types Aug 30 10:05:10.167 INFO kablam! --> examples/sync_binlog_to_redis.rs:16:20 Aug 30 10:05:10.167 INFO kablam! | Aug 30 10:05:10.167 INFO kablam! 16 | Ok(Event::Xid(e)) => println!("{:?}", e), Aug 30 10:05:10.167 INFO kablam! | ^^^^^^^^^^^^^ expected tuple, found enum `mysqlbinlog::Event` Aug 30 10:05:10.167 INFO kablam! | Aug 30 10:05:10.167 INFO kablam! = note: expected type `(mysqlbinlog::EventHeader, mysqlbinlog::Event)` Aug 30 10:05:10.167 INFO kablam! found type `mysqlbinlog::Event` Aug 30 10:05:10.167 INFO kablam! Aug 30 10:05:10.168 INFO kablam! error[E0308]: mismatched types Aug 30 10:05:10.168 INFO kablam! --> examples/sync_binlog_to_redis.rs:17:20 Aug 30 10:05:10.168 INFO kablam! | Aug 30 10:05:10.168 INFO kablam! 17 | Ok(Event::Insert(e)) => println!("INSERT {:?}", e), Aug 30 10:05:10.168 INFO kablam! | ^^^^^^^^^^^^^^^^ expected tuple, found enum `mysqlbinlog::Event` Aug 30 10:05:10.168 INFO kablam! | Aug 30 10:05:10.168 INFO kablam! = note: expected type `(mysqlbinlog::EventHeader, mysqlbinlog::Event)` Aug 30 10:05:10.169 INFO kablam! found type `mysqlbinlog::Event` Aug 30 10:05:10.169 INFO kablam! Aug 30 10:05:10.169 INFO kablam! error[E0308]: mismatched types Aug 30 10:05:10.169 INFO kablam! --> examples/sync_binlog_to_redis.rs:18:20 Aug 30 10:05:10.169 INFO kablam! | Aug 30 10:05:10.169 INFO kablam! 18 | Ok(Event::Update(e)) => println!("UPDATE {:?}", e), Aug 30 10:05:10.169 INFO kablam! | ^^^^^^^^^^^^^^^^ expected tuple, found enum `mysqlbinlog::Event` Aug 30 10:05:10.169 INFO kablam! | Aug 30 10:05:10.169 INFO kablam! = note: expected type `(mysqlbinlog::EventHeader, mysqlbinlog::Event)` Aug 30 10:05:10.169 INFO kablam! found type `mysqlbinlog::Event` Aug 30 10:05:10.169 INFO kablam! Aug 30 10:05:10.169 INFO kablam! error[E0308]: mismatched types Aug 30 10:05:10.169 INFO kablam! --> examples/sync_binlog_to_redis.rs:19:20 Aug 30 10:05:10.169 INFO kablam! | Aug 30 10:05:10.169 INFO kablam! 19 | Ok(Event::Delete(e)) => println!("DELETE {:?}", e), Aug 30 10:05:10.169 INFO kablam! | ^^^^^^^^^^^^^^^^ expected tuple, found enum `mysqlbinlog::Event` Aug 30 10:05:10.169 INFO kablam! | Aug 30 10:05:10.169 INFO kablam! = note: expected type `(mysqlbinlog::EventHeader, mysqlbinlog::Event)` Aug 30 10:05:10.169 INFO kablam! found type `mysqlbinlog::Event` Aug 30 10:05:10.169 INFO kablam! Aug 30 10:05:10.209 INFO kablam! error: aborting due to 5 previous errors Aug 30 10:05:10.209 INFO kablam! Aug 30 10:05:10.209 INFO kablam! Some errors occurred: E0061, E0308. Aug 30 10:05:10.209 INFO kablam! For more information about an error, try `rustc --explain E0061`. Aug 30 10:05:10.217 INFO kablam! error: Could not compile `mysqlbinlog`. Aug 30 10:05:10.218 INFO kablam! warning: build failed, waiting for other jobs to finish... Aug 30 10:05:10.389 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 10:05:10.389 INFO kablam! --> examples/read_binlog_file.rs:31:5 Aug 30 10:05:10.389 INFO kablam! | Aug 30 10:05:10.389 INFO kablam! 31 | file.read_to_string(&mut content); Aug 30 10:05:10.389 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 10:05:10.389 INFO kablam! | Aug 30 10:05:10.389 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 10:05:10.389 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 10:05:10.389 INFO kablam! Aug 30 10:05:10.414 INFO kablam! error: build failed Aug 30 10:05:10.417 INFO kablam! su: No module specific data is present Aug 30 10:05:10.814 INFO running `"docker" "rm" "-f" "30a0d8cafaf50cf5cd93a9568b1afac4784f2c9f0aa19fa728afe3b7f1180e31"` Aug 30 10:05:10.933 INFO blam! 30a0d8cafaf50cf5cd93a9568b1afac4784f2c9f0aa19fa728afe3b7f1180e31