[INFO] cloning repository https://github.com/arlept/mtklogo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arlept/mtklogo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlept%2Fmtklogo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlept%2Fmtklogo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e97f51944be9f6dbafff5b1d619341e1fa97dc4c
[INFO] checking arlept/mtklogo/e97f51944be9f6dbafff5b1d619341e1fa97dc4c against master#55e86c996809902e8bbad512cfb4d2c18be446d9 for pr-153027
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farlept%2Fmtklogo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/arlept/mtklogo
[INFO] finished tweaking git repo https://github.com/arlept/mtklogo
[INFO] tweaked toml for git repo https://github.com/arlept/mtklogo written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/arlept/mtklogo on toolchain 55e86c996809902e8bbad512cfb4d2c18be446d9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/arlept/mtklogo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: unused manifest key: package.maintenance
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libflate v0.1.19
[INFO] [stderr]   Downloaded flate2 v1.0.6
[INFO] [stderr]   Downloaded inflate v0.4.4
[INFO] [stderr]   Downloaded build_const v0.2.1
[INFO] [stderr]   Downloaded crc32fast v1.1.2
[INFO] [stderr]   Downloaded miniz_oxide v0.2.0
[INFO] [stderr]   Downloaded miniz-sys v0.1.11
[INFO] [stderr]   Downloaded miniz_oxide_c_api v0.2.0
[INFO] [stderr]   Downloaded crc v1.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c08fb0f1ee9df29904b06b14f0e5c3e1a9edeb1334134b6a466a9c05d5e259bf
[INFO] running `Command { std: "docker" "start" "-a" "c08fb0f1ee9df29904b06b14f0e5c3e1a9edeb1334134b6a466a9c05d5e259bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c08fb0f1ee9df29904b06b14f0e5c3e1a9edeb1334134b6a466a9c05d5e259bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c08fb0f1ee9df29904b06b14f0e5c3e1a9edeb1334134b6a466a9c05d5e259bf", kill_on_drop: false }`
[INFO] [stdout] c08fb0f1ee9df29904b06b14f0e5c3e1a9edeb1334134b6a466a9c05d5e259bf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+55e86c996809902e8bbad512cfb4d2c18be446d9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26fbf9824acf794198e6d0b15da2afd6e8789acf5f44e726d26db76fd377c154
[INFO] running `Command { std: "docker" "start" "-a" "26fbf9824acf794198e6d0b15da2afd6e8789acf5f44e726d26db76fd377c154", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: unused manifest key: package.maintenance
[INFO] [stderr] warning: unused manifest key: package.respository
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling cc v1.0.28
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling libc v0.2.46
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling crc32fast v1.1.2
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]     Checking byteorder v1.2.7
[INFO] [stderr]     Checking lazy_static v1.2.0
[INFO] [stderr]     Checking inflate v0.4.4
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]    Compiling miniz-sys v0.1.11
[INFO] [stderr]     Checking flate2 v1.0.6
[INFO] [stderr]     Checking png v0.12.0
[INFO] [stderr]     Checking mtklogo v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/utils/image.rs:89:85
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                                                     ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 - pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout] 89 + pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<Vec<u8> > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/utils/image.rs:101:71
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]     |                                                                       ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 - pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 101 + pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<Vec<u8> > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/utils/image.rs:112:87
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout]     |                                                                                       ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 - pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout] 112 + pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<Vec<u8> > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/utils/mod.rs:20:51
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn load_raw<R: Read>(mut reader: R) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                   ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn load_raw<R: Read>(mut reader: R) -> Result<(Vec<u8>)> {
[INFO] [stdout] 20 + pub fn load_raw<R: Read>(mut reader: R) -> Result<Vec<u8> > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/utils/image.rs:89:85
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                                                     ^       ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 89 - pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout] 89 + pub fn rgba_to_bgra<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<Vec<u8> > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/utils/image.rs:101:71
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout]     |                                                                       ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 101 - pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<(Vec<u8>)> {
[INFO] [stdout] 101 + pub fn u32be_to_u32le<R: Read>(mut reader: R, words: usize) -> Result<Vec<u8> > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/utils/image.rs:112:87
[INFO] [stdout]     |
[INFO] [stdout] 112 | pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout]     |                                                                                       ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 112 - pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<(Vec<u8>)> {
[INFO] [stdout] 112 + pub fn rgba_to_rgb565<O: ByteOrder, R: Read>(mut reader: R, w: u32, h: u32) -> Result<Vec<u8> > {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/utils/mod.rs:20:51
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn load_raw<R: Read>(mut reader: R) -> Result<(Vec<u8>)> {
[INFO] [stdout]    |                                                   ^       ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 20 - pub fn load_raw<R: Read>(mut reader: R) -> Result<(Vec<u8>)> {
[INFO] [stdout] 20 + pub fn load_raw<R: Read>(mut reader: R) -> Result<Vec<u8> > {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/utils/image.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 |             &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(rgba.clone())),
[INFO] [stdout]    |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/utils/image.rs:46:65
[INFO] [stdout]    |
[INFO] [stdout] 46 |             &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(device.clone())),
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/utils/image.rs:32:63
[INFO] [stdout]    |
[INFO] [stdout] 32 |             &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(rgba.clone())),
[INFO] [stdout]    |                                                               ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> src/utils/image.rs:46:65
[INFO] [stdout]    |
[INFO] [stdout] 46 |             &ColorMode::Rgba(Endian::Big) => Ok(Vec::from(device.clone())),
[INFO] [stdout]    |                                                                 ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> tests/integration_test.rs:95:6
[INFO] [stdout]    |
[INFO] [stdout] 95 |     };
[INFO] [stdout]    |      ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.26s
[INFO] running `Command { std: "docker" "inspect" "26fbf9824acf794198e6d0b15da2afd6e8789acf5f44e726d26db76fd377c154", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26fbf9824acf794198e6d0b15da2afd6e8789acf5f44e726d26db76fd377c154", kill_on_drop: false }`
[INFO] [stdout] 26fbf9824acf794198e6d0b15da2afd6e8789acf5f44e726d26db76fd377c154
