Aug 29 17:26:53.865 INFO checking kmeisthax/awsmimg against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 29 17:26:53.865 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 29 17:26:53.865 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 29 17:26:54.141 INFO blam! 15c08d884b5748962bd6e88544be2d2af3c0d52ec8aaabb3888efb5c3ef25fbb Aug 29 17:26:54.144 INFO running `"docker" "start" "-a" "15c08d884b5748962bd6e88544be2d2af3c0d52ec8aaabb3888efb5c3ef25fbb"` Aug 29 17:26:55.073 INFO kablam! Checking argparse v0.2.1 Aug 29 17:26:55.095 INFO kablam! Checking crossbeam-deque v0.2.0 Aug 29 17:26:55.122 INFO kablam! Checking num-integer v0.1.39 Aug 29 17:26:55.138 INFO kablam! Checking num-complex v0.2.0 Aug 29 17:26:56.473 INFO kablam! Checking rayon-core v1.4.0 Aug 29 17:26:57.270 INFO kablam! Checking num-iter v0.1.37 Aug 29 17:26:57.273 INFO kablam! Checking num-bigint v0.2.0 Aug 29 17:26:57.275 INFO kablam! Checking num-rational v0.1.42 Aug 29 17:26:58.212 INFO kablam! Checking png v0.12.0 Aug 29 17:26:59.531 INFO kablam! Checking rayon v1.0.1 Aug 29 17:27:03.086 INFO kablam! Checking num-rational v0.2.1 Aug 29 17:27:04.795 INFO kablam! Checking num v0.2.0 Aug 29 17:27:07.654 INFO kablam! Checking jpeg-decoder v0.1.15 Aug 29 17:27:09.804 INFO kablam! Checking image v0.19.0 Aug 29 17:27:20.334 INFO kablam! Checking awsmimg v0.1.0 (file:///source) Aug 29 17:27:21.024 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:21.024 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:21.024 INFO kablam! | Aug 29 17:27:21.024 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:21.024 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:21.024 INFO kablam! | Aug 29 17:27:21.024 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:21.024 INFO kablam! Aug 29 17:27:21.026 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:21.026 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:21.026 INFO kablam! | Aug 29 17:27:21.026 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:21.026 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:21.026 INFO kablam! Aug 29 17:27:21.026 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:21.026 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:21.026 INFO kablam! | Aug 29 17:27:21.026 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:21.026 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:21.026 INFO kablam! Aug 29 17:27:21.026 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.026 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:21.026 INFO kablam! | Aug 29 17:27:21.026 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:21.026 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.026 INFO kablam! | Aug 29 17:27:21.026 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:21.027 INFO kablam! Aug 29 17:27:21.027 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.027 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:21.027 INFO kablam! | Aug 29 17:27:21.027 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:21.027 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.027 INFO kablam! Aug 29 17:27:21.027 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.027 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:21.027 INFO kablam! | Aug 29 17:27:21.027 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:21.027 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.027 INFO kablam! Aug 29 17:27:21.029 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.029 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:21.029 INFO kablam! | Aug 29 17:27:21.029 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:21.029 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.029 INFO kablam! Aug 29 17:27:21.029 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.029 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:21.029 INFO kablam! | Aug 29 17:27:21.029 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:21.029 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.029 INFO kablam! Aug 29 17:27:21.029 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.029 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:21.029 INFO kablam! | Aug 29 17:27:21.029 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:21.029 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.029 INFO kablam! Aug 29 17:27:21.050 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:21.050 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:21.050 INFO kablam! | Aug 29 17:27:21.050 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:21.050 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:21.050 INFO kablam! | Aug 29 17:27:21.051 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:21.051 INFO kablam! Aug 29 17:27:21.051 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:21.051 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:21.051 INFO kablam! | Aug 29 17:27:21.051 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:21.052 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:21.052 INFO kablam! Aug 29 17:27:21.052 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:21.052 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:21.052 INFO kablam! | Aug 29 17:27:21.052 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:21.052 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:21.052 INFO kablam! Aug 29 17:27:21.053 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.053 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:21.053 INFO kablam! | Aug 29 17:27:21.053 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:21.053 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.053 INFO kablam! | Aug 29 17:27:21.053 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:21.053 INFO kablam! Aug 29 17:27:21.053 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.053 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:21.054 INFO kablam! | Aug 29 17:27:21.054 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:21.054 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.054 INFO kablam! Aug 29 17:27:21.054 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.054 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:21.054 INFO kablam! | Aug 29 17:27:21.054 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:21.054 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.054 INFO kablam! Aug 29 17:27:21.054 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.054 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:21.054 INFO kablam! | Aug 29 17:27:21.054 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:21.054 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.054 INFO kablam! Aug 29 17:27:21.054 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.054 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:21.054 INFO kablam! | Aug 29 17:27:21.054 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:21.054 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.054 INFO kablam! Aug 29 17:27:21.055 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:21.055 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:21.055 INFO kablam! | Aug 29 17:27:21.055 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:21.055 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:21.055 INFO kablam! Aug 29 17:27:21.412 INFO kablam! error[E0308]: mismatched types Aug 29 17:27:21.412 INFO kablam! --> src/awsmimg/conversion.rs:165:13 Aug 29 17:27:21.412 INFO kablam! | Aug 29 17:27:21.412 INFO kablam! 165 | for (_, _, pixel) in test_output.pixels() { Aug 29 17:27:21.412 INFO kablam! | ^^^^^^^^^^^^^ expected struct `image::LumaA`, found tuple Aug 29 17:27:21.412 INFO kablam! | Aug 29 17:27:21.412 INFO kablam! = note: expected type `image::LumaA` Aug 29 17:27:21.412 INFO kablam! found type `(_, _, _)` Aug 29 17:27:21.412 INFO kablam! Aug 29 17:27:21.499 INFO kablam! warning: unused variable: `width` Aug 29 17:27:21.499 INFO kablam! --> src/awsmimg/formats/agb.rs:84:62 Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! 84 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:21.499 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 17:27:21.499 INFO kablam! Aug 29 17:27:21.499 INFO kablam! warning: unused variable: `i` Aug 29 17:27:21.499 INFO kablam! --> src/awsmimg/formats/agb.rs:105:13 Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! 105 | for i in 0..size { Aug 29 17:27:21.499 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:21.499 INFO kablam! Aug 29 17:27:21.499 INFO kablam! warning: unused variable: `width` Aug 29 17:27:21.499 INFO kablam! --> src/awsmimg/formats/agb.rs:157:62 Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! 157 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:21.499 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:21.499 INFO kablam! Aug 29 17:27:21.499 INFO kablam! warning: unused variable: `i` Aug 29 17:27:21.499 INFO kablam! --> src/awsmimg/formats/agb.rs:178:13 Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! 178 | for i in 0..size { Aug 29 17:27:21.499 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:21.499 INFO kablam! Aug 29 17:27:21.499 INFO kablam! warning: unused variable: `readbytes2` Aug 29 17:27:21.499 INFO kablam! --> src/awsmimg/compression/agb.rs:94:13 Aug 29 17:27:21.499 INFO kablam! | Aug 29 17:27:21.499 INFO kablam! 94 | let readbytes2 = self.r.read(&mut rawtree.get_mut(0..treesize).unwrap())?; Aug 29 17:27:21.499 INFO kablam! | ^^^^^^^^^^ help: consider using `_readbytes2` instead Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: value assigned to `bytes_read` is never read Aug 29 17:27:21.500 INFO kablam! --> src/awsmimg/compression/agb.rs:150:17 Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! 150 | let mut bytes_read = 0; Aug 29 17:27:21.500 INFO kablam! | ^^^^^^^^^^ Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! = note: #[warn(unused_assignments)] on by default Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.500 INFO kablam! --> src/awsmimg/compression/agb.rs:300:44 Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! 300 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:21.500 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.500 INFO kablam! --> src/awsmimg/compression/agb.rs:301:42 Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! 301 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:21.500 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.500 INFO kablam! --> src/awsmimg/compression/agb.rs:304:44 Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! 304 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:21.500 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.500 INFO kablam! --> src/awsmimg/compression/agb.rs:305:42 Aug 29 17:27:21.500 INFO kablam! | Aug 29 17:27:21.500 INFO kablam! 305 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:21.500 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.500 INFO kablam! Aug 29 17:27:21.500 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:319:44 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 319 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:21.501 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.501 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:320:42 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 320 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:21.501 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.501 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:323:44 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 323 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:21.501 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.501 INFO kablam! warning: unused variable: `j` Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:324:42 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 324 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:21.501 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.501 INFO kablam! warning: variable `lastnode` is assigned to, but never used Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:402:17 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 402 | let mut lastnode = 0; Aug 29 17:27:21.501 INFO kablam! | ^^^^^^^^ Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! = note: consider using `_lastnode` instead Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.501 INFO kablam! warning: value assigned to `lastnode` is never read Aug 29 17:27:21.501 INFO kablam! --> src/awsmimg/compression/agb.rs:431:21 Aug 29 17:27:21.501 INFO kablam! | Aug 29 17:27:21.501 INFO kablam! 431 | lastnode = newpos; Aug 29 17:27:21.501 INFO kablam! | ^^^^^^^^ Aug 29 17:27:21.501 INFO kablam! Aug 29 17:27:21.518 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:21.518 INFO kablam! --> src/awsmimg/conversion.rs:78:9 Aug 29 17:27:21.518 INFO kablam! | Aug 29 17:27:21.518 INFO kablam! 78 | let mut iw; Aug 29 17:27:21.518 INFO kablam! | ----^^ Aug 29 17:27:21.518 INFO kablam! | | Aug 29 17:27:21.518 INFO kablam! | help: remove this `mut` Aug 29 17:27:21.518 INFO kablam! | Aug 29 17:27:21.518 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 17:27:21.518 INFO kablam! Aug 29 17:27:21.518 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:21.518 INFO kablam! --> src/awsmimg/conversion.rs:79:9 Aug 29 17:27:21.519 INFO kablam! | Aug 29 17:27:21.519 INFO kablam! 79 | let mut ih; Aug 29 17:27:21.519 INFO kablam! | ----^^ Aug 29 17:27:21.519 INFO kablam! | | Aug 29 17:27:21.519 INFO kablam! | help: remove this `mut` Aug 29 17:27:21.519 INFO kablam! Aug 29 17:27:21.580 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:21.580 INFO kablam! --> src/awsmimg/compression/agb.rs:110:13 Aug 29 17:27:21.580 INFO kablam! | Aug 29 17:27:21.580 INFO kablam! 110 | let mut lnode : AGBHuffmanNode; Aug 29 17:27:21.580 INFO kablam! | ----^^^^^ Aug 29 17:27:21.580 INFO kablam! | | Aug 29 17:27:21.580 INFO kablam! | help: remove this `mut` Aug 29 17:27:21.580 INFO kablam! Aug 29 17:27:21.580 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:21.580 INFO kablam! --> src/awsmimg/compression/agb.rs:111:13 Aug 29 17:27:21.580 INFO kablam! | Aug 29 17:27:21.580 INFO kablam! 111 | let mut rnode : AGBHuffmanNode; Aug 29 17:27:21.580 INFO kablam! | ----^^^^^ Aug 29 17:27:21.580 INFO kablam! | | Aug 29 17:27:21.580 INFO kablam! | help: remove this `mut` Aug 29 17:27:21.580 INFO kablam! Aug 29 17:27:21.612 INFO kablam! warning: type alias is never used: `AGBHuffmanTree` Aug 29 17:27:21.612 INFO kablam! --> src/awsmimg/compression/agb.rs:12:1 Aug 29 17:27:21.612 INFO kablam! | Aug 29 17:27:21.612 INFO kablam! 12 | type AGBHuffmanTree = (AGBHuffmanNode, AGBHuffmanNode); Aug 29 17:27:21.612 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.612 INFO kablam! | Aug 29 17:27:21.612 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 17:27:21.612 INFO kablam! Aug 29 17:27:21.613 INFO kablam! warning: method is never used: `new` Aug 29 17:27:21.613 INFO kablam! --> src/awsmimg/compression/agb.rs:48:5 Aug 29 17:27:21.613 INFO kablam! | Aug 29 17:27:21.613 INFO kablam! 48 | fn new(r: &'a mut R) -> AGBHuffmanDecompressor<'a, R> { Aug 29 17:27:21.613 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.613 INFO kablam! Aug 29 17:27:21.613 INFO kablam! warning: struct is never constructed: `AGBHuffmanCompressor` Aug 29 17:27:21.613 INFO kablam! --> src/awsmimg/compression/agb.rs:266:1 Aug 29 17:27:21.613 INFO kablam! | Aug 29 17:27:21.613 INFO kablam! 266 | struct AGBHuffmanCompressor<'a, W: Write + 'a> { Aug 29 17:27:21.613 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.613 INFO kablam! Aug 29 17:27:21.613 INFO kablam! warning: method is never used: `new` Aug 29 17:27:21.613 INFO kablam! --> src/awsmimg/compression/agb.rs:280:5 Aug 29 17:27:21.613 INFO kablam! | Aug 29 17:27:21.613 INFO kablam! 280 | pub fn new(w: &'a mut W, bits_per_symbol: u8) -> AGBHuffmanCompressor<'a, W> { Aug 29 17:27:21.613 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.613 INFO kablam! Aug 29 17:27:21.614 INFO kablam! warning: method is never used: `serialize_huffman_tree` Aug 29 17:27:21.614 INFO kablam! --> src/awsmimg/compression/agb.rs:292:5 Aug 29 17:27:21.614 INFO kablam! | Aug 29 17:27:21.614 INFO kablam! 292 | fn serialize_huffman_tree(&self, tree: &AGBHuffmanTree) -> Vec { Aug 29 17:27:21.614 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.614 INFO kablam! Aug 29 17:27:21.614 INFO kablam! warning: method is never used: `write_huffman_header` Aug 29 17:27:21.614 INFO kablam! --> src/awsmimg/compression/agb.rs:339:5 Aug 29 17:27:21.614 INFO kablam! | Aug 29 17:27:21.614 INFO kablam! 339 | fn write_huffman_header(&mut self, rootnode: usize) -> io::Result<()> { Aug 29 17:27:21.614 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:21.614 INFO kablam! Aug 29 17:27:21.918 INFO kablam! error: aborting due to previous error Aug 29 17:27:21.918 INFO kablam! Aug 29 17:27:21.918 INFO kablam! For more information about this error, try `rustc --explain E0308`. Aug 29 17:27:21.929 INFO kablam! error: Could not compile `awsmimg`. Aug 29 17:27:21.930 INFO kablam! warning: build failed, waiting for other jobs to finish... Aug 29 17:27:22.242 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.242 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:22.242 INFO kablam! | Aug 29 17:27:22.242 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:22.243 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.243 INFO kablam! | Aug 29 17:27:22.243 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:22.243 INFO kablam! Aug 29 17:27:22.243 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.244 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:22.244 INFO kablam! | Aug 29 17:27:22.244 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:22.244 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.244 INFO kablam! Aug 29 17:27:22.244 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:22.244 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:22.244 INFO kablam! | Aug 29 17:27:22.244 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:22.244 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:22.244 INFO kablam! Aug 29 17:27:22.245 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.245 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:22.245 INFO kablam! | Aug 29 17:27:22.245 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:22.245 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.245 INFO kablam! | Aug 29 17:27:22.245 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:22.245 INFO kablam! Aug 29 17:27:22.245 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.245 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:22.246 INFO kablam! | Aug 29 17:27:22.246 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:22.246 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.246 INFO kablam! Aug 29 17:27:22.246 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.246 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:22.246 INFO kablam! | Aug 29 17:27:22.246 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.246 INFO kablam! Aug 29 17:27:22.246 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.246 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:22.246 INFO kablam! | Aug 29 17:27:22.246 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.246 INFO kablam! Aug 29 17:27:22.246 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.246 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:22.246 INFO kablam! | Aug 29 17:27:22.246 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:22.246 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.246 INFO kablam! Aug 29 17:27:22.246 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.246 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:22.246 INFO kablam! | Aug 29 17:27:22.246 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:22.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.247 INFO kablam! Aug 29 17:27:22.247 INFO kablam! warning: unused imports: `StoreFalse`, `StoreTrue` Aug 29 17:27:22.247 INFO kablam! --> src/decode.rs:7:39 Aug 29 17:27:22.247 INFO kablam! | Aug 29 17:27:22.247 INFO kablam! 7 | use argparse::{ArgumentParser, Store, StoreFalse, StoreTrue}; Aug 29 17:27:22.247 INFO kablam! | ^^^^^^^^^^ ^^^^^^^^^ Aug 29 17:27:22.247 INFO kablam! Aug 29 17:27:22.247 INFO kablam! warning: unused import: `interpret_direct_format_name` Aug 29 17:27:22.247 INFO kablam! --> src/decode.rs:12:55 Aug 29 17:27:22.247 INFO kablam! | Aug 29 17:27:22.247 INFO kablam! 12 | use awsmimg::formats::{interpret_indexed_format_name, interpret_direct_format_name}; Aug 29 17:27:22.247 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:22.247 INFO kablam! Aug 29 17:27:22.369 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.369 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:22.369 INFO kablam! | Aug 29 17:27:22.369 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:22.369 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.369 INFO kablam! | Aug 29 17:27:22.369 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:22.369 INFO kablam! Aug 29 17:27:22.370 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.370 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:22.370 INFO kablam! | Aug 29 17:27:22.370 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:22.370 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.370 INFO kablam! Aug 29 17:27:22.370 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:22.370 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:22.370 INFO kablam! | Aug 29 17:27:22.370 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:22.370 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:22.370 INFO kablam! Aug 29 17:27:22.371 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.371 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:22.371 INFO kablam! | Aug 29 17:27:22.371 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:22.371 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.371 INFO kablam! | Aug 29 17:27:22.371 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:22.371 INFO kablam! Aug 29 17:27:22.371 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.371 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:22.371 INFO kablam! | Aug 29 17:27:22.371 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:22.371 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.371 INFO kablam! Aug 29 17:27:22.372 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.372 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:22.372 INFO kablam! | Aug 29 17:27:22.372 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.372 INFO kablam! Aug 29 17:27:22.372 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.372 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:22.372 INFO kablam! | Aug 29 17:27:22.372 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.372 INFO kablam! Aug 29 17:27:22.372 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.372 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:22.372 INFO kablam! | Aug 29 17:27:22.372 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:22.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.372 INFO kablam! Aug 29 17:27:22.372 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.372 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:22.372 INFO kablam! | Aug 29 17:27:22.372 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:22.372 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.373 INFO kablam! Aug 29 17:27:22.393 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.393 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:22.393 INFO kablam! | Aug 29 17:27:22.393 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:22.393 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.393 INFO kablam! | Aug 29 17:27:22.393 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:22.393 INFO kablam! Aug 29 17:27:22.394 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.394 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:22.394 INFO kablam! | Aug 29 17:27:22.394 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:22.394 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.394 INFO kablam! Aug 29 17:27:22.394 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:22.394 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:22.394 INFO kablam! | Aug 29 17:27:22.394 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:22.394 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:22.394 INFO kablam! Aug 29 17:27:22.395 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.395 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:22.396 INFO kablam! | Aug 29 17:27:22.396 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:22.396 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.396 INFO kablam! | Aug 29 17:27:22.396 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:22.396 INFO kablam! Aug 29 17:27:22.396 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.396 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:22.396 INFO kablam! | Aug 29 17:27:22.396 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:22.396 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.396 INFO kablam! Aug 29 17:27:22.396 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.396 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:22.396 INFO kablam! | Aug 29 17:27:22.396 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.396 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.396 INFO kablam! Aug 29 17:27:22.396 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.396 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:22.396 INFO kablam! | Aug 29 17:27:22.396 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.396 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.397 INFO kablam! Aug 29 17:27:22.397 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.397 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:22.397 INFO kablam! | Aug 29 17:27:22.397 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:22.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.397 INFO kablam! Aug 29 17:27:22.397 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.397 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:22.397 INFO kablam! | Aug 29 17:27:22.397 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:22.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.397 INFO kablam! Aug 29 17:27:22.397 INFO kablam! warning: unused imports: `StoreFalse`, `StoreTrue` Aug 29 17:27:22.397 INFO kablam! --> src/decode.rs:7:39 Aug 29 17:27:22.397 INFO kablam! | Aug 29 17:27:22.397 INFO kablam! 7 | use argparse::{ArgumentParser, Store, StoreFalse, StoreTrue}; Aug 29 17:27:22.397 INFO kablam! | ^^^^^^^^^^ ^^^^^^^^^ Aug 29 17:27:22.397 INFO kablam! Aug 29 17:27:22.397 INFO kablam! warning: unused import: `interpret_direct_format_name` Aug 29 17:27:22.397 INFO kablam! --> src/decode.rs:12:55 Aug 29 17:27:22.397 INFO kablam! | Aug 29 17:27:22.397 INFO kablam! 12 | use awsmimg::formats::{interpret_indexed_format_name, interpret_direct_format_name}; Aug 29 17:27:22.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:22.398 INFO kablam! Aug 29 17:27:22.497 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.498 INFO kablam! --> src/awsmimg/conversion.rs:3:5 Aug 29 17:27:22.498 INFO kablam! | Aug 29 17:27:22.498 INFO kablam! 3 | use std::ops::Div; Aug 29 17:27:22.498 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.498 INFO kablam! | Aug 29 17:27:22.498 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 17:27:22.498 INFO kablam! Aug 29 17:27:22.499 INFO kablam! warning: unused import: `std::ops::Div` Aug 29 17:27:22.499 INFO kablam! --> src/awsmimg/decoder.rs:1:5 Aug 29 17:27:22.499 INFO kablam! | Aug 29 17:27:22.499 INFO kablam! 1 | use std::ops::Div; Aug 29 17:27:22.499 INFO kablam! | ^^^^^^^^^^^^^ Aug 29 17:27:22.499 INFO kablam! Aug 29 17:27:22.499 INFO kablam! warning: unused imports: `GenericImage`, `Pixel` Aug 29 17:27:22.499 INFO kablam! --> src/awsmimg/decoder.rs:5:13 Aug 29 17:27:22.499 INFO kablam! | Aug 29 17:27:22.499 INFO kablam! 5 | use image::{GenericImage, ImageBuffer, Primitive, Pixel, LumaA}; Aug 29 17:27:22.499 INFO kablam! | ^^^^^^^^^^^^ ^^^^^ Aug 29 17:27:22.499 INFO kablam! Aug 29 17:27:22.503 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.503 INFO kablam! --> src/awsmimg/compression/agb.rs:152:12 Aug 29 17:27:22.503 INFO kablam! | Aug 29 17:27:22.503 INFO kablam! 152 | if (bytes_needed == 0) { Aug 29 17:27:22.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.503 INFO kablam! | Aug 29 17:27:22.503 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 17:27:22.503 INFO kablam! Aug 29 17:27:22.503 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.503 INFO kablam! --> src/awsmimg/compression/agb.rs:158:12 Aug 29 17:27:22.503 INFO kablam! | Aug 29 17:27:22.503 INFO kablam! 158 | if (bytes_read == 0) { Aug 29 17:27:22.503 INFO kablam! | ^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.503 INFO kablam! Aug 29 17:27:22.503 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.503 INFO kablam! --> src/awsmimg/compression/agb.rs:175:12 Aug 29 17:27:22.503 INFO kablam! | Aug 29 17:27:22.503 INFO kablam! 175 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.503 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.503 INFO kablam! Aug 29 17:27:22.503 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.503 INFO kablam! --> src/awsmimg/compression/agb.rs:180:12 Aug 29 17:27:22.503 INFO kablam! | Aug 29 17:27:22.504 INFO kablam! 180 | if (self.bitbuffer_len < 1) { Aug 29 17:27:22.504 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.504 INFO kablam! Aug 29 17:27:22.504 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.504 INFO kablam! --> src/awsmimg/compression/agb.rs:194:12 Aug 29 17:27:22.504 INFO kablam! | Aug 29 17:27:22.504 INFO kablam! 194 | if (self.initialized == false) { Aug 29 17:27:22.504 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.504 INFO kablam! Aug 29 17:27:22.504 INFO kablam! warning: unnecessary parentheses around `if` condition Aug 29 17:27:22.504 INFO kablam! --> src/awsmimg/compression/agb.rs:378:20 Aug 29 17:27:22.504 INFO kablam! | Aug 29 17:27:22.504 INFO kablam! 378 | if (self.frequency.len() < symbol) { Aug 29 17:27:22.504 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 17:27:22.504 INFO kablam! Aug 29 17:27:22.925 INFO kablam! error[E0308]: mismatched types Aug 29 17:27:22.925 INFO kablam! --> src/awsmimg/conversion.rs:165:13 Aug 29 17:27:22.925 INFO kablam! | Aug 29 17:27:22.926 INFO kablam! 165 | for (_, _, pixel) in test_output.pixels() { Aug 29 17:27:22.926 INFO kablam! | ^^^^^^^^^^^^^ expected struct `image::LumaA`, found tuple Aug 29 17:27:22.926 INFO kablam! | Aug 29 17:27:22.926 INFO kablam! = note: expected type `image::LumaA` Aug 29 17:27:22.926 INFO kablam! found type `(_, _, _)` Aug 29 17:27:22.926 INFO kablam! Aug 29 17:27:23.029 INFO kablam! error[E0308]: mismatched types Aug 29 17:27:23.029 INFO kablam! --> src/awsmimg/conversion.rs:165:13 Aug 29 17:27:23.029 INFO kablam! | Aug 29 17:27:23.029 INFO kablam! 165 | for (_, _, pixel) in test_output.pixels() { Aug 29 17:27:23.029 INFO kablam! | ^^^^^^^^^^^^^ expected struct `image::LumaA`, found tuple Aug 29 17:27:23.042 INFO kablam! | Aug 29 17:27:23.043 INFO kablam! = note: expected type `image::LumaA` Aug 29 17:27:23.043 INFO kablam! found type `(_, _, _)` Aug 29 17:27:23.043 INFO kablam! Aug 29 17:27:23.107 INFO kablam! warning: unused variable: `width` Aug 29 17:27:23.107 INFO kablam! --> src/awsmimg/formats/agb.rs:84:62 Aug 29 17:27:23.107 INFO kablam! | Aug 29 17:27:23.107 INFO kablam! 84 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:23.107 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:23.122 INFO kablam! | Aug 29 17:27:23.122 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 17:27:23.122 INFO kablam! Aug 29 17:27:23.122 INFO kablam! warning: unused variable: `i` Aug 29 17:27:23.123 INFO kablam! --> src/awsmimg/formats/agb.rs:105:13 Aug 29 17:27:23.123 INFO kablam! | Aug 29 17:27:23.123 INFO kablam! 105 | for i in 0..size { Aug 29 17:27:23.123 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:23.123 INFO kablam! Aug 29 17:27:23.124 INFO kablam! warning: unused variable: `width` Aug 29 17:27:23.124 INFO kablam! --> src/awsmimg/formats/agb.rs:157:62 Aug 29 17:27:23.124 INFO kablam! | Aug 29 17:27:23.124 INFO kablam! 157 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:23.124 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:23.124 INFO kablam! Aug 29 17:27:23.124 INFO kablam! warning: unused variable: `i` Aug 29 17:27:23.124 INFO kablam! --> src/awsmimg/formats/agb.rs:178:13 Aug 29 17:27:23.124 INFO kablam! | Aug 29 17:27:23.124 INFO kablam! 178 | for i in 0..size { Aug 29 17:27:23.124 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:23.124 INFO kablam! Aug 29 17:27:23.125 INFO kablam! warning: unused variable: `readbytes2` Aug 29 17:27:23.125 INFO kablam! --> src/awsmimg/compression/agb.rs:94:13 Aug 29 17:27:23.125 INFO kablam! | Aug 29 17:27:23.125 INFO kablam! 94 | let readbytes2 = self.r.read(&mut rawtree.get_mut(0..treesize).unwrap())?; Aug 29 17:27:23.125 INFO kablam! | ^^^^^^^^^^ help: consider using `_readbytes2` instead Aug 29 17:27:23.125 INFO kablam! Aug 29 17:27:23.126 INFO kablam! warning: value assigned to `bytes_read` is never read Aug 29 17:27:23.126 INFO kablam! --> src/awsmimg/compression/agb.rs:150:17 Aug 29 17:27:23.126 INFO kablam! | Aug 29 17:27:23.126 INFO kablam! 150 | let mut bytes_read = 0; Aug 29 17:27:23.126 INFO kablam! | ^^^^^^^^^^ Aug 29 17:27:23.126 INFO kablam! | Aug 29 17:27:23.126 INFO kablam! = note: #[warn(unused_assignments)] on by default Aug 29 17:27:23.126 INFO kablam! Aug 29 17:27:23.127 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.127 INFO kablam! --> src/awsmimg/compression/agb.rs:300:44 Aug 29 17:27:23.127 INFO kablam! | Aug 29 17:27:23.127 INFO kablam! 300 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:23.127 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.127 INFO kablam! Aug 29 17:27:23.127 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.127 INFO kablam! --> src/awsmimg/compression/agb.rs:301:42 Aug 29 17:27:23.127 INFO kablam! | Aug 29 17:27:23.127 INFO kablam! 301 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.127 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.128 INFO kablam! Aug 29 17:27:23.128 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.128 INFO kablam! --> src/awsmimg/compression/agb.rs:304:44 Aug 29 17:27:23.128 INFO kablam! | Aug 29 17:27:23.128 INFO kablam! 304 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:23.128 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.128 INFO kablam! Aug 29 17:27:23.128 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.128 INFO kablam! --> src/awsmimg/compression/agb.rs:305:42 Aug 29 17:27:23.128 INFO kablam! | Aug 29 17:27:23.128 INFO kablam! 305 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.128 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.128 INFO kablam! Aug 29 17:27:23.128 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.128 INFO kablam! --> src/awsmimg/compression/agb.rs:319:44 Aug 29 17:27:23.128 INFO kablam! | Aug 29 17:27:23.128 INFO kablam! 319 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:23.128 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.128 INFO kablam! Aug 29 17:27:23.130 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.130 INFO kablam! --> src/awsmimg/compression/agb.rs:320:42 Aug 29 17:27:23.130 INFO kablam! | Aug 29 17:27:23.130 INFO kablam! 320 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.130 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.130 INFO kablam! Aug 29 17:27:23.130 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.130 INFO kablam! --> src/awsmimg/compression/agb.rs:323:44 Aug 29 17:27:23.130 INFO kablam! | Aug 29 17:27:23.130 INFO kablam! 323 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:23.130 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.130 INFO kablam! Aug 29 17:27:23.130 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.130 INFO kablam! --> src/awsmimg/compression/agb.rs:324:42 Aug 29 17:27:23.130 INFO kablam! | Aug 29 17:27:23.131 INFO kablam! 324 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.131 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.131 INFO kablam! Aug 29 17:27:23.132 INFO kablam! warning: variable `lastnode` is assigned to, but never used Aug 29 17:27:23.132 INFO kablam! --> src/awsmimg/compression/agb.rs:402:17 Aug 29 17:27:23.132 INFO kablam! | Aug 29 17:27:23.132 INFO kablam! 402 | let mut lastnode = 0; Aug 29 17:27:23.132 INFO kablam! | ^^^^^^^^ Aug 29 17:27:23.132 INFO kablam! | Aug 29 17:27:23.132 INFO kablam! = note: consider using `_lastnode` instead Aug 29 17:27:23.132 INFO kablam! Aug 29 17:27:23.132 INFO kablam! warning: value assigned to `lastnode` is never read Aug 29 17:27:23.132 INFO kablam! --> src/awsmimg/compression/agb.rs:431:21 Aug 29 17:27:23.132 INFO kablam! | Aug 29 17:27:23.132 INFO kablam! 431 | lastnode = newpos; Aug 29 17:27:23.132 INFO kablam! | ^^^^^^^^ Aug 29 17:27:23.132 INFO kablam! Aug 29 17:27:23.203 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.203 INFO kablam! --> src/awsmimg/conversion.rs:78:9 Aug 29 17:27:23.203 INFO kablam! | Aug 29 17:27:23.203 INFO kablam! 78 | let mut iw; Aug 29 17:27:23.203 INFO kablam! | ----^^ Aug 29 17:27:23.203 INFO kablam! | | Aug 29 17:27:23.203 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.203 INFO kablam! | Aug 29 17:27:23.203 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 17:27:23.203 INFO kablam! Aug 29 17:27:23.203 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.203 INFO kablam! --> src/awsmimg/conversion.rs:79:9 Aug 29 17:27:23.203 INFO kablam! | Aug 29 17:27:23.203 INFO kablam! 79 | let mut ih; Aug 29 17:27:23.203 INFO kablam! | ----^^ Aug 29 17:27:23.203 INFO kablam! | | Aug 29 17:27:23.203 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.203 INFO kablam! Aug 29 17:27:23.316 INFO kablam! warning: unused variable: `width` Aug 29 17:27:23.316 INFO kablam! --> src/awsmimg/formats/agb.rs:84:62 Aug 29 17:27:23.316 INFO kablam! | Aug 29 17:27:23.316 INFO kablam! 84 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:23.316 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:23.322 INFO kablam! | Aug 29 17:27:23.322 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 17:27:23.322 INFO kablam! Aug 29 17:27:23.322 INFO kablam! warning: unused variable: `i` Aug 29 17:27:23.322 INFO kablam! --> src/awsmimg/formats/agb.rs:105:13 Aug 29 17:27:23.323 INFO kablam! | Aug 29 17:27:23.323 INFO kablam! 105 | for i in 0..size { Aug 29 17:27:23.323 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:23.323 INFO kablam! Aug 29 17:27:23.323 INFO kablam! warning: unused variable: `width` Aug 29 17:27:23.323 INFO kablam! --> src/awsmimg/formats/agb.rs:157:62 Aug 29 17:27:23.323 INFO kablam! | Aug 29 17:27:23.323 INFO kablam! 157 | fn encode_indexes(&mut self, data: Vec

, width: u32, _height: u32) -> io::Result<()> { Aug 29 17:27:23.323 INFO kablam! | ^^^^^ help: consider using `_width` instead Aug 29 17:27:23.323 INFO kablam! Aug 29 17:27:23.323 INFO kablam! warning: unused variable: `i` Aug 29 17:27:23.323 INFO kablam! --> src/awsmimg/formats/agb.rs:178:13 Aug 29 17:27:23.323 INFO kablam! | Aug 29 17:27:23.323 INFO kablam! 178 | for i in 0..size { Aug 29 17:27:23.323 INFO kablam! | ^ help: consider using `_i` instead Aug 29 17:27:23.323 INFO kablam! Aug 29 17:27:23.323 INFO kablam! warning: unused variable: `readbytes2` Aug 29 17:27:23.323 INFO kablam! --> src/awsmimg/compression/agb.rs:94:13 Aug 29 17:27:23.323 INFO kablam! | Aug 29 17:27:23.323 INFO kablam! 94 | let readbytes2 = self.r.read(&mut rawtree.get_mut(0..treesize).unwrap())?; Aug 29 17:27:23.323 INFO kablam! | ^^^^^^^^^^ help: consider using `_readbytes2` instead Aug 29 17:27:23.323 INFO kablam! Aug 29 17:27:23.324 INFO kablam! warning: value assigned to `bytes_read` is never read Aug 29 17:27:23.324 INFO kablam! --> src/awsmimg/compression/agb.rs:150:17 Aug 29 17:27:23.324 INFO kablam! | Aug 29 17:27:23.324 INFO kablam! 150 | let mut bytes_read = 0; Aug 29 17:27:23.324 INFO kablam! | ^^^^^^^^^^ Aug 29 17:27:23.324 INFO kablam! | Aug 29 17:27:23.324 INFO kablam! = note: #[warn(unused_assignments)] on by default Aug 29 17:27:23.324 INFO kablam! Aug 29 17:27:23.324 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.324 INFO kablam! --> src/awsmimg/compression/agb.rs:300:44 Aug 29 17:27:23.324 INFO kablam! | Aug 29 17:27:23.324 INFO kablam! 300 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:23.324 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.324 INFO kablam! Aug 29 17:27:23.324 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.324 INFO kablam! --> src/awsmimg/compression/agb.rs:301:42 Aug 29 17:27:23.324 INFO kablam! | Aug 29 17:27:23.324 INFO kablam! 301 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.324 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.324 INFO kablam! Aug 29 17:27:23.324 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.324 INFO kablam! --> src/awsmimg/compression/agb.rs:304:44 Aug 29 17:27:23.325 INFO kablam! | Aug 29 17:27:23.325 INFO kablam! 304 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:23.325 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.325 INFO kablam! Aug 29 17:27:23.325 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.325 INFO kablam! --> src/awsmimg/compression/agb.rs:305:42 Aug 29 17:27:23.325 INFO kablam! | Aug 29 17:27:23.325 INFO kablam! 305 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.325 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.325 INFO kablam! Aug 29 17:27:23.325 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.325 INFO kablam! --> src/awsmimg/compression/agb.rs:319:44 Aug 29 17:27:23.325 INFO kablam! | Aug 29 17:27:23.325 INFO kablam! 319 | AGBHuffmanNode::Branch(j) => 0x80, Aug 29 17:27:23.325 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.325 INFO kablam! Aug 29 17:27:23.325 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.325 INFO kablam! --> src/awsmimg/compression/agb.rs:320:42 Aug 29 17:27:23.325 INFO kablam! | Aug 29 17:27:23.325 INFO kablam! 320 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.325 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.325 INFO kablam! Aug 29 17:27:23.325 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.326 INFO kablam! --> src/awsmimg/compression/agb.rs:323:44 Aug 29 17:27:23.326 INFO kablam! | Aug 29 17:27:23.326 INFO kablam! 323 | AGBHuffmanNode::Branch(j) => 0x40, Aug 29 17:27:23.326 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.326 INFO kablam! Aug 29 17:27:23.326 INFO kablam! warning: unused variable: `j` Aug 29 17:27:23.326 INFO kablam! --> src/awsmimg/compression/agb.rs:324:42 Aug 29 17:27:23.326 INFO kablam! | Aug 29 17:27:23.326 INFO kablam! 324 | AGBHuffmanNode::Leaf(j) => 0x00, Aug 29 17:27:23.326 INFO kablam! | ^ help: consider using `_j` instead Aug 29 17:27:23.326 INFO kablam! Aug 29 17:27:23.326 INFO kablam! warning: variable `lastnode` is assigned to, but never used Aug 29 17:27:23.326 INFO kablam! --> src/awsmimg/compression/agb.rs:402:17 Aug 29 17:27:23.326 INFO kablam! | Aug 29 17:27:23.326 INFO kablam! 402 | let mut lastnode = 0; Aug 29 17:27:23.326 INFO kablam! | ^^^^^^^^ Aug 29 17:27:23.326 INFO kablam! | Aug 29 17:27:23.326 INFO kablam! = note: consider using `_lastnode` instead Aug 29 17:27:23.326 INFO kablam! Aug 29 17:27:23.326 INFO kablam! warning: value assigned to `lastnode` is never read Aug 29 17:27:23.326 INFO kablam! --> src/awsmimg/compression/agb.rs:431:21 Aug 29 17:27:23.326 INFO kablam! | Aug 29 17:27:23.327 INFO kablam! 431 | lastnode = newpos; Aug 29 17:27:23.327 INFO kablam! | ^^^^^^^^ Aug 29 17:27:23.327 INFO kablam! Aug 29 17:27:23.372 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.373 INFO kablam! --> src/awsmimg/compression/agb.rs:110:13 Aug 29 17:27:23.373 INFO kablam! | Aug 29 17:27:23.373 INFO kablam! 110 | let mut lnode : AGBHuffmanNode; Aug 29 17:27:23.373 INFO kablam! | ----^^^^^ Aug 29 17:27:23.373 INFO kablam! | | Aug 29 17:27:23.373 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.373 INFO kablam! Aug 29 17:27:23.373 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.373 INFO kablam! --> src/awsmimg/compression/agb.rs:111:13 Aug 29 17:27:23.373 INFO kablam! | Aug 29 17:27:23.373 INFO kablam! 111 | let mut rnode : AGBHuffmanNode; Aug 29 17:27:23.373 INFO kablam! | ----^^^^^ Aug 29 17:27:23.373 INFO kablam! | | Aug 29 17:27:23.373 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.373 INFO kablam! Aug 29 17:27:23.390 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.390 INFO kablam! --> src/awsmimg/conversion.rs:78:9 Aug 29 17:27:23.390 INFO kablam! | Aug 29 17:27:23.390 INFO kablam! 78 | let mut iw; Aug 29 17:27:23.390 INFO kablam! | ----^^ Aug 29 17:27:23.390 INFO kablam! | | Aug 29 17:27:23.390 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.390 INFO kablam! | Aug 29 17:27:23.390 INFO kablam! = note: #[warn(unused_mut)] on by default Aug 29 17:27:23.390 INFO kablam! Aug 29 17:27:23.390 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.390 INFO kablam! --> src/awsmimg/conversion.rs:79:9 Aug 29 17:27:23.390 INFO kablam! | Aug 29 17:27:23.390 INFO kablam! 79 | let mut ih; Aug 29 17:27:23.390 INFO kablam! | ----^^ Aug 29 17:27:23.390 INFO kablam! | | Aug 29 17:27:23.391 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.391 INFO kablam! Aug 29 17:27:23.474 INFO kablam! warning: function is never used: `indexes_from_luma` Aug 29 17:27:23.475 INFO kablam! --> src/awsmimg/conversion.rs:25:1 Aug 29 17:27:23.475 INFO kablam! | Aug 29 17:27:23.475 INFO kablam! 25 | / pub fn indexes_from_luma(image: &I, maxcol: S, tsize: (u32, u32)) -> Vec Aug 29 17:27:23.475 INFO kablam! 26 | | where I: GenericImage, P: Pixel + 'static, S: Primitive + 'static { Aug 29 17:27:23.475 INFO kablam! 27 | | Aug 29 17:27:23.475 INFO kablam! 28 | | let (width, height) = image.dimensions(); Aug 29 17:27:23.475 INFO kablam! ... | Aug 29 17:27:23.475 INFO kablam! 57 | | out Aug 29 17:27:23.475 INFO kablam! 58 | | } Aug 29 17:27:23.475 INFO kablam! | |_^ Aug 29 17:27:23.475 INFO kablam! | Aug 29 17:27:23.475 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 17:27:23.475 INFO kablam! Aug 29 17:27:23.475 INFO kablam! warning: function is never used: `encode_image_as_indexes` Aug 29 17:27:23.475 INFO kablam! --> src/awsmimg/encoder.rs:47:1 Aug 29 17:27:23.475 INFO kablam! | Aug 29 17:27:23.475 INFO kablam! 47 | pub fn encode_image_as_indexes<'a, E, I, P, S>(enc: &mut E, image: &I) -> io::Result<()> where I: GenericImage, P: Pixel + 'static, S: Primitive + 'static, E: IndexedGraphicsEncoder + 'a { Aug 29 17:27:23.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.476 INFO kablam! Aug 29 17:27:23.476 INFO kablam! warning: function is never used: `encode_image_as_indexes_with_format` Aug 29 17:27:23.476 INFO kablam! --> src/awsmimg/encoder.rs:61:1 Aug 29 17:27:23.476 INFO kablam! | Aug 29 17:27:23.476 INFO kablam! 61 | pub fn encode_image_as_indexes_with_format<'a, W, I, P, S>(format: IndexedFormat, w: &mut W, image: &I) -> io::Result<()> where I: GenericImage, P: Pixel + 'static, S: Primitive + 'static, W: Write + 'a { Aug 29 17:27:23.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.476 INFO kablam! Aug 29 17:27:23.476 INFO kablam! warning: function is never used: `encode_image_as_direct_color_with_format` Aug 29 17:27:23.476 INFO kablam! --> src/awsmimg/encoder.rs:100:1 Aug 29 17:27:23.476 INFO kablam! | Aug 29 17:27:23.476 INFO kablam! 100 | pub fn encode_image_as_direct_color_with_format<'a, W, I, P, S>(format: DirectFormat, w: &mut W, image: &I) -> io::Result<()> where I: GenericImage, P: Pixel + 'static, S: Primitive + 'static, W: Write + 'a { Aug 29 17:27:23.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.476 INFO kablam! Aug 29 17:27:23.476 INFO kablam! warning: struct is never constructed: `AGB16Encoder` Aug 29 17:27:23.476 INFO kablam! --> src/awsmimg/formats/agb.rs:192:1 Aug 29 17:27:23.476 INFO kablam! | Aug 29 17:27:23.476 INFO kablam! 192 | pub struct AGB16Encoder<'a, W: Write + 'a> { Aug 29 17:27:23.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.477 INFO kablam! Aug 29 17:27:23.477 INFO kablam! warning: method is never used: `new_agb` Aug 29 17:27:23.477 INFO kablam! --> src/awsmimg/formats/agb.rs:198:5 Aug 29 17:27:23.477 INFO kablam! | Aug 29 17:27:23.477 INFO kablam! 198 | pub fn new_agb(write: &'a mut W) -> AGB16Encoder<'a, W> { Aug 29 17:27:23.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.477 INFO kablam! Aug 29 17:27:23.477 INFO kablam! warning: method is never used: `new_ntr` Aug 29 17:27:23.477 INFO kablam! --> src/awsmimg/formats/agb.rs:205:5 Aug 29 17:27:23.477 INFO kablam! | Aug 29 17:27:23.477 INFO kablam! 205 | pub fn new_ntr(write: &'a mut W) -> AGB16Encoder<'a, W> { Aug 29 17:27:23.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.477 INFO kablam! Aug 29 17:27:23.482 INFO kablam! warning: enum is never used: `DirectFormat` Aug 29 17:27:23.482 INFO kablam! --> src/awsmimg/formats/mod.rs:58:1 Aug 29 17:27:23.482 INFO kablam! | Aug 29 17:27:23.483 INFO kablam! 58 | pub enum DirectFormat { Aug 29 17:27:23.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.483 INFO kablam! Aug 29 17:27:23.483 INFO kablam! warning: function is never used: `interpret_direct_format_name` Aug 29 17:27:23.483 INFO kablam! --> src/awsmimg/formats/mod.rs:63:1 Aug 29 17:27:23.483 INFO kablam! | Aug 29 17:27:23.483 INFO kablam! 63 | pub fn interpret_direct_format_name(fmt_given: &str) -> Option { Aug 29 17:27:23.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.483 INFO kablam! Aug 29 17:27:23.483 INFO kablam! warning: type alias is never used: `AGBHuffmanTree` Aug 29 17:27:23.483 INFO kablam! --> src/awsmimg/compression/agb.rs:12:1 Aug 29 17:27:23.483 INFO kablam! | Aug 29 17:27:23.483 INFO kablam! 12 | type AGBHuffmanTree = (AGBHuffmanNode, AGBHuffmanNode); Aug 29 17:27:23.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.483 INFO kablam! Aug 29 17:27:23.483 INFO kablam! warning: method is never used: `new` Aug 29 17:27:23.483 INFO kablam! --> src/awsmimg/compression/agb.rs:48:5 Aug 29 17:27:23.484 INFO kablam! | Aug 29 17:27:23.484 INFO kablam! 48 | fn new(r: &'a mut R) -> AGBHuffmanDecompressor<'a, R> { Aug 29 17:27:23.484 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.484 INFO kablam! Aug 29 17:27:23.484 INFO kablam! warning: struct is never constructed: `AGBHuffmanCompressor` Aug 29 17:27:23.484 INFO kablam! --> src/awsmimg/compression/agb.rs:266:1 Aug 29 17:27:23.484 INFO kablam! | Aug 29 17:27:23.484 INFO kablam! 266 | struct AGBHuffmanCompressor<'a, W: Write + 'a> { Aug 29 17:27:23.484 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.484 INFO kablam! Aug 29 17:27:23.485 INFO kablam! warning: method is never used: `new` Aug 29 17:27:23.485 INFO kablam! --> src/awsmimg/compression/agb.rs:280:5 Aug 29 17:27:23.485 INFO kablam! | Aug 29 17:27:23.485 INFO kablam! 280 | pub fn new(w: &'a mut W, bits_per_symbol: u8) -> AGBHuffmanCompressor<'a, W> { Aug 29 17:27:23.485 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.485 INFO kablam! Aug 29 17:27:23.485 INFO kablam! warning: method is never used: `serialize_huffman_tree` Aug 29 17:27:23.485 INFO kablam! --> src/awsmimg/compression/agb.rs:292:5 Aug 29 17:27:23.485 INFO kablam! | Aug 29 17:27:23.485 INFO kablam! 292 | fn serialize_huffman_tree(&self, tree: &AGBHuffmanTree) -> Vec { Aug 29 17:27:23.485 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.485 INFO kablam! Aug 29 17:27:23.485 INFO kablam! warning: method is never used: `write_huffman_header` Aug 29 17:27:23.485 INFO kablam! --> src/awsmimg/compression/agb.rs:339:5 Aug 29 17:27:23.485 INFO kablam! | Aug 29 17:27:23.485 INFO kablam! 339 | fn write_huffman_header(&mut self, rootnode: usize) -> io::Result<()> { Aug 29 17:27:23.486 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.486 INFO kablam! Aug 29 17:27:23.501 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.501 INFO kablam! --> src/awsmimg/compression/agb.rs:110:13 Aug 29 17:27:23.501 INFO kablam! | Aug 29 17:27:23.502 INFO kablam! 110 | let mut lnode : AGBHuffmanNode; Aug 29 17:27:23.502 INFO kablam! | ----^^^^^ Aug 29 17:27:23.502 INFO kablam! | | Aug 29 17:27:23.502 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.502 INFO kablam! Aug 29 17:27:23.502 INFO kablam! warning: variable does not need to be mutable Aug 29 17:27:23.502 INFO kablam! --> src/awsmimg/compression/agb.rs:111:13 Aug 29 17:27:23.502 INFO kablam! | Aug 29 17:27:23.502 INFO kablam! 111 | let mut rnode : AGBHuffmanNode; Aug 29 17:27:23.502 INFO kablam! | ----^^^^^ Aug 29 17:27:23.502 INFO kablam! | | Aug 29 17:27:23.502 INFO kablam! | help: remove this `mut` Aug 29 17:27:23.502 INFO kablam! Aug 29 17:27:23.554 INFO kablam! warning: function is never used: `luma_from_indexes` Aug 29 17:27:23.554 INFO kablam! --> src/awsmimg/conversion.rs:77:1 Aug 29 17:27:23.554 INFO kablam! | Aug 29 17:27:23.554 INFO kablam! 77 | pub fn luma_from_indexes<'a, S>(data: Vec, maxcol: u16, tsize: (u32, u32), isize: Option<(u32, u32)>) -> Option, Vec>>> where S: Primitive + 'a { Aug 29 17:27:23.554 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.554 INFO kablam! | Aug 29 17:27:23.554 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 17:27:23.554 INFO kablam! Aug 29 17:27:23.555 INFO kablam! warning: function is never used: `decode_indexes_as_image` Aug 29 17:27:23.555 INFO kablam! --> src/awsmimg/decoder.rs:42:1 Aug 29 17:27:23.555 INFO kablam! | Aug 29 17:27:23.555 INFO kablam! 42 | pub fn decode_indexes_as_image<'a, E>(enc: &mut E, size: usize, isize: Option<(u32, u32)>) -> io::Result, Vec>>> where E: IndexedGraphicsDecoder + 'a { Aug 29 17:27:23.555 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.555 INFO kablam! Aug 29 17:27:23.555 INFO kablam! warning: function is never used: `decode_indexes_as_image_with_format` Aug 29 17:27:23.555 INFO kablam! --> src/awsmimg/decoder.rs:58:1 Aug 29 17:27:23.555 INFO kablam! | Aug 29 17:27:23.556 INFO kablam! 58 | pub fn decode_indexes_as_image_with_format<'a, R>(format: IndexedFormat, r: &mut R, size: usize, imgsize: Option<(u32, u32)>) -> io::Result, Vec>>> where R: Read + 'a { Aug 29 17:27:23.556 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.556 INFO kablam! Aug 29 17:27:23.556 INFO kablam! warning: type alias is never used: `AGBHuffmanTree` Aug 29 17:27:23.556 INFO kablam! --> src/awsmimg/compression/agb.rs:12:1 Aug 29 17:27:23.556 INFO kablam! | Aug 29 17:27:23.556 INFO kablam! 12 | type AGBHuffmanTree = (AGBHuffmanNode, AGBHuffmanNode); Aug 29 17:27:23.556 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.556 INFO kablam! Aug 29 17:27:23.557 INFO kablam! warning: method is never used: `new` Aug 29 17:27:23.557 INFO kablam! --> src/awsmimg/compression/agb.rs:48:5 Aug 29 17:27:23.557 INFO kablam! | Aug 29 17:27:23.557 INFO kablam! 48 | fn new(r: &'a mut R) -> AGBHuffmanDecompressor<'a, R> { Aug 29 17:27:23.557 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.557 INFO kablam! Aug 29 17:27:23.557 INFO kablam! warning: struct is never constructed: `AGBHuffmanCompressor` Aug 29 17:27:23.557 INFO kablam! --> src/awsmimg/compression/agb.rs:266:1 Aug 29 17:27:23.557 INFO kablam! | Aug 29 17:27:23.557 INFO kablam! 266 | struct AGBHuffmanCompressor<'a, W: Write + 'a> { Aug 29 17:27:23.557 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.557 INFO kablam! Aug 29 17:27:23.558 INFO kablam! warning: method is never used: `new` Aug 29 17:27:23.558 INFO kablam! --> src/awsmimg/compression/agb.rs:280:5 Aug 29 17:27:23.558 INFO kablam! | Aug 29 17:27:23.558 INFO kablam! 280 | pub fn new(w: &'a mut W, bits_per_symbol: u8) -> AGBHuffmanCompressor<'a, W> { Aug 29 17:27:23.558 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.558 INFO kablam! Aug 29 17:27:23.558 INFO kablam! warning: method is never used: `serialize_huffman_tree` Aug 29 17:27:23.558 INFO kablam! --> src/awsmimg/compression/agb.rs:292:5 Aug 29 17:27:23.558 INFO kablam! | Aug 29 17:27:23.559 INFO kablam! 292 | fn serialize_huffman_tree(&self, tree: &AGBHuffmanTree) -> Vec { Aug 29 17:27:23.559 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.559 INFO kablam! Aug 29 17:27:23.559 INFO kablam! warning: method is never used: `write_huffman_header` Aug 29 17:27:23.559 INFO kablam! --> src/awsmimg/compression/agb.rs:339:5 Aug 29 17:27:23.559 INFO kablam! | Aug 29 17:27:23.559 INFO kablam! 339 | fn write_huffman_header(&mut self, rootnode: usize) -> io::Result<()> { Aug 29 17:27:23.559 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 17:27:23.559 INFO kablam! Aug 29 17:27:23.587 INFO kablam! error: aborting due to previous error Aug 29 17:27:23.587 INFO kablam! Aug 29 17:27:23.587 INFO kablam! For more information about this error, try `rustc --explain E0308`. Aug 29 17:27:23.598 INFO kablam! error: Could not compile `awsmimg`. Aug 29 17:27:23.607 INFO kablam! warning: build failed, waiting for other jobs to finish... Aug 29 17:27:23.907 INFO kablam! error: aborting due to previous error Aug 29 17:27:23.907 INFO kablam! Aug 29 17:27:23.907 INFO kablam! For more information about this error, try `rustc --explain E0308`. Aug 29 17:27:23.920 INFO kablam! error: Could not compile `awsmimg`. Aug 29 17:27:23.920 INFO kablam! Aug 29 17:27:23.920 INFO kablam! To learn more, run the command again with --verbose. Aug 29 17:27:23.923 INFO kablam! su: No module specific data is present Aug 29 17:27:24.464 INFO running `"docker" "rm" "-f" "15c08d884b5748962bd6e88544be2d2af3c0d52ec8aaabb3888efb5c3ef25fbb"` Aug 29 17:27:24.620 INFO blam! 15c08d884b5748962bd6e88544be2d2af3c0d52ec8aaabb3888efb5c3ef25fbb