Aug 30 14:02:05.093 INFO checking i2cdev-lsm303d-0.1.2 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 14:02:05.093 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 14:02:05.093 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-2/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-2/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:05.269 INFO blam! 3deabc0db4159e06be8ff944a31beacf52f353edb52c0af3c0384128b48a4f1d Aug 30 14:02:05.271 INFO running `"docker" "start" "-a" "3deabc0db4159e06be8ff944a31beacf52f353edb52c0af3c0384128b48a4f1d"` Aug 30 14:02:06.009 INFO kablam! Checking i2cdev-lsm303d v0.1.2 (file:///source) Aug 30 14:02:06.883 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:06.883 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:06.883 INFO kablam! | Aug 30 14:02:06.884 INFO kablam! 20 | use std::thread; Aug 30 14:02:06.884 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:06.884 INFO kablam! | Aug 30 14:02:06.884 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:06.884 INFO kablam! Aug 30 14:02:06.884 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:06.884 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:06.884 INFO kablam! | Aug 30 14:02:06.884 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:06.884 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:06.884 INFO kablam! Aug 30 14:02:06.884 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:06.884 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:06.884 INFO kablam! | Aug 30 14:02:06.884 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:06.884 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:06.884 INFO kablam! Aug 30 14:02:07.018 INFO kablam! warning: unused import: `std::thread` Aug 30 14:02:07.018 INFO kablam! --> src/lib.rs:20:5 Aug 30 14:02:07.018 INFO kablam! | Aug 30 14:02:07.018 INFO kablam! 20 | use std::thread; Aug 30 14:02:07.018 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:07.018 INFO kablam! | Aug 30 14:02:07.018 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 14:02:07.018 INFO kablam! Aug 30 14:02:07.018 INFO kablam! warning: unused import: `std::time::Duration` Aug 30 14:02:07.018 INFO kablam! --> src/lib.rs:21:5 Aug 30 14:02:07.018 INFO kablam! | Aug 30 14:02:07.018 INFO kablam! 21 | use std::time::Duration; Aug 30 14:02:07.018 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Aug 30 14:02:07.018 INFO kablam! Aug 30 14:02:07.018 INFO kablam! warning: unused import: `std::error::Error` Aug 30 14:02:07.018 INFO kablam! --> src/lib.rs:22:5 Aug 30 14:02:07.019 INFO kablam! | Aug 30 14:02:07.019 INFO kablam! 22 | use std::error::Error; Aug 30 14:02:07.019 INFO kablam! | ^^^^^^^^^^^^^^^^^ Aug 30 14:02:07.019 INFO kablam! Aug 30 14:02:07.101 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.101 INFO kablam! --> src/lib.rs:152:34 Aug 30 14:02:07.101 INFO kablam! | Aug 30 14:02:07.101 INFO kablam! 152 | pub fn new(mut accel_mag: T, mut accel_mag_settings: LSM303DSettings) -> Result, T::Error> { Aug 30 14:02:07.101 INFO kablam! | ----^^^^^^^^^^^^^^^^^^ Aug 30 14:02:07.101 INFO kablam! | | Aug 30 14:02:07.101 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.101 INFO kablam! | Aug 30 14:02:07.101 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:07.101 INFO kablam! Aug 30 14:02:07.101 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.101 INFO kablam! --> src/lib.rs:164:13 Aug 30 14:02:07.101 INFO kablam! | Aug 30 14:02:07.101 INFO kablam! 164 | let mut ctrl_reg2: u8 = 0_u8 | ((accel_mag_settings.accelerometer_sensitivity as u8) << 3) | ((accel_mag_settings.accelerometer_anti_alias_filter_bandwidth as u8) << 6); Aug 30 14:02:07.101 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.101 INFO kablam! | | Aug 30 14:02:07.101 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.101 INFO kablam! Aug 30 14:02:07.102 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.102 INFO kablam! --> src/lib.rs:167:13 Aug 30 14:02:07.102 INFO kablam! | Aug 30 14:02:07.102 INFO kablam! 167 | let mut ctrl_reg5: u8 = 0_u8 | ((accel_mag_settings.magnetometer_resolution as u8) << 5) | ((accel_mag_settings.magnetometer_data_rate as u8) << 2); //24 Aug 30 14:02:07.102 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.102 INFO kablam! | | Aug 30 14:02:07.102 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.102 INFO kablam! Aug 30 14:02:07.102 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.103 INFO kablam! --> src/lib.rs:170:13 Aug 30 14:02:07.103 INFO kablam! | Aug 30 14:02:07.103 INFO kablam! 170 | let mut ctrl_reg6: u8 = 0_u8 | ((accel_mag_settings.magnetometer_sensitivity as u8) << 5); Aug 30 14:02:07.104 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.104 INFO kablam! | | Aug 30 14:02:07.104 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.104 INFO kablam! Aug 30 14:02:07.104 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.104 INFO kablam! --> src/lib.rs:179:13 Aug 30 14:02:07.104 INFO kablam! | Aug 30 14:02:07.104 INFO kablam! 179 | let mut a_gain: f32; Aug 30 14:02:07.104 INFO kablam! | ----^^^^^^ Aug 30 14:02:07.104 INFO kablam! | | Aug 30 14:02:07.104 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.104 INFO kablam! Aug 30 14:02:07.104 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.104 INFO kablam! --> src/lib.rs:180:13 Aug 30 14:02:07.104 INFO kablam! | Aug 30 14:02:07.104 INFO kablam! 180 | let mut m_gain: f32; Aug 30 14:02:07.105 INFO kablam! | ----^^^^^^ Aug 30 14:02:07.105 INFO kablam! | | Aug 30 14:02:07.105 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.105 INFO kablam! Aug 30 14:02:07.112 INFO kablam! warning: variant `g2` should have a camel case name such as `G2` Aug 30 14:02:07.112 INFO kablam! --> src/lib.rs:68:5 Aug 30 14:02:07.112 INFO kablam! | Aug 30 14:02:07.112 INFO kablam! 68 | g2 = 0b000, Aug 30 14:02:07.112 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.112 INFO kablam! | Aug 30 14:02:07.112 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:07.112 INFO kablam! Aug 30 14:02:07.112 INFO kablam! warning: variant `g4` should have a camel case name such as `G4` Aug 30 14:02:07.112 INFO kablam! --> src/lib.rs:69:5 Aug 30 14:02:07.112 INFO kablam! | Aug 30 14:02:07.112 INFO kablam! 69 | g4 = 0b001, Aug 30 14:02:07.112 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.112 INFO kablam! Aug 30 14:02:07.112 INFO kablam! warning: variant `g6` should have a camel case name such as `G6` Aug 30 14:02:07.112 INFO kablam! --> src/lib.rs:70:5 Aug 30 14:02:07.112 INFO kablam! | Aug 30 14:02:07.112 INFO kablam! 70 | g6 = 0b010, Aug 30 14:02:07.112 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.113 INFO kablam! Aug 30 14:02:07.113 INFO kablam! warning: variant `g8` should have a camel case name such as `G8` Aug 30 14:02:07.113 INFO kablam! --> src/lib.rs:71:5 Aug 30 14:02:07.113 INFO kablam! | Aug 30 14:02:07.113 INFO kablam! 71 | g8 = 0b011, Aug 30 14:02:07.113 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.113 INFO kablam! Aug 30 14:02:07.113 INFO kablam! warning: variant `g16` should have a camel case name such as `G16` Aug 30 14:02:07.113 INFO kablam! --> src/lib.rs:72:5 Aug 30 14:02:07.113 INFO kablam! | Aug 30 14:02:07.113 INFO kablam! 72 | g16 = 0b100 Aug 30 14:02:07.113 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:07.113 INFO kablam! Aug 30 14:02:07.113 INFO kablam! warning: variant `gauss2` should have a camel case name such as `Gauss2` Aug 30 14:02:07.113 INFO kablam! --> src/lib.rs:102:5 Aug 30 14:02:07.113 INFO kablam! | Aug 30 14:02:07.113 INFO kablam! 102 | gauss2 = 0b00, Aug 30 14:02:07.113 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.113 INFO kablam! Aug 30 14:02:07.113 INFO kablam! warning: variant `gauss4` should have a camel case name such as `Gauss4` Aug 30 14:02:07.113 INFO kablam! --> src/lib.rs:103:5 Aug 30 14:02:07.113 INFO kablam! | Aug 30 14:02:07.113 INFO kablam! 103 | gauss4 = 0b01, Aug 30 14:02:07.114 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.114 INFO kablam! Aug 30 14:02:07.114 INFO kablam! warning: variant `gauss8` should have a camel case name such as `Gauss8` Aug 30 14:02:07.114 INFO kablam! --> src/lib.rs:104:5 Aug 30 14:02:07.114 INFO kablam! | Aug 30 14:02:07.114 INFO kablam! 104 | gauss8 = 0b10, Aug 30 14:02:07.114 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.114 INFO kablam! Aug 30 14:02:07.114 INFO kablam! warning: variant `gauss12` should have a camel case name such as `Gauss12` Aug 30 14:02:07.114 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:07.114 INFO kablam! | Aug 30 14:02:07.114 INFO kablam! 105 | gauss12 = 0b11 Aug 30 14:02:07.114 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:07.114 INFO kablam! Aug 30 14:02:07.252 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.252 INFO kablam! --> src/lib.rs:152:34 Aug 30 14:02:07.252 INFO kablam! | Aug 30 14:02:07.252 INFO kablam! 152 | pub fn new(mut accel_mag: T, mut accel_mag_settings: LSM303DSettings) -> Result, T::Error> { Aug 30 14:02:07.252 INFO kablam! | ----^^^^^^^^^^^^^^^^^^ Aug 30 14:02:07.252 INFO kablam! | | Aug 30 14:02:07.252 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.252 INFO kablam! | Aug 30 14:02:07.252 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:07.252 INFO kablam! Aug 30 14:02:07.252 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.253 INFO kablam! --> src/lib.rs:164:13 Aug 30 14:02:07.253 INFO kablam! | Aug 30 14:02:07.253 INFO kablam! 164 | let mut ctrl_reg2: u8 = 0_u8 | ((accel_mag_settings.accelerometer_sensitivity as u8) << 3) | ((accel_mag_settings.accelerometer_anti_alias_filter_bandwidth as u8) << 6); Aug 30 14:02:07.253 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.253 INFO kablam! | | Aug 30 14:02:07.253 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.253 INFO kablam! Aug 30 14:02:07.253 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.253 INFO kablam! --> src/lib.rs:167:13 Aug 30 14:02:07.253 INFO kablam! | Aug 30 14:02:07.253 INFO kablam! 167 | let mut ctrl_reg5: u8 = 0_u8 | ((accel_mag_settings.magnetometer_resolution as u8) << 5) | ((accel_mag_settings.magnetometer_data_rate as u8) << 2); //24 Aug 30 14:02:07.253 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.253 INFO kablam! | | Aug 30 14:02:07.253 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.253 INFO kablam! Aug 30 14:02:07.253 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.253 INFO kablam! --> src/lib.rs:170:13 Aug 30 14:02:07.253 INFO kablam! | Aug 30 14:02:07.253 INFO kablam! 170 | let mut ctrl_reg6: u8 = 0_u8 | ((accel_mag_settings.magnetometer_sensitivity as u8) << 5); Aug 30 14:02:07.253 INFO kablam! | ----^^^^^^^^^ Aug 30 14:02:07.253 INFO kablam! | | Aug 30 14:02:07.253 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.253 INFO kablam! Aug 30 14:02:07.253 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.254 INFO kablam! --> src/lib.rs:179:13 Aug 30 14:02:07.254 INFO kablam! | Aug 30 14:02:07.254 INFO kablam! 179 | let mut a_gain: f32; Aug 30 14:02:07.254 INFO kablam! | ----^^^^^^ Aug 30 14:02:07.254 INFO kablam! | | Aug 30 14:02:07.254 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.254 INFO kablam! Aug 30 14:02:07.254 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:07.254 INFO kablam! --> src/lib.rs:180:13 Aug 30 14:02:07.254 INFO kablam! | Aug 30 14:02:07.254 INFO kablam! 180 | let mut m_gain: f32; Aug 30 14:02:07.254 INFO kablam! | ----^^^^^^ Aug 30 14:02:07.254 INFO kablam! | | Aug 30 14:02:07.254 INFO kablam! | help: remove this `mut` Aug 30 14:02:07.254 INFO kablam! Aug 30 14:02:07.262 INFO kablam! warning: variant `g2` should have a camel case name such as `G2` Aug 30 14:02:07.262 INFO kablam! --> src/lib.rs:68:5 Aug 30 14:02:07.262 INFO kablam! | Aug 30 14:02:07.262 INFO kablam! 68 | g2 = 0b000, Aug 30 14:02:07.262 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.262 INFO kablam! | Aug 30 14:02:07.262 INFO kablam! = note: #[warn(non_camel_case_types)] on by default Aug 30 14:02:07.262 INFO kablam! Aug 30 14:02:07.262 INFO kablam! warning: variant `g4` should have a camel case name such as `G4` Aug 30 14:02:07.262 INFO kablam! --> src/lib.rs:69:5 Aug 30 14:02:07.262 INFO kablam! | Aug 30 14:02:07.262 INFO kablam! 69 | g4 = 0b001, Aug 30 14:02:07.262 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.262 INFO kablam! Aug 30 14:02:07.262 INFO kablam! warning: variant `g6` should have a camel case name such as `G6` Aug 30 14:02:07.262 INFO kablam! --> src/lib.rs:70:5 Aug 30 14:02:07.262 INFO kablam! | Aug 30 14:02:07.262 INFO kablam! 70 | g6 = 0b010, Aug 30 14:02:07.262 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.262 INFO kablam! Aug 30 14:02:07.262 INFO kablam! warning: variant `g8` should have a camel case name such as `G8` Aug 30 14:02:07.262 INFO kablam! --> src/lib.rs:71:5 Aug 30 14:02:07.262 INFO kablam! | Aug 30 14:02:07.263 INFO kablam! 71 | g8 = 0b011, Aug 30 14:02:07.263 INFO kablam! | ^^^^^^^^^^ Aug 30 14:02:07.263 INFO kablam! Aug 30 14:02:07.263 INFO kablam! warning: variant `g16` should have a camel case name such as `G16` Aug 30 14:02:07.263 INFO kablam! --> src/lib.rs:72:5 Aug 30 14:02:07.263 INFO kablam! | Aug 30 14:02:07.263 INFO kablam! 72 | g16 = 0b100 Aug 30 14:02:07.263 INFO kablam! | ^^^^^^^^^^^ Aug 30 14:02:07.263 INFO kablam! Aug 30 14:02:07.263 INFO kablam! warning: variant `gauss2` should have a camel case name such as `Gauss2` Aug 30 14:02:07.263 INFO kablam! --> src/lib.rs:102:5 Aug 30 14:02:07.263 INFO kablam! | Aug 30 14:02:07.263 INFO kablam! 102 | gauss2 = 0b00, Aug 30 14:02:07.263 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.263 INFO kablam! Aug 30 14:02:07.263 INFO kablam! warning: variant `gauss4` should have a camel case name such as `Gauss4` Aug 30 14:02:07.263 INFO kablam! --> src/lib.rs:103:5 Aug 30 14:02:07.263 INFO kablam! | Aug 30 14:02:07.263 INFO kablam! 103 | gauss4 = 0b01, Aug 30 14:02:07.263 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.263 INFO kablam! Aug 30 14:02:07.263 INFO kablam! warning: variant `gauss8` should have a camel case name such as `Gauss8` Aug 30 14:02:07.264 INFO kablam! --> src/lib.rs:104:5 Aug 30 14:02:07.264 INFO kablam! | Aug 30 14:02:07.264 INFO kablam! 104 | gauss8 = 0b10, Aug 30 14:02:07.264 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 14:02:07.264 INFO kablam! Aug 30 14:02:07.264 INFO kablam! warning: variant `gauss12` should have a camel case name such as `Gauss12` Aug 30 14:02:07.264 INFO kablam! --> src/lib.rs:105:5 Aug 30 14:02:07.264 INFO kablam! | Aug 30 14:02:07.264 INFO kablam! 105 | gauss12 = 0b11 Aug 30 14:02:07.264 INFO kablam! | ^^^^^^^^^^^^^^ Aug 30 14:02:07.264 INFO kablam! Aug 30 14:02:08.252 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:08.252 INFO kablam! --> src/main.rs:31:9 Aug 30 14:02:08.252 INFO kablam! | Aug 30 14:02:08.252 INFO kablam! 31 | let mut i2cdev = get_linux_lsm303d_i2c_device().unwrap(); Aug 30 14:02:08.252 INFO kablam! | ----^^^^^^ Aug 30 14:02:08.252 INFO kablam! | | Aug 30 14:02:08.252 INFO kablam! | help: remove this `mut` Aug 30 14:02:08.252 INFO kablam! | Aug 30 14:02:08.252 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:08.252 INFO kablam! Aug 30 14:02:08.346 INFO kablam! warning: variable does not need to be mutable Aug 30 14:02:08.346 INFO kablam! --> src/main.rs:31:9 Aug 30 14:02:08.346 INFO kablam! | Aug 30 14:02:08.346 INFO kablam! 31 | let mut i2cdev = get_linux_lsm303d_i2c_device().unwrap(); Aug 30 14:02:08.346 INFO kablam! | ----^^^^^^ Aug 30 14:02:08.346 INFO kablam! | | Aug 30 14:02:08.346 INFO kablam! | help: remove this `mut` Aug 30 14:02:08.346 INFO kablam! | Aug 30 14:02:08.346 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 14:02:08.346 INFO kablam! Aug 30 14:02:08.361 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.46s Aug 30 14:02:08.370 INFO kablam! su: No module specific data is present Aug 30 14:02:08.874 INFO running `"docker" "rm" "-f" "3deabc0db4159e06be8ff944a31beacf52f353edb52c0af3c0384128b48a4f1d"` Aug 30 14:02:09.014 INFO blam! 3deabc0db4159e06be8ff944a31beacf52f353edb52c0af3c0384128b48a4f1d