[INFO] fetching crate mysqlbinlog 0.1.5...
[INFO] checking mysqlbinlog-0.1.5 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate mysqlbinlog 0.1.5 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate mysqlbinlog 0.1.5 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mysqlbinlog 0.1.5
[INFO] finished tweaking crates.io crate mysqlbinlog 0.1.5
[INFO] tweaked toml for crates.io crate mysqlbinlog 0.1.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding chrono v0.3.0 (latest: v0.4.38)
[INFO] [stderr]       Adding num v0.1.42 (latest: v0.4.2)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding time v0.1.45 (latest: v0.3.36)
[INFO] [stderr]       Adding toml v0.4.10 (latest: v0.8.12)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded chrono v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aca13281ec59a67ff961552a04f792dc39f45d73d4e8977bdbdfa204a6e1804f
[INFO] running `Command { std: "docker" "start" "-a" "aca13281ec59a67ff961552a04f792dc39f45d73d4e8977bdbdfa204a6e1804f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aca13281ec59a67ff961552a04f792dc39f45d73d4e8977bdbdfa204a6e1804f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aca13281ec59a67ff961552a04f792dc39f45d73d4e8977bdbdfa204a6e1804f", kill_on_drop: false }`
[INFO] [stdout] aca13281ec59a67ff961552a04f792dc39f45d73d4e8977bdbdfa204a6e1804f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b57045c51440d3ec133a629f5d6710a86968f109171a117be6718b0d646ac0e7
[INFO] running `Command { std: "docker" "start" "-a" "b57045c51440d3ec133a629f5d6710a86968f109171a117be6718b0d646ac0e7", kill_on_drop: false }`
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.3.0
[INFO] [stderr]     Checking mysqlbinlog v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rowevents::value_type`
[INFO] [stdout]  --> src/rowevents/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rowevents::value_type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]   --> src/rowevents/parser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::option::Option;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]   --> src/rowevents/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::str;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/rowevents/stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/rowevents/stream.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> src/rowevents/event_header.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -         from += (i * 4);
[INFO] [stdout] 67 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -         from += (i * 4);
[INFO] [stdout] 78 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rowevents::value_type`
[INFO] [stdout]  --> src/rowevents/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rowevents::value_type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]   --> src/rowevents/parser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::option::Option;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]   --> src/rowevents/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::str;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/rowevents/stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/rowevents/stream.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> src/rowevents/event_header.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -         from += (i * 4);
[INFO] [stdout] 67 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -         from += (i * 4);
[INFO] [stdout] 78 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/rowevents/reader.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     Event::Rotate(ref e) => {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let data = self.stream.read(eh.get_event_len() - 19);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                         ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let data = self.stream.read(57);
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_array`
[INFO] [stdout]    --> src/rowevents/parser.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let length_array = self.stream.read(eh.get_event_len() - (57 + 19));
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                      ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `db_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut db_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `table_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut table_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_data`
[INFO] [stdout]    --> src/rowevents/parser.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let extra_data = self.stream.read(extra_data_len - 2);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_end`
[INFO] [stdout]    --> src/rowevents/parser.rs:354:17
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rowevents/parser.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut result = File::open(filename);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if let Ok(mut file) = result {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut result = File::open(&next_binlog_filename);
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if let Ok(mut file) = result {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nullable`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata2`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]   |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/rowevents/reader.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     Event::Rotate(ref e) => {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let data = self.stream.read(eh.get_event_len() - 19);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                         ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let data = self.stream.read(57);
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_array`
[INFO] [stdout]    --> src/rowevents/parser.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let length_array = self.stream.read(eh.get_event_len() - (57 + 19));
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 &ValueType::Float(f) => {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                      ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:250:36
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 &ValueType::Double(f) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 &ValueType::Decimal(ref d) => {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:262:40
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 &ValueType::String(ref i) => {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:281:67
[INFO] [stdout]     |
[INFO] [stdout] 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 {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `db_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut db_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `table_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut table_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:300:52
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:300:69
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:300:91
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:306:52
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:306:69
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:306:91
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]   --> src/rowevents/reader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     filename: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `xid` is never read
[INFO] [stdout]   --> src/rowevents/events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct XidEvent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 48 |     xid: i64
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XidEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_data`
[INFO] [stdout]    --> src/rowevents/parser.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let extra_data = self.stream.read(extra_data_len - 2);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Box::from_raw(ptr);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_end`
[INFO] [stdout]    --> src/rowevents/parser.rs:354:17
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:252:25
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:264:25
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:300:100
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:306:100
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Box::from_raw(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rowevents/parser.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut result = File::open(filename);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if let Ok(mut file) = result {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut result = File::open(&next_binlog_filename);
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if let Ok(mut file) = result {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysqlbinlog` (lib) due to 3 previous errors; 60 warnings emitted
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nullable`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata2`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]   |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 &ValueType::Float(f) => {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:250:36
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 &ValueType::Double(f) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 &ValueType::Decimal(ref d) => {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:262:40
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 &ValueType::String(ref i) => {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:281:67
[INFO] [stdout]     |
[INFO] [stdout] 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 {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:300:52
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:300:69
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:300:91
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:306:52
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:306:69
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:306:91
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]   --> src/rowevents/reader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     filename: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `xid` is never read
[INFO] [stdout]   --> src/rowevents/events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct XidEvent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 48 |     xid: i64
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XidEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Box::from_raw(ptr);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:252:25
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:264:25
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:300:100
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:306:100
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Box::from_raw(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysqlbinlog` (lib test) due to 3 previous errors; 60 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b57045c51440d3ec133a629f5d6710a86968f109171a117be6718b0d646ac0e7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b57045c51440d3ec133a629f5d6710a86968f109171a117be6718b0d646ac0e7", kill_on_drop: false }`
[INFO] [stdout] b57045c51440d3ec133a629f5d6710a86968f109171a117be6718b0d646ac0e7
[INFO] checking mysqlbinlog-0.1.5 against try#9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88 for pr-124157
[INFO] extracting crate mysqlbinlog 0.1.5 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate mysqlbinlog 0.1.5 on toolchain 9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mysqlbinlog 0.1.5
[INFO] finished tweaking crates.io crate mysqlbinlog 0.1.5
[INFO] tweaked toml for crates.io crate mysqlbinlog 0.1.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 29 packages to latest compatible versions
[INFO] [stderr]       Adding aho-corasick v0.6.10 (latest: v1.1.3)
[INFO] [stderr]       Adding chrono v0.3.0 (latest: v0.4.38)
[INFO] [stderr]       Adding num v0.1.42 (latest: v0.4.2)
[INFO] [stderr]       Adding regex v0.2.11 (latest: v1.10.4)
[INFO] [stderr]       Adding regex-syntax v0.5.6 (latest: v0.8.3)
[INFO] [stderr]       Adding thread_local v0.3.6 (latest: v1.1.8)
[INFO] [stderr]       Adding time v0.1.45 (latest: v0.3.36)
[INFO] [stderr]       Adding toml v0.4.10 (latest: v0.8.12)
[INFO] [stderr]       Adding ucd-util v0.1.10 (latest: v0.2.1)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 62adc6cc46c3c07ce8a7ce80be714e1d50227a5e853663febc74777ac698f80e
[INFO] running `Command { std: "docker" "start" "-a" "62adc6cc46c3c07ce8a7ce80be714e1d50227a5e853663febc74777ac698f80e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "62adc6cc46c3c07ce8a7ce80be714e1d50227a5e853663febc74777ac698f80e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "62adc6cc46c3c07ce8a7ce80be714e1d50227a5e853663febc74777ac698f80e", kill_on_drop: false }`
[INFO] [stdout] 62adc6cc46c3c07ce8a7ce80be714e1d50227a5e853663febc74777ac698f80e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+9c7b5f5b6b8ec32bbbcf9f07fc0e5208da6c5f88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2ea95733230d42005a1014d6527acafae0f123c293a2616f0a1fe8929ee9781c
[INFO] running `Command { std: "docker" "start" "-a" "2ea95733230d42005a1014d6527acafae0f123c293a2616f0a1fe8929ee9781c", kill_on_drop: false }`
[INFO] [stderr]     Checking ucd-util v0.1.10
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking utf8-ranges v1.0.5
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking chrono v0.3.0
[INFO] [stderr]     Checking mysqlbinlog v0.1.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rowevents::value_type`
[INFO] [stdout]  --> src/rowevents/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rowevents::value_type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]   --> src/rowevents/parser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::option::Option;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]   --> src/rowevents/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::str;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/rowevents/stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/rowevents/stream.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> src/rowevents/event_header.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rowevents::value_type`
[INFO] [stdout]  --> src/rowevents/parser.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rowevents::value_type;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::option::Option`
[INFO] [stdout]   --> src/rowevents/parser.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::option::Option;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str`
[INFO] [stdout]   --> src/rowevents/parser.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::str;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufReader`
[INFO] [stdout]  --> src/rowevents/stream.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::BufReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process`
[INFO] [stdout]  --> src/rowevents/stream.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::process;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDate`
[INFO] [stdout]  --> src/rowevents/event_header.rs:2:29
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |                             ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LittleEndian`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:2:17
[INFO] [stdout]   |
[INFO] [stdout] 2 | use byteorder::{LittleEndian, BigEndian, ReadBytesExt};
[INFO] [stdout]   |                 ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `NaiveDateTime`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use chrono::{NaiveDateTime, NaiveDate};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -         from += (i * 4);
[INFO] [stdout] 67 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -         from += (i * 4);
[INFO] [stdout] 78 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 67 -         from += (i * 4);
[INFO] [stdout] 67 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/rowevents/descriptor_decimal.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |         from += (i * 4);
[INFO] [stdout]    |                 ^     ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 78 -         from += (i * 4);
[INFO] [stdout] 78 +         from += i * 4;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]   --> src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use std::rc::Rc;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/rowevents/reader.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     Event::Rotate(ref e) => {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/rowevents/reader.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 90 |                     Event::Rotate(ref e) => {
[INFO] [stdout]    |                                       ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let data = self.stream.read(eh.get_event_len() - 19);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:106:13
[INFO] [stdout]     |
[INFO] [stdout] 106 |         let data = self.stream.read(eh.get_event_len() - 19);
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                         ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:110:41
[INFO] [stdout]     |
[INFO] [stdout] 110 |     pub fn read_rotate_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                         ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let data = self.stream.read(57);
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_array`
[INFO] [stdout]    --> src/rowevents/parser.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let length_array = self.stream.read(eh.get_event_len() - (57 + 19));
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/rowevents/parser.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 |             let data = self.stream.read(57);
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `length_array`
[INFO] [stdout]    --> src/rowevents/parser.rs:119:13
[INFO] [stdout]     |
[INFO] [stdout] 119 |         let length_array = self.stream.read(eh.get_event_len() - (57 + 19));
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_array`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                      ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `eh`
[INFO] [stdout]    --> src/rowevents/parser.rs:123:38
[INFO] [stdout]     |
[INFO] [stdout] 123 |     pub fn read_xid_event(&mut self, eh: &EventHeader) -> Result<Event> {
[INFO] [stdout]     |                                      ^^ help: if this is intentional, prefix it with an underscore: `_eh`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `db_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut db_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `db_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:132:17
[INFO] [stdout]     |
[INFO] [stdout] 132 |         let mut db_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `table_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut table_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `table_name_len` is never read
[INFO] [stdout]    --> src/rowevents/parser.rs:133:17
[INFO] [stdout]     |
[INFO] [stdout] 133 |         let mut table_name_len = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:141:17
[INFO] [stdout]     |
[INFO] [stdout] 141 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:185:17
[INFO] [stdout]     |
[INFO] [stdout] 185 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]    --> src/rowevents/parser.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 228 |             let offset = 0;
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_data`
[INFO] [stdout]    --> src/rowevents/parser.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let extra_data = self.stream.read(extra_data_len - 2);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `table_id`
[INFO] [stdout]    --> src/rowevents/parser.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 |             let table_id = get_table_id(i1 as i64, i2 as i64, i3 as i64);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `flags`
[INFO] [stdout]    --> src/rowevents/parser.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let flags = cursor.read_i16::<LittleEndian>()?;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `extra_data`
[INFO] [stdout]    --> src/rowevents/parser.rs:262:17
[INFO] [stdout]     |
[INFO] [stdout] 262 |             let extra_data = self.stream.read(extra_data_len - 2);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extra_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_end`
[INFO] [stdout]    --> src/rowevents/parser.rs:354:17
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slice_end`
[INFO] [stdout]    --> src/rowevents/parser.rs:354:17
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |                 ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slice_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rowevents/parser.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/rowevents/parser.rs:354:13
[INFO] [stdout]     |
[INFO] [stdout] 354 |         let mut slice_end = 0;
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut result = File::open(filename);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if let Ok(mut file) = result {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut result = File::open(&next_binlog_filename);
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if let Ok(mut file) = result {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut result = File::open(filename);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:35:19
[INFO] [stdout]    |
[INFO] [stdout] 35 |         if let Ok(mut file) = result {
[INFO] [stdout]    |                   ----^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:51:17
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let mut result = File::open(&next_binlog_filename);
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rowevents/stream.rs:52:23
[INFO] [stdout]    |
[INFO] [stdout] 52 |             if let Ok(mut file) = result {
[INFO] [stdout]    |                       ----^^^^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nullable`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `max_len`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nullable`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:39:36
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub fn parse_field(field_type: u8, nullable: bool, metadata1: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]    |                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nullable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata2`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]   |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metadata2`
[INFO] [stdout]  --> src/rowevents/descriptor_datetime.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn parse_datetime2(ms_precision: u8, metadata2: u8, data: &[u8]) -> Result<(ValueType, usize)> {
[INFO] [stdout]   |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lib.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 95 |     let mut reader = unsafe {
[INFO] [stdout]    |         ----^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 &ValueType::Float(f) => {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:250:36
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 &ValueType::Double(f) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 &ValueType::Decimal(ref d) => {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:262:40
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 &ValueType::String(ref i) => {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:281:67
[INFO] [stdout]     |
[INFO] [stdout] 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 {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:244:35
[INFO] [stdout]     |
[INFO] [stdout] 244 |                 &ValueType::Float(f) => {
[INFO] [stdout]     |                                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]    --> src/lib.rs:250:36
[INFO] [stdout]     |
[INFO] [stdout] 250 |                 &ValueType::Double(f) => {
[INFO] [stdout]     |                                    ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:256:41
[INFO] [stdout]     |
[INFO] [stdout] 256 |                 &ValueType::Decimal(ref d) => {
[INFO] [stdout]     |                                         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/lib.rs:262:40
[INFO] [stdout]     |
[INFO] [stdout] 262 |                 &ValueType::String(ref i) => {
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:300:52
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:300:69
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:300:91
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:306:52
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:306:69
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:306:91
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:281:67
[INFO] [stdout]     |
[INFO] [stdout] 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 {
[INFO] [stdout]     |                                                                   ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:300:52
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:300:69
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:300:91
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]    --> src/lib.rs:306:52
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                    ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `info`
[INFO] [stdout]    --> src/lib.rs:306:69
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_info`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]    --> src/lib.rs:306:91
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]   --> src/rowevents/reader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     filename: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `xid` is never read
[INFO] [stdout]   --> src/rowevents/events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct XidEvent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 48 |     xid: i64
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XidEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `filename` is never read
[INFO] [stdout]   --> src/rowevents/reader.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Reader {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] 12 |     filename: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `xid` is never read
[INFO] [stdout]   --> src/rowevents/events.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct XidEvent {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 48 |     xid: i64
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `XidEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Box::from_raw(ptr);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:252:25
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:264:25
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:300:100
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:306:100
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Box::from_raw(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |         Box::from_raw(ptr);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 43 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:246:25
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 246 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:252:25
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 252 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 258 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:264:25
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 264 |                         let _ = CString::from_raw(content[index].field_value as *mut c_char);
[INFO] [stdout]     |                         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:300:100
[INFO] [stdout]     |
[INFO] [stdout] 300 | pub extern fn binlog_reader_read_delete_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout]     = note: `#[warn(improper_ctypes_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` fn uses type `[FieldInfo]`, which is not FFI-safe
[INFO] [stdout]    --> src/lib.rs:306:100
[INFO] [stdout]     |
[INFO] [stdout] 306 | pub extern fn binlog_reader_read_insert_event_rows(ptr: *mut Event, info: *mut EventInfo, content: &mut [FieldInfo]) -> bool {
[INFO] [stdout]     |                                                                                                    ^^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a raw pointer instead
[INFO] [stdout]     = note: slices have no C equivalent
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/lib.rs:381:9
[INFO] [stdout]     |
[INFO] [stdout] 381 |         Box::from_raw(ptr);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 381 |         let _ = Box::from_raw(ptr);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:11:43
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let max_len = metadata1 + metadata2 * 256;  // 
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout]    = note: `#[deny(overflowing_literals)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: literal out of range for `u8`
[INFO] [stdout]   --> src/rowevents/descriptor.rs:32:43
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let max_len = metadata1 + metadata2 * 256;
[INFO] [stdout]    |                                           ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: the literal `256` does not fit into the type `u8` whose range is `0..=255`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 60 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mysqlbinlog` (lib) due to 3 previous errors; 60 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mysqlbinlog` (lib test) due to 3 previous errors; 60 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2ea95733230d42005a1014d6527acafae0f123c293a2616f0a1fe8929ee9781c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ea95733230d42005a1014d6527acafae0f123c293a2616f0a1fe8929ee9781c", kill_on_drop: false }`
[INFO] [stdout] 2ea95733230d42005a1014d6527acafae0f123c293a2616f0a1fe8929ee9781c
