Aug 30 04:30:17.460 INFO checking rust-image-to-ascii-0.1.0 against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 30 04:30:17.460 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 30 04:30:17.461 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-1/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-1/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/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 +545f22340f72ee0efaf6463efb43a2840e3d35db-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.616 INFO blam! 44e9d02d0d979adc96a1f1e2656098c24840eb6ec0a7f5722cf29db084f21fa6 Aug 30 04:30:17.616 INFO running `"docker" "start" "-a" "44e9d02d0d979adc96a1f1e2656098c24840eb6ec0a7f5722cf29db084f21fa6"` Aug 30 04:30:18.489 INFO kablam! Checking image v0.10.4 Aug 30 04:30:22.077 INFO kablam! Checking raster v0.2.0 Aug 30 04:30:24.758 INFO kablam! Checking rust-image-to-ascii v0.1.0 (file:///source) Aug 30 04:30:30.083 INFO kablam! warning: unused import: `raster::Image` Aug 30 04:30:30.083 INFO kablam! --> src/main.rs:4:5 Aug 30 04:30:30.083 INFO kablam! | Aug 30 04:30:30.083 INFO kablam! 4 | use raster::Image; Aug 30 04:30:30.084 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.084 INFO kablam! | Aug 30 04:30:30.084 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 04:30:30.084 INFO kablam! Aug 30 04:30:30.084 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:30.084 INFO kablam! --> src/main.rs:57:8 Aug 30 04:30:30.084 INFO kablam! | Aug 30 04:30:30.084 INFO kablam! 57 | if (type_str == "image/jpeg") { Aug 30 04:30:30.085 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:30.085 INFO kablam! | Aug 30 04:30:30.085 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 04:30:30.085 INFO kablam! Aug 30 04:30:30.085 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:30.085 INFO kablam! --> src/main.rs:61:8 Aug 30 04:30:30.085 INFO kablam! | Aug 30 04:30:30.085 INFO kablam! 61 | if (type_str == "image/png") { Aug 30 04:30:30.085 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:30.085 INFO kablam! Aug 30 04:30:30.288 INFO kablam! warning: unused import: `raster::Image` Aug 30 04:30:30.289 INFO kablam! --> src/main.rs:4:5 Aug 30 04:30:30.289 INFO kablam! | Aug 30 04:30:30.289 INFO kablam! 4 | use raster::Image; Aug 30 04:30:30.289 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.289 INFO kablam! | Aug 30 04:30:30.289 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 30 04:30:30.289 INFO kablam! Aug 30 04:30:30.289 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:30.290 INFO kablam! --> src/main.rs:57:8 Aug 30 04:30:30.290 INFO kablam! | Aug 30 04:30:30.290 INFO kablam! 57 | if (type_str == "image/jpeg") { Aug 30 04:30:30.290 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:30.290 INFO kablam! | Aug 30 04:30:30.290 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 30 04:30:30.290 INFO kablam! Aug 30 04:30:30.290 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 30 04:30:30.290 INFO kablam! --> src/main.rs:61:8 Aug 30 04:30:30.290 INFO kablam! | Aug 30 04:30:30.290 INFO kablam! 61 | if (type_str == "image/png") { Aug 30 04:30:30.290 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 30 04:30:30.290 INFO kablam! Aug 30 04:30:30.450 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.450 INFO kablam! --> src/main.rs:86:9 Aug 30 04:30:30.451 INFO kablam! | Aug 30 04:30:30.451 INFO kablam! 86 | for i in 0..size { Aug 30 04:30:30.451 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.451 INFO kablam! | Aug 30 04:30:30.451 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 04:30:30.451 INFO kablam! Aug 30 04:30:30.451 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.451 INFO kablam! --> src/main.rs:138:9 Aug 30 04:30:30.451 INFO kablam! | Aug 30 04:30:30.451 INFO kablam! 138 | for i in 0..max_size { Aug 30 04:30:30.451 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.451 INFO kablam! Aug 30 04:30:30.486 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.486 INFO kablam! --> src/main.rs:90:9 Aug 30 04:30:30.486 INFO kablam! | Aug 30 04:30:30.486 INFO kablam! 90 | let mut chars_s = " .-:*+=%@#"; Aug 30 04:30:30.486 INFO kablam! | ----^^^^^^^ Aug 30 04:30:30.486 INFO kablam! | | Aug 30 04:30:30.486 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.487 INFO kablam! | Aug 30 04:30:30.487 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 04:30:30.487 INFO kablam! Aug 30 04:30:30.487 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.487 INFO kablam! --> src/main.rs:91:9 Aug 30 04:30:30.487 INFO kablam! | Aug 30 04:30:30.487 INFO kablam! 91 | let mut chars = chars_s.chars(); Aug 30 04:30:30.487 INFO kablam! | ----^^^^^ Aug 30 04:30:30.487 INFO kablam! | | Aug 30 04:30:30.487 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.487 INFO kablam! Aug 30 04:30:30.501 INFO kablam! warning: function is never used: `test_save` Aug 30 04:30:30.501 INFO kablam! --> src/main.rs:117:1 Aug 30 04:30:30.501 INFO kablam! | Aug 30 04:30:30.501 INFO kablam! 117 | fn test_save(avg: Vec>, size: i32) Aug 30 04:30:30.502 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.502 INFO kablam! | Aug 30 04:30:30.502 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 04:30:30.502 INFO kablam! Aug 30 04:30:30.503 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.503 INFO kablam! --> src/main.rs:78:5 Aug 30 04:30:30.503 INFO kablam! | Aug 30 04:30:30.503 INFO kablam! 78 | file.write_all(&buf[..]); Aug 30 04:30:30.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.503 INFO kablam! | Aug 30 04:30:30.503 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 04:30:30.503 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.503 INFO kablam! Aug 30 04:30:30.503 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.503 INFO kablam! --> src/main.rs:122:13 Aug 30 04:30:30.503 INFO kablam! | Aug 30 04:30:30.503 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.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.504 INFO kablam! | Aug 30 04:30:30.504 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.504 INFO kablam! Aug 30 04:30:30.504 INFO kablam! warning: variable `imageLocation` should have a snake case name such as `image_location` Aug 30 04:30:30.504 INFO kablam! --> src/main.rs:128:12 Aug 30 04:30:30.504 INFO kablam! | Aug 30 04:30:30.504 INFO kablam! 128 | fn process(imageLocation: &String) Aug 30 04:30:30.504 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.504 INFO kablam! | Aug 30 04:30:30.504 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 04:30:30.504 INFO kablam! Aug 30 04:30:30.509 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.509 INFO kablam! --> src/main.rs:86:9 Aug 30 04:30:30.509 INFO kablam! | Aug 30 04:30:30.509 INFO kablam! 86 | for i in 0..size { Aug 30 04:30:30.509 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.509 INFO kablam! | Aug 30 04:30:30.509 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 30 04:30:30.509 INFO kablam! Aug 30 04:30:30.509 INFO kablam! warning: unused variable: `i` Aug 30 04:30:30.509 INFO kablam! --> src/main.rs:138:9 Aug 30 04:30:30.509 INFO kablam! | Aug 30 04:30:30.509 INFO kablam! 138 | for i in 0..max_size { Aug 30 04:30:30.510 INFO kablam! | ^ help: consider using `_i` instead Aug 30 04:30:30.510 INFO kablam! Aug 30 04:30:30.539 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.539 INFO kablam! --> src/main.rs:90:9 Aug 30 04:30:30.539 INFO kablam! | Aug 30 04:30:30.539 INFO kablam! 90 | let mut chars_s = " .-:*+=%@#"; Aug 30 04:30:30.539 INFO kablam! | ----^^^^^^^ Aug 30 04:30:30.539 INFO kablam! | | Aug 30 04:30:30.539 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.539 INFO kablam! | Aug 30 04:30:30.539 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 30 04:30:30.539 INFO kablam! Aug 30 04:30:30.539 INFO kablam! warning: variable does not need to be mutable Aug 30 04:30:30.540 INFO kablam! --> src/main.rs:91:9 Aug 30 04:30:30.540 INFO kablam! | Aug 30 04:30:30.540 INFO kablam! 91 | let mut chars = chars_s.chars(); Aug 30 04:30:30.540 INFO kablam! | ----^^^^^ Aug 30 04:30:30.540 INFO kablam! | | Aug 30 04:30:30.540 INFO kablam! | help: remove this `mut` Aug 30 04:30:30.540 INFO kablam! Aug 30 04:30:30.549 INFO kablam! warning: function is never used: `test_save` Aug 30 04:30:30.549 INFO kablam! --> src/main.rs:117:1 Aug 30 04:30:30.549 INFO kablam! | Aug 30 04:30:30.549 INFO kablam! 117 | fn test_save(avg: Vec>, size: i32) Aug 30 04:30:30.549 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.549 INFO kablam! | Aug 30 04:30:30.549 INFO kablam! = note: #[warn(dead_code)] on by default Aug 30 04:30:30.549 INFO kablam! Aug 30 04:30:30.550 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.550 INFO kablam! --> src/main.rs:78:5 Aug 30 04:30:30.550 INFO kablam! | Aug 30 04:30:30.550 INFO kablam! 78 | file.write_all(&buf[..]); Aug 30 04:30:30.551 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.551 INFO kablam! | Aug 30 04:30:30.551 INFO kablam! = note: #[warn(unused_must_use)] on by default Aug 30 04:30:30.551 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.551 INFO kablam! Aug 30 04:30:30.551 INFO kablam! warning: unused `std::result::Result` which must be used Aug 30 04:30:30.551 INFO kablam! --> src/main.rs:122:13 Aug 30 04:30:30.551 INFO kablam! | Aug 30 04:30:30.551 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.551 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 30 04:30:30.551 INFO kablam! | Aug 30 04:30:30.551 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Aug 30 04:30:30.551 INFO kablam! Aug 30 04:30:30.552 INFO kablam! warning: variable `imageLocation` should have a snake case name such as `image_location` Aug 30 04:30:30.552 INFO kablam! --> src/main.rs:128:12 Aug 30 04:30:30.553 INFO kablam! | Aug 30 04:30:30.553 INFO kablam! 128 | fn process(imageLocation: &String) Aug 30 04:30:30.553 INFO kablam! | ^^^^^^^^^^^^^ Aug 30 04:30:30.553 INFO kablam! | Aug 30 04:30:30.553 INFO kablam! = note: #[warn(non_snake_case)] on by default Aug 30 04:30:30.553 INFO kablam! Aug 30 04:30:30.585 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 12.36s Aug 30 04:30:30.604 INFO kablam! su: No module specific data is present Aug 30 04:30:31.039 INFO running `"docker" "rm" "-f" "44e9d02d0d979adc96a1f1e2656098c24840eb6ec0a7f5722cf29db084f21fa6"` Aug 30 04:30:31.136 INFO blam! 44e9d02d0d979adc96a1f1e2656098c24840eb6ec0a7f5722cf29db084f21fa6