[INFO] cloning repository https://github.com/Artem1199/otis-tcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Artem1199/otis-tcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtem1199%2Fotis-tcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtem1199%2Fotis-tcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26e13c5c7a3a1544f5fac511028aa15508fe81b3 [INFO] checking Artem1199/otis-tcp against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArtem1199%2Fotis-tcp" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Artem1199/otis-tcp on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Artem1199/otis-tcp [INFO] finished tweaking git repo https://github.com/Artem1199/otis-tcp [INFO] tweaked toml for git repo https://github.com/Artem1199/otis-tcp written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Artem1199/otis-tcp already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded managed v0.7.1 [INFO] [stderr] Downloaded smoltcp v0.6.0 [INFO] [stderr] Downloaded device_query v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b12f2eb90402899221be25cb02757cd659be676e803d68986998fea853a464e1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b12f2eb90402899221be25cb02757cd659be676e803d68986998fea853a464e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b12f2eb90402899221be25cb02757cd659be676e803d68986998fea853a464e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b12f2eb90402899221be25cb02757cd659be676e803d68986998fea853a464e1", kill_on_drop: false }` [INFO] [stdout] b12f2eb90402899221be25cb02757cd659be676e803d68986998fea853a464e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61307885260db433eaa68409acb32f0a675cc18f8579dbfbdccaf89c06675a09 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "61307885260db433eaa68409acb32f0a675cc18f8579dbfbdccaf89c06675a09", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking ucd-util v0.1.7 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking managed v0.7.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling device_query v0.1.3 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking smoltcp v0.6.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.3 [INFO] [stderr] Checking otis_tcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `Otis_AK` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Otis_AK{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OtisAk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (sent_time.elapsed().as_millis() > 10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | if(keys.contains(&Keycode::I)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | if(keys.contains(&Keycode::K)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | if(keys.contains(&Keycode::O)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | if(keys.contains(&Keycode::L)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | if(keys.contains(&Keycode::J)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | if(keys.contains(&Keycode::P)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | if(keys.contains(&Keycode::F)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Otis_AK` should have an upper camel case name [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Otis_AK{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `OtisAk` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | if (sent_time.elapsed().as_millis() > 10){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 99 | if(keys.contains(&Keycode::I)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | if(keys.contains(&Keycode::K)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | if(keys.contains(&Keycode::O)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | if(keys.contains(&Keycode::L)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | if(keys.contains(&Keycode::J)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | if(keys.contains(&Keycode::P)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | if(keys.contains(&Keycode::F)){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | let mut p = [data[0] as u8, data[1] as u8]; [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/main.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | let mut y = [data[2] as u8, data[3] as u8]; [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/main.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | let mut o = [data[4] as u8, data[5] as u8]; [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/main.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | let mut g = [data[6] as u8, data[7] as u8]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:109:21 [INFO] [stdout] | [INFO] [stdout] 109 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sent_time` [INFO] [stdout] --> src/main.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let sent_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sent_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | let mut p = [data[0] as u8, data[1] as u8]; [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/main.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | let mut y = [data[2] as u8, data[3] as u8]; [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/main.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | let mut o = [data[4] as u8, data[5] as u8]; [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/main.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | let mut g = [data[6] as u8, data[7] as u8]; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PITCH` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub PITCH: f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YAW` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub YAW: f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub OUTPUT1: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub OUTPUT2: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PITCH` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | PITCH: &'a f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `YAW` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | YAW: &'a f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | OUTPUT1: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | OUTPUT2: &'a f32,) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PITCH` should have a snake case name [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub PITCH: f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YAW` should have a snake case name [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub YAW: f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub OUTPUT1: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub OUTPUT2: f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `PITCH` should have a snake case name [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | PITCH: &'a f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `YAW` should have a snake case name [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | YAW: &'a f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | OUTPUT1: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | OUTPUT2: &'a f32,) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | / diesel::insert_into(OtisData::table) [INFO] [stdout] 49 | | .values(&new_data) [INFO] [stdout] 50 | | .execute(conn); //alt use get_result() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | stream.read(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | stream.read(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | stream.write(&[1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | stream.write(&[2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | stream.write(&[3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | stream.write(&[4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | stream.write(&[5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | stream.write(&[6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | stream.write(&[7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `OtisData` should have a snake case name [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | OtisData (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `otis_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PITCH` should have a snake case name [INFO] [stdout] --> src/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub PITCH: &'a f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YAW` should have a snake case name [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub YAW: &'a f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/models.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub OUTPUT1: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub OUTPUT2: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | / diesel::insert_into(OtisData::table) [INFO] [stdout] 49 | | .values(&new_data) [INFO] [stdout] 50 | | .execute(conn); //alt use get_result() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | stream.read(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | stream.read(&mut data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | stream.write(&[1]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | stream.write(&[2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | stream.write(&[3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | stream.write(&[4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | stream.write(&[5]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | stream.write(&[6]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | stream.write(&[7]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `OtisData` should have a snake case name [INFO] [stdout] --> src/schema.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | OtisData (id) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `otis_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PITCH` should have a snake case name [INFO] [stdout] --> src/models.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub PITCH: &'a f32, [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `pitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `YAW` should have a snake case name [INFO] [stdout] --> src/models.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub YAW: &'a f32, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `yaw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT1` should have a snake case name [INFO] [stdout] --> src/models.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub OUTPUT1: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OUTPUT2` should have a snake case name [INFO] [stdout] --> src/models.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub OUTPUT2: &'a f32, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `output2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 21s [INFO] running `Command { std: "docker" "inspect" "61307885260db433eaa68409acb32f0a675cc18f8579dbfbdccaf89c06675a09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61307885260db433eaa68409acb32f0a675cc18f8579dbfbdccaf89c06675a09", kill_on_drop: false }` [INFO] [stdout] 61307885260db433eaa68409acb32f0a675cc18f8579dbfbdccaf89c06675a09