Aug 30 14:02:06.980 INFO checking i2cdev-l3gd20-0.1.3 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 14:02:06.980 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 14:02:06.981 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 30 14:02:07.154 INFO blam! 9eabd6ef27ea7477722ca78900f9cef9f3a31cfb4cd3d675292095743e795018 Aug 30 14:02:07.156 INFO running `"docker" "start" "-a" "9eabd6ef27ea7477722ca78900f9cef9f3a31cfb4cd3d675292095743e795018"` Aug 30 14:02:07.904 INFO kablam! Checking i2cdev-l3gd20 v0.1.3 (file:///source) Aug 30 14:02:08.719 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:08.719 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:08.719 INFO kablam! | Aug 30 14:02:08.719 INFO kablam! 20 | use std::thread; Aug 30 14:02:08.719 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:08.720 INFO kablam! | Aug 30 14:02:08.720 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:08.720 INFO kablam! Aug 30 14:02:08.720 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:08.721 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:08.721 INFO kablam! | Aug 30 14:02:08.721 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:08.721 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.721 INFO kablam! Aug 30 14:02:08.721 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:08.721 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:08.721 INFO kablam! | Aug 30 14:02:08.721 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:08.721 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.721 INFO kablam! Aug 30 14:02:08.722 INFO kablam! warning: unused import: `BigEndian` Aug 30 14:02:08.722 INFO kablam! --> src/lib.rs:26:28 Aug 30 14:02:08.722 INFO kablam! | Aug 30 14:02:08.722 INFO kablam! 26 | use byteorder::{ByteOrder, BigEndian, LittleEndian}; Aug 30 14:02:08.722 INFO kablam! | ^^^^^^^^^ Aug 30 14:02:08.722 INFO kablam! Aug 30 14:02:08.924 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:08.925 INFO kablam! --> src/lib.rs:146:29 Aug 30 14:02:08.925 INFO kablam! | Aug 30 14:02:08.925 INFO kablam! 146 | pub fn new(mut gyro: T, mut gyro_settings: L3GD20GyroscopeSettings) -> Result, T::Error> { Aug 30 14:02:08.925 INFO kablam! | ----^^^^^^^^^^^^^ Aug 30 14:02:08.925 INFO kablam! | | Aug 30 14:02:08.925 INFO kablam! | help: remove this `mut` Aug 30 14:02:08.925 INFO kablam! | Aug 30 14:02:08.925 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:08.925 INFO kablam! Aug 30 14:02:08.926 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:08.926 INFO kablam! --> src/lib.rs:194:13 Aug 30 14:02:08.926 INFO kablam! | Aug 30 14:02:08.926 INFO kablam! 194 | let mut g_gain: f32; Aug 30 14:02:08.926 INFO kablam! | ----^^^^^^ Aug 30 14:02:08.926 INFO kablam! | | Aug 30 14:02:08.926 INFO kablam! | help: remove this `mut` Aug 30 14:02:08.926 INFO kablam! Aug 30 14:02:08.934 INFO kablam! warning: variant `dps250` should have a camel case name such as `Dps250` Aug 30 14:02:08.934 INFO kablam! --> src/lib.rs:74:5 Aug 30 14:02:08.934 INFO kablam! | Aug 30 14:02:08.934 INFO kablam! 74 | dps250 = 0b00, Aug 30 14:02:08.935 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:08.935 INFO kablam! | Aug 30 14:02:08.935 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:08.935 INFO kablam! Aug 30 14:02:08.935 INFO kablam! warning: variant `dps500` should have a camel case name such as `Dps500` Aug 30 14:02:08.935 INFO kablam! --> src/lib.rs:75:5 Aug 30 14:02:08.935 INFO kablam! | Aug 30 14:02:08.935 INFO kablam! 75 | dps500 = 0b01, Aug 30 14:02:08.935 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:08.935 INFO kablam! Aug 30 14:02:08.935 INFO kablam! warning: variant `dps2000` should have a camel case name such as `Dps2000` Aug 30 14:02:08.935 INFO kablam! --> src/lib.rs:76:5 Aug 30 14:02:08.935 INFO kablam! | Aug 30 14:02:08.935 INFO kablam! 76 | dps2000 = 0b10 Aug 30 14:02:08.935 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:08.935 INFO kablam! Aug 30 14:02:08.936 INFO kablam! warning: variant `HPCF_0` should have a camel case name such as `Hpcf0` Aug 30 14:02:08.936 INFO kablam! --> src/lib.rs:89:5 Aug 30 14:02:08.937 INFO kablam! | Aug 30 14:02:08.937 INFO kablam! 89 | HPCF_0 = 0b0000, Aug 30 14:02:08.937 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.937 INFO kablam! Aug 30 14:02:08.937 INFO kablam! warning: variant `HPCF_1` should have a camel case name such as `Hpcf1` Aug 30 14:02:08.937 INFO kablam! --> src/lib.rs:90:5 Aug 30 14:02:08.937 INFO kablam! | Aug 30 14:02:08.937 INFO kablam! 90 | HPCF_1 = 0b0001, Aug 30 14:02:08.937 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.937 INFO kablam! Aug 30 14:02:08.937 INFO kablam! warning: variant `HPCF_2` should have a camel case name such as `Hpcf2` Aug 30 14:02:08.937 INFO kablam! --> src/lib.rs:91:5 Aug 30 14:02:08.937 INFO kablam! | Aug 30 14:02:08.937 INFO kablam! 91 | HPCF_2 = 0b0010, Aug 30 14:02:08.937 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.937 INFO kablam! Aug 30 14:02:08.937 INFO kablam! warning: variant `HPCF_3` should have a camel case name such as `Hpcf3` Aug 30 14:02:08.937 INFO kablam! --> src/lib.rs:92:5 Aug 30 14:02:08.937 INFO kablam! | Aug 30 14:02:08.937 INFO kablam! 92 | HPCF_3 = 0b0011, Aug 30 14:02:08.937 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.937 INFO kablam! Aug 30 14:02:08.937 INFO kablam! warning: variant `HPCF_4` should have a camel case name such as `Hpcf4` Aug 30 14:02:08.937 INFO kablam! --> src/lib.rs:93:5 Aug 30 14:02:08.938 INFO kablam! | Aug 30 14:02:08.938 INFO kablam! 93 | HPCF_4 = 0b0100, Aug 30 14:02:08.938 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.938 INFO kablam! Aug 30 14:02:08.938 INFO kablam! warning: variant `HPCF_5` should have a camel case name such as `Hpcf5` Aug 30 14:02:08.938 INFO kablam! --> src/lib.rs:94:5 Aug 30 14:02:08.938 INFO kablam! | Aug 30 14:02:08.938 INFO kablam! 94 | HPCF_5 = 0b0101, Aug 30 14:02:08.938 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.938 INFO kablam! Aug 30 14:02:08.938 INFO kablam! warning: variant `HPCF_6` should have a camel case name such as `Hpcf6` Aug 30 14:02:08.938 INFO kablam! --> src/lib.rs:95:5 Aug 30 14:02:08.938 INFO kablam! | Aug 30 14:02:08.938 INFO kablam! 95 | HPCF_6 = 0b0110, Aug 30 14:02:08.938 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.938 INFO kablam! Aug 30 14:02:08.938 INFO kablam! warning: variant `HPCF_7` should have a camel case name such as `Hpcf7` Aug 30 14:02:08.938 INFO kablam! --> src/lib.rs:96:5 Aug 30 14:02:08.938 INFO kablam! | Aug 30 14:02:08.938 INFO kablam! 96 | HPCF_7 = 0b0111, Aug 30 14:02:08.938 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.938 INFO kablam! Aug 30 14:02:08.938 INFO kablam! warning: variant `HPCF_8` should have a camel case name such as `Hpcf8` Aug 30 14:02:08.939 INFO kablam! --> src/lib.rs:97:5 Aug 30 14:02:08.939 INFO kablam! | Aug 30 14:02:08.939 INFO kablam! 97 | HPCF_8 = 0b1000, Aug 30 14:02:08.939 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.939 INFO kablam! Aug 30 14:02:08.939 INFO kablam! warning: variant `HPCF_9` should have a camel case name such as `Hpcf9` Aug 30 14:02:08.939 INFO kablam! --> src/lib.rs:98:5 Aug 30 14:02:08.939 INFO kablam! | Aug 30 14:02:08.939 INFO kablam! 98 | HPCF_9 = 0b1001, Aug 30 14:02:08.939 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:08.939 INFO kablam! Aug 30 14:02:08.939 INFO kablam! warning: structure field `DR` should have a snake case name such as `dr` Aug 30 14:02:08.939 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:08.939 INFO kablam! | Aug 30 14:02:08.939 INFO kablam! 105 | pub DR: L3GD20GyroscopeDataRate, Aug 30 14:02:08.939 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.939 INFO kablam! | Aug 30 14:02:08.939 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 14:02:08.939 INFO kablam! Aug 30 14:02:08.939 INFO kablam! warning: structure field `BW` should have a snake case name such as `bw` Aug 30 14:02:08.939 INFO kablam! --> src/lib.rs:107:5 Aug 30 14:02:08.939 INFO kablam! | Aug 30 14:02:08.939 INFO kablam! 107 | pub BW: L3GD20GyroscopeBandwidth, Aug 30 14:02:08.939 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.939 INFO kablam! Aug 30 14:02:08.951 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:08.952 INFO kablam! --> src/lib.rs:217:9 Aug 30 14:02:08.952 INFO kablam! | Aug 30 14:02:08.952 INFO kablam! 217 | self.gyroscope.write(&[L3GD20_INCREMENT_BIT | L3GD20_OUT]); Aug 30 14:02:08.952 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.952 INFO kablam! | Aug 30 14:02:08.952 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 14:02:08.952 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:08.952 INFO kablam! Aug 30 14:02:08.953 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:08.953 INFO kablam! --> src/lib.rs:218:9 Aug 30 14:02:08.953 INFO kablam! | Aug 30 14:02:08.953 INFO kablam! 218 | self.gyroscope.read(&mut buf); Aug 30 14:02:08.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:08.953 INFO kablam! | Aug 30 14:02:08.953 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:08.953 INFO kablam! Aug 30 14:02:09.150 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:09.150 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:09.150 INFO kablam! | Aug 30 14:02:09.150 INFO kablam! 20 | use std::thread; Aug 30 14:02:09.150 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:09.150 INFO kablam! | Aug 30 14:02:09.150 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:09.150 INFO kablam! Aug 30 14:02:09.150 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:09.150 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:09.150 INFO kablam! | Aug 30 14:02:09.150 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:09.150 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.150 INFO kablam! Aug 30 14:02:09.151 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:09.151 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:09.151 INFO kablam! | Aug 30 14:02:09.151 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:09.151 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.151 INFO kablam! Aug 30 14:02:09.151 INFO kablam! warning: unused import: `BigEndian` Aug 30 14:02:09.151 INFO kablam! --> src/lib.rs:26:28 Aug 30 14:02:09.151 INFO kablam! | Aug 30 14:02:09.151 INFO kablam! 26 | use byteorder::{ByteOrder, BigEndian, LittleEndian}; Aug 30 14:02:09.151 INFO kablam! | ^^^^^^^^^ Aug 30 14:02:09.151 INFO kablam! Aug 30 14:02:09.419 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:09.419 INFO kablam! --> src/lib.rs:146:29 Aug 30 14:02:09.419 INFO kablam! | Aug 30 14:02:09.419 INFO kablam! 146 | pub fn new(mut gyro: T, mut gyro_settings: L3GD20GyroscopeSettings) -> Result, T::Error> { Aug 30 14:02:09.419 INFO kablam! | ----^^^^^^^^^^^^^ Aug 30 14:02:09.419 INFO kablam! | | Aug 30 14:02:09.419 INFO kablam! | help: remove this `mut` Aug 30 14:02:09.420 INFO kablam! | Aug 30 14:02:09.420 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:09.421 INFO kablam! Aug 30 14:02:09.421 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:09.421 INFO kablam! --> src/lib.rs:194:13 Aug 30 14:02:09.421 INFO kablam! | Aug 30 14:02:09.421 INFO kablam! 194 | let mut g_gain: f32; Aug 30 14:02:09.422 INFO kablam! | ----^^^^^^ Aug 30 14:02:09.422 INFO kablam! | | Aug 30 14:02:09.422 INFO kablam! | help: remove this `mut` Aug 30 14:02:09.422 INFO kablam! Aug 30 14:02:09.431 INFO kablam! warning: variant `dps250` should have a camel case name such as `Dps250` Aug 30 14:02:09.431 INFO kablam! --> src/lib.rs:74:5 Aug 30 14:02:09.431 INFO kablam! | Aug 30 14:02:09.431 INFO kablam! 74 | dps250 = 0b00, Aug 30 14:02:09.431 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:09.432 INFO kablam! | Aug 30 14:02:09.433 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:09.433 INFO kablam! Aug 30 14:02:09.433 INFO kablam! warning: variant `dps500` should have a camel case name such as `Dps500` Aug 30 14:02:09.433 INFO kablam! --> src/lib.rs:75:5 Aug 30 14:02:09.433 INFO kablam! | Aug 30 14:02:09.434 INFO kablam! 75 | dps500 = 0b01, Aug 30 14:02:09.434 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:09.434 INFO kablam! Aug 30 14:02:09.435 INFO kablam! warning: variant `dps2000` should have a camel case name such as `Dps2000` Aug 30 14:02:09.435 INFO kablam! --> src/lib.rs:76:5 Aug 30 14:02:09.435 INFO kablam! | Aug 30 14:02:09.435 INFO kablam! 76 | dps2000 = 0b10 Aug 30 14:02:09.435 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:09.435 INFO kablam! Aug 30 14:02:09.436 INFO kablam! warning: variant `HPCF_0` should have a camel case name such as `Hpcf0` Aug 30 14:02:09.436 INFO kablam! --> src/lib.rs:89:5 Aug 30 14:02:09.436 INFO kablam! | Aug 30 14:02:09.436 INFO kablam! 89 | HPCF_0 = 0b0000, Aug 30 14:02:09.436 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.437 INFO kablam! Aug 30 14:02:09.437 INFO kablam! warning: variant `HPCF_1` should have a camel case name such as `Hpcf1` Aug 30 14:02:09.437 INFO kablam! --> src/lib.rs:90:5 Aug 30 14:02:09.437 INFO kablam! | Aug 30 14:02:09.437 INFO kablam! 90 | HPCF_1 = 0b0001, Aug 30 14:02:09.437 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.438 INFO kablam! Aug 30 14:02:09.438 INFO kablam! warning: variant `HPCF_2` should have a camel case name such as `Hpcf2` Aug 30 14:02:09.438 INFO kablam! --> src/lib.rs:91:5 Aug 30 14:02:09.438 INFO kablam! | Aug 30 14:02:09.438 INFO kablam! 91 | HPCF_2 = 0b0010, Aug 30 14:02:09.438 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.439 INFO kablam! Aug 30 14:02:09.439 INFO kablam! warning: variant `HPCF_3` should have a camel case name such as `Hpcf3` Aug 30 14:02:09.439 INFO kablam! --> src/lib.rs:92:5 Aug 30 14:02:09.439 INFO kablam! | Aug 30 14:02:09.439 INFO kablam! 92 | HPCF_3 = 0b0011, Aug 30 14:02:09.439 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.440 INFO kablam! Aug 30 14:02:09.440 INFO kablam! warning: variant `HPCF_4` should have a camel case name such as `Hpcf4` Aug 30 14:02:09.440 INFO kablam! --> src/lib.rs:93:5 Aug 30 14:02:09.440 INFO kablam! | Aug 30 14:02:09.440 INFO kablam! 93 | HPCF_4 = 0b0100, Aug 30 14:02:09.441 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.441 INFO kablam! Aug 30 14:02:09.441 INFO kablam! warning: variant `HPCF_5` should have a camel case name such as `Hpcf5` Aug 30 14:02:09.441 INFO kablam! --> src/lib.rs:94:5 Aug 30 14:02:09.442 INFO kablam! | Aug 30 14:02:09.442 INFO kablam! 94 | HPCF_5 = 0b0101, Aug 30 14:02:09.442 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.442 INFO kablam! Aug 30 14:02:09.443 INFO kablam! warning: variant `HPCF_6` should have a camel case name such as `Hpcf6` Aug 30 14:02:09.443 INFO kablam! --> src/lib.rs:95:5 Aug 30 14:02:09.443 INFO kablam! | Aug 30 14:02:09.443 INFO kablam! 95 | HPCF_6 = 0b0110, Aug 30 14:02:09.443 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.443 INFO kablam! Aug 30 14:02:09.444 INFO kablam! warning: variant `HPCF_7` should have a camel case name such as `Hpcf7` Aug 30 14:02:09.444 INFO kablam! --> src/lib.rs:96:5 Aug 30 14:02:09.444 INFO kablam! | Aug 30 14:02:09.444 INFO kablam! 96 | HPCF_7 = 0b0111, Aug 30 14:02:09.444 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.444 INFO kablam! Aug 30 14:02:09.445 INFO kablam! warning: variant `HPCF_8` should have a camel case name such as `Hpcf8` Aug 30 14:02:09.445 INFO kablam! --> src/lib.rs:97:5 Aug 30 14:02:09.445 INFO kablam! | Aug 30 14:02:09.445 INFO kablam! 97 | HPCF_8 = 0b1000, Aug 30 14:02:09.445 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.445 INFO kablam! Aug 30 14:02:09.446 INFO kablam! warning: variant `HPCF_9` should have a camel case name such as `Hpcf9` Aug 30 14:02:09.446 INFO kablam! --> src/lib.rs:98:5 Aug 30 14:02:09.446 INFO kablam! | Aug 30 14:02:09.446 INFO kablam! 98 | HPCF_9 = 0b1001, Aug 30 14:02:09.446 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 30 14:02:09.446 INFO kablam! Aug 30 14:02:09.447 INFO kablam! warning: structure field `DR` should have a snake case name such as `dr` Aug 30 14:02:09.447 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:09.447 INFO kablam! | Aug 30 14:02:09.447 INFO kablam! 105 | pub DR: L3GD20GyroscopeDataRate, Aug 30 14:02:09.447 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.448 INFO kablam! | Aug 30 14:02:09.448 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 14:02:09.448 INFO kablam! Aug 30 14:02:09.449 INFO kablam! warning: structure field `BW` should have a snake case name such as `bw` Aug 30 14:02:09.449 INFO kablam! --> src/lib.rs:107:5 Aug 30 14:02:09.449 INFO kablam! | Aug 30 14:02:09.449 INFO kablam! 107 | pub BW: L3GD20GyroscopeBandwidth, Aug 30 14:02:09.449 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.450 INFO kablam! Aug 30 14:02:09.465 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:09.465 INFO kablam! --> src/lib.rs:217:9 Aug 30 14:02:09.465 INFO kablam! | Aug 30 14:02:09.465 INFO kablam! 217 | self.gyroscope.write(&[L3GD20_INCREMENT_BIT | L3GD20_OUT]); Aug 30 14:02:09.465 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.466 INFO kablam! | Aug 30 14:02:09.466 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 14:02:09.467 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:09.467 INFO kablam! Aug 30 14:02:09.467 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 14:02:09.468 INFO kablam! --> src/lib.rs:218:9 Aug 30 14:02:09.468 INFO kablam! | Aug 30 14:02:09.468 INFO kablam! 218 | self.gyroscope.read(&mut buf); Aug 30 14:02:09.468 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:09.468 INFO kablam! | Aug 30 14:02:09.468 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 14:02:09.469 INFO kablam! Aug 30 14:02:10.166 INFO kablam! warning: unused import: `Vec3` Aug 30 14:02:10.166 INFO kablam! --> src/main.rs:5:28 Aug 30 14:02:10.166 INFO kablam! | Aug 30 14:02:10.166 INFO kablam! 5 | use i2csensors::{Gyroscope,Vec3}; Aug 30 14:02:10.166 INFO kablam! | ^^^^ Aug 30 14:02:10.166 INFO kablam! | Aug 30 14:02:10.166 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:10.166 INFO kablam! Aug 30 14:02:10.213 INFO kablam! warning: unused import: `Vec3` Aug 30 14:02:10.213 INFO kablam! --> src/main.rs:5:28 Aug 30 14:02:10.213 INFO kablam! | Aug 30 14:02:10.213 INFO kablam! 5 | use i2csensors::{Gyroscope,Vec3}; Aug 30 14:02:10.213 INFO kablam! | ^^^^ Aug 30 14:02:10.213 INFO kablam! | Aug 30 14:02:10.213 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:10.213 INFO kablam! Aug 30 14:02:10.236 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:10.236 INFO kablam! --> src/main.rs:30:9 Aug 30 14:02:10.236 INFO kablam! | Aug 30 14:02:10.236 INFO kablam! 30 | let mut i2cdev = get_linux_l3gd20_i2c_device().unwrap(); Aug 30 14:02:10.236 INFO kablam! | ----^^^^^^ Aug 30 14:02:10.236 INFO kablam! | | Aug 30 14:02:10.236 INFO kablam! | help: remove this `mut` Aug 30 14:02:10.236 INFO kablam! | Aug 30 14:02:10.236 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:10.236 INFO kablam! Aug 30 14:02:10.302 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:10.302 INFO kablam! --> src/main.rs:30:9 Aug 30 14:02:10.302 INFO kablam! | Aug 30 14:02:10.302 INFO kablam! 30 | let mut i2cdev = get_linux_l3gd20_i2c_device().unwrap(); Aug 30 14:02:10.302 INFO kablam! | ----^^^^^^ Aug 30 14:02:10.302 INFO kablam! | | Aug 30 14:02:10.302 INFO kablam! | help: remove this `mut` Aug 30 14:02:10.303 INFO kablam! | Aug 30 14:02:10.303 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:10.303 INFO kablam! Aug 30 14:02:10.317 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.52s Aug 30 14:02:10.323 INFO kablam! su: No module specific data is present Aug 30 14:02:10.778 INFO running `"docker" "rm" "-f" "9eabd6ef27ea7477722ca78900f9cef9f3a31cfb4cd3d675292095743e795018"` Aug 30 14:02:10.865 INFO blam! 9eabd6ef27ea7477722ca78900f9cef9f3a31cfb4cd3d675292095743e795018