Aug 30 04:30:17.377 INFO checking rust-image-to-ascii-0.1.0 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 30 04:30:17.377 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 30 04:30:17.377 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 04:30:17.575 INFO blam! fac7df675e8e01925bfdb88d5e0cea7851b4731b2d89e20b985b97fef453ded4 Aug 30 04:30:17.576 INFO running `"docker" "start" "-a" "fac7df675e8e01925bfdb88d5e0cea7851b4731b2d89e20b985b97fef453ded4"` Aug 30 04:30:18.418 INFO kablam! Checking image v0.10.4 Aug 30 04:30:22.160 INFO kablam! Checking raster v0.2.0 Aug 30 04:30:24.736 INFO kablam! Checking rust-image-to-ascii v0.1.0 (file:///source) Aug 30 04:30:29.862 INFO kablam! warning: unused import: `raster::Image` Aug 30 04:30:29.862 INFO kablam! --> src/main.rs:4:5 Aug 30 04:30:29.862 INFO kablam! | Aug 30 04:30:29.862 INFO kablam! 4 | use raster::Image; Aug 30 04:30:29.862 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:29.862 INFO kablam! | Aug 30 04:30:29.862 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 04:30:29.862 INFO kablam! Aug 30 04:30:29.863 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:29.863 INFO kablam! --> src/main.rs:57:8 Aug 30 04:30:29.863 INFO kablam! | Aug 30 04:30:29.863 INFO kablam! 57 | if (type_str == "image/jpeg") { Aug 30 04:30:29.863 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:29.863 INFO kablam! | Aug 30 04:30:29.863 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 04:30:29.863 INFO kablam! Aug 30 04:30:29.863 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:29.863 INFO kablam! --> src/main.rs:61:8 Aug 30 04:30:29.863 INFO kablam! | Aug 30 04:30:29.863 INFO kablam! 61 | if (type_str == "image/png") { Aug 30 04:30:29.863 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:29.863 INFO kablam! Aug 30 04:30:29.918 INFO kablam! warning: unused import: `raster::Image` Aug 30 04:30:29.918 INFO kablam! --> src/main.rs:4:5 Aug 30 04:30:29.918 INFO kablam! | Aug 30 04:30:29.919 INFO kablam! 4 | use raster::Image; Aug 30 04:30:29.919 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:29.919 INFO kablam! | Aug 30 04:30:29.919 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 04:30:29.919 INFO kablam! Aug 30 04:30:29.919 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:29.919 INFO kablam! --> src/main.rs:57:8 Aug 30 04:30:29.920 INFO kablam! | Aug 30 04:30:29.920 INFO kablam! 57 | if (type_str == "image/jpeg") { Aug 30 04:30:29.920 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:29.920 INFO kablam! | Aug 30 04:30:29.920 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 04:30:29.920 INFO kablam! Aug 30 04:30:29.920 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:29.920 INFO kablam! --> src/main.rs:61:8 Aug 30 04:30:29.920 INFO kablam! | Aug 30 04:30:29.920 INFO kablam! 61 | if (type_str == "image/png") { Aug 30 04:30:29.920 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:29.920 INFO kablam! Aug 30 04:30:30.221 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.221 INFO kablam! --> src/main.rs:86:9 Aug 30 04:30:30.221 INFO kablam! | Aug 30 04:30:30.222 INFO kablam! 86 | for i in 0..size { Aug 30 04:30:30.222 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.222 INFO kablam! | Aug 30 04:30:30.222 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 04:30:30.222 INFO kablam! Aug 30 04:30:30.223 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.223 INFO kablam! --> src/main.rs:138:9 Aug 30 04:30:30.223 INFO kablam! | Aug 30 04:30:30.223 INFO kablam! 138 | for i in 0..max_size { Aug 30 04:30:30.223 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.223 INFO kablam! Aug 30 04:30:30.224 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.224 INFO kablam! --> src/main.rs:86:9 Aug 30 04:30:30.224 INFO kablam! | Aug 30 04:30:30.224 INFO kablam! 86 | for i in 0..size { Aug 30 04:30:30.224 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.224 INFO kablam! | Aug 30 04:30:30.225 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 04:30:30.225 INFO kablam! Aug 30 04:30:30.225 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.225 INFO kablam! --> src/main.rs:138:9 Aug 30 04:30:30.225 INFO kablam! | Aug 30 04:30:30.225 INFO kablam! 138 | for i in 0..max_size { Aug 30 04:30:30.225 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.225 INFO kablam! Aug 30 04:30:30.254 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.254 INFO kablam! --> src/main.rs:90:9 Aug 30 04:30:30.254 INFO kablam! | Aug 30 04:30:30.254 INFO kablam! 90 | let mut chars_s = " .-:*+=%@#"; Aug 30 04:30:30.254 INFO kablam! | ----^^^^^^^ Aug 30 04:30:30.254 INFO kablam! | | Aug 30 04:30:30.254 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.254 INFO kablam! | Aug 30 04:30:30.254 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 04:30:30.254 INFO kablam! Aug 30 04:30:30.254 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.254 INFO kablam! --> src/main.rs:91:9 Aug 30 04:30:30.255 INFO kablam! | Aug 30 04:30:30.255 INFO kablam! 91 | let mut chars = chars_s.chars(); Aug 30 04:30:30.255 INFO kablam! | ----^^^^^ Aug 30 04:30:30.255 INFO kablam! | | Aug 30 04:30:30.255 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.255 INFO kablam! Aug 30 04:30:30.255 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.255 INFO kablam! --> src/main.rs:90:9 Aug 30 04:30:30.255 INFO kablam! | Aug 30 04:30:30.255 INFO kablam! 90 | let mut chars_s = " .-:*+=%@#"; Aug 30 04:30:30.255 INFO kablam! | ----^^^^^^^ Aug 30 04:30:30.255 INFO kablam! | | Aug 30 04:30:30.255 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.255 INFO kablam! | Aug 30 04:30:30.255 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 04:30:30.255 INFO kablam! Aug 30 04:30:30.255 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.255 INFO kablam! --> src/main.rs:91:9 Aug 30 04:30:30.255 INFO kablam! | Aug 30 04:30:30.255 INFO kablam! 91 | let mut chars = chars_s.chars(); Aug 30 04:30:30.255 INFO kablam! | ----^^^^^ Aug 30 04:30:30.255 INFO kablam! | | Aug 30 04:30:30.256 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.256 INFO kablam! Aug 30 04:30:30.267 INFO kablam! warning: function is never used: `test_save` Aug 30 04:30:30.267 INFO kablam! --> src/main.rs:117:1 Aug 30 04:30:30.267 INFO kablam! | Aug 30 04:30:30.267 INFO kablam! 117 | fn test_save(avg: Vec>, size: i32) Aug 30 04:30:30.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.267 INFO kablam! | Aug 30 04:30:30.267 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 04:30:30.267 INFO kablam! Aug 30 04:30:30.267 INFO kablam! warning: function is never used: `test_save` Aug 30 04:30:30.267 INFO kablam! --> src/main.rs:117:1 Aug 30 04:30:30.268 INFO kablam! | Aug 30 04:30:30.268 INFO kablam! 117 | fn test_save(avg: Vec>, size: i32) Aug 30 04:30:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.268 INFO kablam! | Aug 30 04:30:30.268 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 04:30:30.268 INFO kablam! Aug 30 04:30:30.268 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.268 INFO kablam! --> src/main.rs:78:5 Aug 30 04:30:30.268 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! 78 | file.write_all(&buf[..]); Aug 30 04:30:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.269 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 04:30:30.269 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.269 INFO kablam! Aug 30 04:30:30.269 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.269 INFO kablam! --> src/main.rs:78:5 Aug 30 04:30:30.269 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! 78 | file.write_all(&buf[..]); Aug 30 04:30:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.269 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 04:30:30.269 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.269 INFO kablam! Aug 30 04:30:30.269 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.269 INFO kablam! --> src/main.rs:122:13 Aug 30 04:30:30.269 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! 122 | image.set_pixel(row, col, Color {r: 0, g: 0, b: 0, a: avg[(size - row - 1) as usize][(size - col - 1) as usize] as u8}); Aug 30 04:30:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.269 INFO kablam! | Aug 30 04:30:30.269 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.269 INFO kablam! Aug 30 04:30:30.270 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.270 INFO kablam! --> src/main.rs:122:13 Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.270 INFO kablam! 122 | image.set_pixel(row, col, Color {r: 0, g: 0, b: 0, a: avg[(size - row - 1) as usize][(size - col - 1) as usize] as u8}); Aug 30 04:30:30.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.270 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.270 INFO kablam! Aug 30 04:30:30.270 INFO kablam! warning: variable `imageLocation` should have a snake case name such as `image_location` Aug 30 04:30:30.270 INFO kablam! --> src/main.rs:128:12 Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.270 INFO kablam! 128 | fn process(imageLocation: &String) Aug 30 04:30:30.270 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.270 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 04:30:30.270 INFO kablam! Aug 30 04:30:30.270 INFO kablam! warning: variable `imageLocation` should have a snake case name such as `image_location` Aug 30 04:30:30.270 INFO kablam! --> src/main.rs:128:12 Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.270 INFO kablam! 128 | fn process(imageLocation: &String) Aug 30 04:30:30.270 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.270 INFO kablam! | Aug 30 04:30:30.271 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 04:30:30.271 INFO kablam! Aug 30 04:30:30.302 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 12.18s Aug 30 04:30:30.317 INFO kablam! su: No module specific data is present Aug 30 04:30:30.747 INFO running `"docker" "rm" "-f" "fac7df675e8e01925bfdb88d5e0cea7851b4731b2d89e20b985b97fef453ded4"` Aug 30 04:30:30.879 INFO blam! fac7df675e8e01925bfdb88d5e0cea7851b4731b2d89e20b985b97fef453ded4